| 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..73bd9bda5f60215d4d95b2b4f7fad4abc122217a
|
| --- /dev/null
|
| +++ b/shell/android/intent_manager_factory.h
|
| @@ -0,0 +1,25 @@
|
| +// 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.mojom.h"
|
| +#include "shell/android/intent_manager_impl.h"
|
| +
|
| +namespace mojo {
|
| +namespace shell {
|
| +class IntentManagerFactory : public InterfaceFactory<intent::IntentManager> {
|
| + private:
|
| + // From InterfaceFactory:
|
| + void Create(ApplicationConnection* connection,
|
| + InterfaceRequest<intent::IntentManager> request) override;
|
| +
|
| + IntentManagerImpl intent_manager_;
|
| +};
|
| +} // namespace shell
|
| +} // namespace mojo
|
| +
|
| +#endif // SHELL_ANDROID_INTENT_MANAGER_FACTORY_H_
|
|
|