Index: chrome/browser/chromeos/arc/gpu_arc_video_service_host.h |
diff --git a/chrome/browser/chromeos/arc/gpu_arc_video_service_host.h b/chrome/browser/chromeos/arc/gpu_arc_video_service_host.h |
index 4fb2c67084a8006b4a7eecbf0a17d00a6d03c291..c9dba52364448921b47bcbcabafa02c14f3d1d18 100644 |
--- a/chrome/browser/chromeos/arc/gpu_arc_video_service_host.h |
+++ b/chrome/browser/chromeos/arc/gpu_arc_video_service_host.h |
@@ -20,15 +20,18 @@ namespace arc { |
// |
// This class is the proxy end of GpuArcVideoService and runs in the browser |
// process. The corresponding end "GpuArcVideoService" runs in the GPU process. |
-class GpuArcVideoServiceHost : public arc::ArcService, |
- public arc::ArcBridgeService::Observer, |
- public arc::mojom::VideoHost { |
+class GpuArcVideoServiceHost |
+ : public arc::ArcService, |
+ public arc::ArcBridgeService::InstanceObserver<mojom::VideoInstance>, |
+ public arc::mojom::VideoHost { |
public: |
explicit GpuArcVideoServiceHost(arc::ArcBridgeService* bridge_service); |
~GpuArcVideoServiceHost() override; |
- // arc::ArcBridgeService::Observer implementation. |
- void OnVideoInstanceReady() override; |
+ // arc::ArcBridgeService::InstanceObserver<mojom::VideoInstance> |
+ // implementation. |
+ void OnInstanceReady(mojom::VideoInstance* video_instance, |
+ uint32_t version) override; |
// arc::mojom::VideoHost implementation. |
void DeprecatedOnRequestArcVideoAcceleratorChannel( |