Chromium Code Reviews| Index: shell/android/intent_manager_factory.h |
| diff --git a/shell/android/intent_manager_factory.h b/shell/android/intent_manager_factory.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3673e5dac8c7782a40a660551bbb837657fe7286 |
| --- /dev/null |
| +++ b/shell/android/intent_manager_factory.h |
| @@ -0,0 +1,27 @@ |
| +// 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_FACTORY_H_ |
| +#define SHELL_ANDROID_INTENT_MANAGER_FACTORY_H_ |
| + |
| +#include "mojo/public/cpp/application/interface_factory.h" |
| +#include "services/android/intent_receiver.mojom.h" |
| +#include "shell/android/intent_manager_impl.h" |
| + |
| +namespace mojo { |
| +namespace shell { |
| +class IntentReceiverManagerFactory |
|
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.
|
| + : public InterfaceFactory<intent_receiver::IntentReceiverManager> { |
| + private: |
| + // From InterfaceFactory: |
| + void Create(ApplicationConnection* connection, |
| + InterfaceRequest<intent_receiver::IntentReceiverManager> request) |
| + override; |
| + |
| + IntentReceiverManagerImpl intent_manager_; |
| +}; |
| +} // namespace shell |
| +} // namespace mojo |
| + |
| +#endif // SHELL_ANDROID_INTENT_MANAGER_FACTORY_H_ |