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..4b8c9837d7d026dcce48010d5e88aa5d11d0a346 |
--- /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 { |
+ public: |
+ virtual ~ArcIntentHelperBridge(); |
+ |
+ // Starts listening to state changes of the ArcBridgeService. |
+ virtual void StartObservingBridgeServiceChanges() = 0; |
+}; |
+ |
+} // namespace arc |
+ |
+#endif // COMPONENTS_ARC_HELPER_ARC_HELPER_BRIDGE_H_ |