Index: components/arc/arc_bridge_service.h |
diff --git a/components/arc/arc_bridge_service.h b/components/arc/arc_bridge_service.h |
index e3417bc985756c0db52044b339df84c9da3d350b..e8f91571fd93a4fe91de42a1ae29d937537d489d 100644 |
--- a/components/arc/arc_bridge_service.h |
+++ b/components/arc/arc_bridge_service.h |
@@ -67,6 +67,9 @@ class ArcBridgeService : public IPC::Listener { |
// Called whenever ARC's availability has changed for this system. |
virtual void OnAvailableChanged(bool available) {} |
+ // Called whenever to create video accelerator connection. |
+ virtual void OnCreateArcVideoAcceleratorConnection() {} |
Owen Lin
2015/12/07 09:05:23
How about rename it as OnRequestArcVideoAccelerato
kcwu
2015/12/10 10:17:37
Revised to use new ArcBridgeService's new observer
|
+ |
protected: |
virtual ~Observer() {} |
}; |
@@ -115,6 +118,8 @@ class ArcBridgeService : public IPC::Listener { |
const std::string& device_type, |
base::ScopedFD fd); |
+ bool NotifyVideoAcceleratorConnectionCreated(IPC::ChannelHandle handle); |
+ |
private: |
friend class ArcBridgeTest; |
FRIEND_TEST_ALL_PREFIXES(ArcBridgeTest, Basic); |
@@ -148,6 +153,8 @@ class ArcBridgeService : public IPC::Listener { |
// interaction. |
void OnInstanceReady(); |
+ void OnCreateArcVideoAcceleratorConnection(); |
+ |
// Changes the current state and notifies all observers. |
void SetState(State state); |