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

Unified Diff: services/ui/ws/gpu_service_proxy.cc

Issue 2559343003: mus: Rename GpuService to Gpu. (Closed)
Patch Set: . Created 4 years 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 | « services/ui/ws/gpu_service_proxy.h ('k') | services/ui/ws/window_server_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/gpu_service_proxy.cc
diff --git a/services/ui/ws/gpu_service_proxy.cc b/services/ui/ws/gpu_service_proxy.cc
index 1745c3737ece255fba65e44f88ed77054b05777f..d43adf4d3f0a6a403b6daf4fcc35225966bde0ad 100644
--- a/services/ui/ws/gpu_service_proxy.cc
+++ b/services/ui/ws/gpu_service_proxy.cc
@@ -28,7 +28,7 @@ const int32_t kInternalGpuChannelClientId = 2;
// The implementation that relays requests from clients to the real
// service implementation in the GPU process over mojom.GpuServiceInternal.
-class GpuServiceImpl : public mojom::GpuService {
+class GpuServiceImpl : public mojom::Gpu {
public:
GpuServiceImpl(int client_id,
gpu::GPUInfo* gpu_info,
@@ -51,7 +51,7 @@ class GpuServiceImpl : public mojom::GpuService {
callback.Run(client_id_, std::move(channel_handle), *gpu_info_);
}
- // mojom::GpuService overrides:
+ // mojom::Gpu overrides:
void EstablishGpuChannel(
const EstablishGpuChannelCallback& callback) override {
// TODO(sad): crbug.com/617415 figure out how to generate a meaningful
@@ -69,8 +69,7 @@ class GpuServiceImpl : public mojom::GpuService {
const gfx::Size& size,
gfx::BufferFormat format,
gfx::BufferUsage usage,
- const mojom::GpuService::CreateGpuMemoryBufferCallback& callback)
- override {
+ const mojom::Gpu::CreateGpuMemoryBufferCallback& callback) override {
auto handle = gpu_memory_buffer_manager_->CreateGpuMemoryBufferHandle(
id, client_id_, size, format, usage, gpu::kNullSurfaceHandle);
callback.Run(handle);
@@ -113,7 +112,7 @@ GpuServiceProxy::GpuServiceProxy(GpuServiceProxyDelegate* delegate)
GpuServiceProxy::~GpuServiceProxy() {
}
-void GpuServiceProxy::Add(mojom::GpuServiceRequest request) {
+void GpuServiceProxy::Add(mojom::GpuRequest request) {
mojo::MakeStrongBinding(
base::MakeUnique<GpuServiceImpl>(next_client_id_++, &gpu_info_,
gpu_memory_buffer_manager_.get(),
« no previous file with comments | « services/ui/ws/gpu_service_proxy.h ('k') | services/ui/ws/window_server_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698