Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(547)

Unified Diff: chrome/browser/chromeos/arc/gpu_arc_video_service_host.h

Issue 2441563002: arc: Create intermediate directories in c/b/c/arc (Closed)
Patch Set: Re-rebase to ToT Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698