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

Unified Diff: components/arc/intent_helper/arc_intent_helper_bridge.h

Issue 1590723003: Host-side implementation of ARC Intent handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 11 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: components/arc/intent_helper/arc_intent_helper_bridge.h
diff --git a/components/arc/intent_helper/arc_intent_helper_bridge.h b/components/arc/intent_helper/arc_intent_helper_bridge.h
new file mode 100644
index 0000000000000000000000000000000000000000..5d9729d428a610fb706341deb97264173e9ee6fe
--- /dev/null
+++ b/components/arc/intent_helper/arc_intent_helper_bridge.h
@@ -0,0 +1,26 @@
+// Copyright 2016 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 COMPONENTS_ARC_HELPER_ARC_HELPER_BRIDGE_H_
+#define COMPONENTS_ARC_HELPER_ARC_HELPER_BRIDGE_H_
+
+namespace arc {
+
+// We want ArcServiceManager to own the ArcIntentHelperBridge but
+// ArcIntentHelperBridge depends on code in chrome/ which is not accessible from
+// components/. Since ArcIntentHelperBridge interacts with the bridge through
+// the global Get function, session manager only needs to see a limited
+// interface. Full implementation at
+// chrome/browser/chromeos/arc/arc_intent_helper_bridge_impl.h
+class ArcIntentHelperBridge {
Luis Héctor Chávez 2016/01/15 17:26:47 This is the third time this exact interface has be
Luis Héctor Chávez 2016/01/15 19:10:22 That won't work, since std::initializer_list alway
Yusuke Sato 2016/01/16 00:11:07 Will rebase this on top of your refactoring CL as
+ public:
+ virtual ~ArcIntentHelperBridge() = 0;
hidehiko 2016/01/15 09:04:55 s/ = 0//
Yusuke Sato 2016/01/16 00:11:07 Done. Is there a standard coding guideline for thi
+
+ // Starts listening to state changes of the ArcBridgeService.
+ virtual void StartObservingBridgeServiceChanges() = 0;
+};
+
+} // namespace arc
+
+#endif // COMPONENTS_ARC_HELPER_ARC_HELPER_BRIDGE_H_

Powered by Google App Engine
This is Rietveld 408576698