Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_MANAGER_IMPL_H_ | |
| 6 #define SHELL_ANDROID_INTENT_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 | |
|
ppi
2015/04/08 11:10:10
could you also rename the file to match the class
qsr
2015/04/08 11:16:19
Done.
| |
| 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_MANAGER_IMPL_H_ | |
| OLD | NEW |