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 |
deleted file mode 100644 |
index 95c5a438e8be28130f9417ee1470347e87f523a4..0000000000000000000000000000000000000000 |
--- a/chrome/browser/chromeos/arc/gpu_arc_video_service_host.h |
+++ /dev/null |
@@ -1,52 +0,0 @@ |
-// 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 CHROME_BROWSER_CHROMEOS_ARC_GPU_ARC_VIDEO_SERVICE_HOST_H_ |
-#define CHROME_BROWSER_CHROMEOS_ARC_GPU_ARC_VIDEO_SERVICE_HOST_H_ |
- |
-#include "base/macros.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 { |
- |
-class ArcBridgeService; |
- |
-// This class takes requests for creating channels of video accelerators from |
-// arc::VideoInstance and forwards these requests to GpuArcVideoServce. It also |
-// returns the created channels back to the arc::VideoInstance. |
-// |
-// This class is the proxy end of GpuArcVideoService and runs in the browser |
-// process. The corresponding end "GpuArcVideoService" runs in the GPU process. |
-// |
-// Lives on the UI thread. |
-class GpuArcVideoServiceHost |
- : public ArcService, |
- public InstanceHolder<mojom::VideoInstance>::Observer, |
- public mojom::VideoHost { |
- public: |
- explicit GpuArcVideoServiceHost(ArcBridgeService* bridge_service); |
- ~GpuArcVideoServiceHost() override; |
- |
- // arc::InstanceHolder<mojom::VideoInstance>::Observer implementation. |
- void OnInstanceReady() override; |
- |
- // arc::mojom::VideoHost implementation. |
- void DeprecatedOnRequestArcVideoAcceleratorChannel( |
- const DeprecatedOnRequestArcVideoAcceleratorChannelCallback& callback) |
- override; |
- void OnBootstrapVideoAcceleratorFactory( |
- const OnBootstrapVideoAcceleratorFactoryCallback& callback) override; |
- |
- private: |
- mojo::Binding<mojom::VideoHost> binding_; |
- |
- DISALLOW_COPY_AND_ASSIGN(GpuArcVideoServiceHost); |
-}; |
- |
-} // namespace arc |
- |
-#endif // CHROME_BROWSER_CHROMEOS_ARC_GPU_ARC_VIDEO_SERVICE_HOST_H_ |