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

Unified Diff: chrome/gpu/gpu_arc_video_service.h

Issue 2171473003: Remove content::GpuVideoDecodeAcceleratorFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu_init_order
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « chrome/gpu/chrome_content_gpu_client.cc ('k') | chrome/gpu/gpu_arc_video_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/gpu_arc_video_service.h
diff --git a/chrome/gpu/gpu_arc_video_service.h b/chrome/gpu/gpu_arc_video_service.h
index 38fb13e3b03d4076a4003a8c3758ab2cbe7d1c60..5f7275f9369744bc868b866d8a32a3d3cfdcb058 100644
--- a/chrome/gpu/gpu_arc_video_service.h
+++ b/chrome/gpu/gpu_arc_video_service.h
@@ -11,6 +11,7 @@
#include "base/macros.h"
#include "chrome/gpu/arc_video_accelerator.h"
#include "components/arc/common/video_accelerator.mojom.h"
+#include "gpu/command_buffer/service/gpu_preferences.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
namespace chromeos {
@@ -24,9 +25,10 @@ namespace arc {
class GpuArcVideoService : public ::arc::mojom::VideoAcceleratorService,
public ArcVideoAccelerator::Client {
public:
- explicit GpuArcVideoService(
- ::arc::mojom::VideoAcceleratorServiceRequest request);
- GpuArcVideoService();
+ GpuArcVideoService(
+ ::arc::mojom::VideoAcceleratorServiceRequest request,
+ const gpu::GpuPreferences& gpu_preferences);
+ explicit GpuArcVideoService(const gpu::GpuPreferences& gpu_preferences);
~GpuArcVideoService() override;
// Connects to VideoAcceleratorServiceClient.
@@ -75,6 +77,7 @@ class GpuArcVideoService : public ::arc::mojom::VideoAcceleratorService,
base::ThreadChecker thread_checker_;
+ gpu::GpuPreferences gpu_preferences_;
std::unique_ptr<ArcVideoAccelerator> accelerator_;
::arc::mojom::VideoAcceleratorServiceClientPtr client_;
« no previous file with comments | « chrome/gpu/chrome_content_gpu_client.cc ('k') | chrome/gpu/gpu_arc_video_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698