Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Unified Diff: shell/android/intent_manager_factory.h

Issue 1061313003: Introduce intent manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698