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 86a48c31fda0b213db6ff06dbb93fb8793049b3a..b6f954016bbec239f95dabd4a3faaa02cac6d3ba 100644 |
--- a/chrome/browser/chromeos/arc/gpu_arc_video_service_host.h |
+++ b/chrome/browser/chromeos/arc/gpu_arc_video_service_host.h |
@@ -9,6 +9,7 @@ |
#include "components/arc/arc_bridge_service.h" |
#include "components/arc/arc_service.h" |
#include "components/arc/common/video.mojom.h" |
+#include "components/arc/instance_holder.h" |
#include "mojo/public/cpp/bindings/binding.h" |
namespace arc { |
@@ -21,15 +22,16 @@ namespace arc { |
// process. The corresponding end "GpuArcVideoService" runs in the GPU process. |
// |
// Lives on the UI thread. |
-class GpuArcVideoServiceHost : public arc::ArcService, |
- public arc::ArcBridgeService::Observer, |
- public arc::mojom::VideoHost { |
+class GpuArcVideoServiceHost |
+ : public arc::ArcService, |
+ public arc::InstanceHolder<mojom::VideoInstance>::Observer, |
+ public arc::mojom::VideoHost { |
public: |
explicit GpuArcVideoServiceHost(arc::ArcBridgeService* bridge_service); |
~GpuArcVideoServiceHost() override; |
- // arc::ArcBridgeService::Observer implementation. |
- void OnVideoInstanceReady() override; |
+ // arc::InstanceHolder<mojom::VideoInstance>::Observer implementation. |
+ void OnInstanceReady() override; |
// arc::mojom::VideoHost implementation. |
void DeprecatedOnRequestArcVideoAcceleratorChannel( |