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_RECEIVER_MANAGER_FACTORY_H_ |
| 6 #define SHELL_ANDROID_INTENT_RECEIVER_MANAGER_FACTORY_H_ |
| 7 |
| 8 #include "mojo/public/cpp/application/interface_factory.h" |
| 9 #include "services/android/intent_receiver.mojom.h" |
| 10 #include "shell/android/intent_receiver_manager_impl.h" |
| 11 |
| 12 namespace mojo { |
| 13 namespace shell { |
| 14 class IntentReceiverManagerFactory |
| 15 : public InterfaceFactory<intent_receiver::IntentReceiverManager> { |
| 16 private: |
| 17 // From InterfaceFactory: |
| 18 void Create(ApplicationConnection* connection, |
| 19 InterfaceRequest<intent_receiver::IntentReceiverManager> request) |
| 20 override; |
| 21 |
| 22 IntentReceiverManagerImpl intent_manager_; |
| 23 }; |
| 24 } // namespace shell |
| 25 } // namespace mojo |
| 26 |
| 27 #endif // SHELL_ANDROID_INTENT_RECEIVER_MANAGER_FACTORY_H_ |
OLD | NEW |