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

Unified Diff: shell/android/intent_manager_factory.cc

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.cc
diff --git a/shell/android/intent_manager_factory.cc b/shell/android/intent_manager_factory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3f20f71e1bd20739c57a3be7e030680bf883fc8e
--- /dev/null
+++ b/shell/android/intent_manager_factory.cc
@@ -0,0 +1,17 @@
+// 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.
+
+#include "shell/android/intent_manager_factory.h"
+
+namespace mojo {
+namespace shell {
+
+void IntentReceiverManagerFactory::Create(
+ ApplicationConnection* connection,
+ InterfaceRequest<intent_receiver::IntentReceiverManager> request) {
+ intent_manager_.Bind(request.Pass());
+}
+
+} // namespace shell
+} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698