Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Side by Side Diff: shell/android/intent_receiver_manager_impl.h

Issue 1061313003: Introduce intent manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SHELL_ANDROID_INTENT_RECEIVER_MANAGER_IMPL_H_
6 #define SHELL_ANDROID_INTENT_RECEIVER_MANAGER_IMPL_H_
7
8 #include "base/android/jni_android.h"
9 #include "mojo/common/weak_binding_set.h"
10 #include "services/android/intent_receiver.mojom.h"
11
12 namespace mojo {
13 namespace shell {
14
15 class IntentReceiverManagerImpl
16 : public intent_receiver::IntentReceiverManager {
17 public:
18 void Bind(InterfaceRequest<intent_receiver::IntentReceiverManager> request);
19
20 private:
21 // Implementation of intent_receiver::IntentReceiverManager
22 void RegisterReceiver(intent_receiver::IntentReceiverPtr receiver,
23 const RegisterReceiverCallback& callback) override;
24
25 WeakBindingSet<intent_receiver::IntentReceiverManager> bindings_;
26 };
27
28 bool RegisterIntentReceiverRegistry(JNIEnv* env);
29
30 } // namespace shell
31 } // namespace mojo
32
33 #endif // SHELL_ANDROID_INTENT_RECEIVER_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « shell/android/intent_receiver_manager_factory.cc ('k') | shell/android/intent_receiver_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698