OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SHELL_ANDROID_INTENT_RECEIVER_MANAGER_FACTORY_H_ | 5 #ifndef SHELL_ANDROID_INTENT_RECEIVER_MANAGER_FACTORY_H_ |
6 #define SHELL_ANDROID_INTENT_RECEIVER_MANAGER_FACTORY_H_ | 6 #define SHELL_ANDROID_INTENT_RECEIVER_MANAGER_FACTORY_H_ |
7 | 7 |
8 #include "mojo/public/cpp/application/interface_factory.h" | 8 #include "mojo/public/cpp/application/interface_factory.h" |
9 #include "services/android/intent_receiver.mojom.h" | 9 #include "services/android/intent_receiver.mojom.h" |
10 #include "shell/android/intent_receiver_manager_impl.h" | 10 #include "shell/android/intent_receiver_manager_impl.h" |
11 | 11 |
12 namespace mojo { | |
13 namespace shell { | 12 namespace shell { |
| 13 |
14 class IntentReceiverManagerFactory | 14 class IntentReceiverManagerFactory |
15 : public InterfaceFactory<intent_receiver::IntentReceiverManager> { | 15 : public mojo::InterfaceFactory<intent_receiver::IntentReceiverManager> { |
16 private: | 16 private: |
17 // From InterfaceFactory: | 17 // From InterfaceFactory: |
18 void Create(ApplicationConnection* connection, | 18 void Create(mojo::ApplicationConnection* connection, |
19 InterfaceRequest<intent_receiver::IntentReceiverManager> request) | 19 mojo::InterfaceRequest<intent_receiver::IntentReceiverManager> |
20 override; | 20 request) override; |
21 | 21 |
22 IntentReceiverManagerImpl intent_manager_; | 22 IntentReceiverManagerImpl intent_manager_; |
23 }; | 23 }; |
| 24 |
24 } // namespace shell | 25 } // namespace shell |
25 } // namespace mojo | |
26 | 26 |
27 #endif // SHELL_ANDROID_INTENT_RECEIVER_MANAGER_FACTORY_H_ | 27 #endif // SHELL_ANDROID_INTENT_RECEIVER_MANAGER_FACTORY_H_ |
OLD | NEW |