mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
29e3ba99e9
We need to create a new service provider when we navigate to a new page otherwise the new page is sad that the old page took its service provider. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/962383003
22 lines
634 B
C++
22 lines
634 B
C++
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef SKY_SHELL_SERVICE_PROVIDER_IMPL_H_
|
|
#define SKY_SHELL_SERVICE_PROVIDER_IMPL_H_
|
|
|
|
#include <jni.h>
|
|
#include "mojo/public/cpp/system/core.h"
|
|
#include "mojo/public/interfaces/application/service_provider.mojom.h"
|
|
|
|
namespace sky {
|
|
namespace shell {
|
|
|
|
bool RegisterJavaServiceProvider(JNIEnv* env);
|
|
void CreateJavaServiceProvider(mojo::InterfaceRequest<mojo::ServiceProvider>);
|
|
|
|
} // namespace shell
|
|
} // namespace sky
|
|
|
|
#endif // SKY_SHELL_SERVICE_PROVIDER_IMPL_H_
|