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

Unified Diff: chrome/gpu/chrome_content_gpu_client.cc

Issue 2919193002: ArcBridge: Rename VideoAcceleratorService to VideoDecodeAccelerator. (Closed)
Patch Set: Address review comments Created 3 years, 6 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.h ('k') | chrome/gpu/gpu_arc_video_decode_accelerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/gpu/chrome_content_gpu_client.cc
diff --git a/chrome/gpu/chrome_content_gpu_client.cc b/chrome/gpu/chrome_content_gpu_client.cc
index 9a32f37d1f864a171a259d5b99dbaf9d8ea0873f..05cfc43f44e387a34514609ef5cd4b71c21cbccd 100644
--- a/chrome/gpu/chrome_content_gpu_client.cc
+++ b/chrome/gpu/chrome_content_gpu_client.cc
@@ -20,7 +20,7 @@
#include "services/service_manager/public/cpp/connector.h"
#if defined(OS_CHROMEOS)
-#include "chrome/gpu/gpu_arc_video_service.h"
+#include "chrome/gpu/gpu_arc_video_decode_accelerator.h"
#include "content/public/common/service_manager_connection.h"
#include "services/service_manager/public/cpp/binder_registry.h"
#endif
@@ -65,7 +65,7 @@ void ChromeContentGpuClient::Initialize(
#if defined(OS_CHROMEOS)
registry->AddInterface(
- base::Bind(&ChromeContentGpuClient::CreateArcVideoAcceleratorService,
+ base::Bind(&ChromeContentGpuClient::CreateArcVideoDecodeAccelerator,
base::Unretained(this)),
base::ThreadTaskRunnerHandle::Get());
#endif
@@ -86,11 +86,12 @@ void ChromeContentGpuClient::GpuServiceInitialized(
#if defined(OS_CHROMEOS)
-void ChromeContentGpuClient::CreateArcVideoAcceleratorService(
+void ChromeContentGpuClient::CreateArcVideoDecodeAccelerator(
const service_manager::BindSourceInfo& source_info,
- ::arc::mojom::VideoAcceleratorServiceRequest request) {
+ ::arc::mojom::VideoDecodeAcceleratorRequest request) {
mojo::MakeStrongBinding(
- base::MakeUnique<chromeos::arc::GpuArcVideoService>(gpu_preferences_),
+ base::MakeUnique<chromeos::arc::GpuArcVideoDecodeAccelerator>(
+ gpu_preferences_),
std::move(request));
}
« no previous file with comments | « chrome/gpu/chrome_content_gpu_client.h ('k') | chrome/gpu/gpu_arc_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698