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

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: Follow review 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..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_

Powered by Google App Engine
This is Rietveld 408576698