| Index: shell/android/intent_manager_impl.h
|
| diff --git a/shell/android/intent_manager_impl.h b/shell/android/intent_manager_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d86c1bfa68adf43a0e48bae4b0d59520d70eafb1
|
| --- /dev/null
|
| +++ b/shell/android/intent_manager_impl.h
|
| @@ -0,0 +1,32 @@
|
| +// 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 SHELL_ANDROID_INTENT_MANAGER_IMPL_H_
|
| +#define SHELL_ANDROID_INTENT_MANAGER_IMPL_H_
|
| +
|
| +#include "base/android/jni_android.h"
|
| +#include "mojo/common/weak_binding_set.h"
|
| +#include "services/android/intent.mojom.h"
|
| +
|
| +namespace mojo {
|
| +namespace shell {
|
| +
|
| +class IntentManagerImpl : public intent::IntentManager {
|
| + public:
|
| + void Bind(InterfaceRequest<intent::IntentManager> request);
|
| +
|
| + private:
|
| + // Implementation of intent::IntentManager
|
| + void RegisterReceiver(intent::IntentReceiverPtr receiver,
|
| + const RegisterReceiverCallback& callback) override;
|
| +
|
| + WeakBindingSet<intent::IntentManager> bindings_;
|
| +};
|
| +
|
| +bool RegisterIntentReceiverRegistry(JNIEnv* env);
|
| +
|
| +} // namespace shell
|
| +} // namespace mojo
|
| +
|
| +#endif // SHELL_ANDROID_INTENT_MANAGER_IMPL_H_
|
|
|