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

Unified Diff: services/ui/public/cpp/gpu/client_gpu_memory_buffer_manager.h

Issue 2562623005: mus/gpu: Rename the client/server side memory buffer managers. (Closed)
Patch Set: tot merge 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/public/cpp/gpu/BUILD.gn ('k') | services/ui/public/cpp/gpu/client_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/gpu/client_gpu_memory_buffer_manager.h
diff --git a/services/ui/public/cpp/gpu/mojo_gpu_memory_buffer_manager.h b/services/ui/public/cpp/gpu/client_gpu_memory_buffer_manager.h
similarity index 76%
rename from services/ui/public/cpp/gpu/mojo_gpu_memory_buffer_manager.h
rename to services/ui/public/cpp/gpu/client_gpu_memory_buffer_manager.h
index d1f5e339f376378ca8b45fd612f78978b98f1d92..1f7a8cd12aaa64c7a9d550193125367e80bd7116 100644
--- a/services/ui/public/cpp/gpu/mojo_gpu_memory_buffer_manager.h
+++ b/services/ui/public/cpp/gpu/client_gpu_memory_buffer_manager.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SERVICES_UI_PUBLIC_CPP_GPU_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_
-#define SERVICES_UI_PUBLIC_CPP_GPU_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_
+#ifndef SERVICES_UI_PUBLIC_CPP_GPU_CLIENT_GPU_MEMORY_BUFFER_MANAGER_H_
+#define SERVICES_UI_PUBLIC_CPP_GPU_CLIENT_GPU_MEMORY_BUFFER_MANAGER_H_
#include <memory>
#include <vector>
@@ -25,10 +25,10 @@ namespace mojom {
class GpuService;
}
-class MojoGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
+class ClientGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
public:
- explicit MojoGpuMemoryBufferManager(mojom::GpuServicePtr gpu_service);
- ~MojoGpuMemoryBufferManager() override;
+ explicit ClientGpuMemoryBufferManager(mojom::GpuServicePtr gpu_service);
+ ~ClientGpuMemoryBufferManager() override;
private:
void InitThread(mojo::InterfacePtrInfo<mojom::GpuService> gpu_service_info);
@@ -57,12 +57,12 @@ class MojoGpuMemoryBufferManager : public gpu::GpuMemoryBufferManager {
// TODO(sad): Explore the option of doing this from an existing thread.
base::Thread thread_;
mojom::GpuServicePtr gpu_service_;
- base::WeakPtr<MojoGpuMemoryBufferManager> weak_ptr_;
- base::WeakPtrFactory<MojoGpuMemoryBufferManager> weak_ptr_factory_;
+ base::WeakPtr<ClientGpuMemoryBufferManager> weak_ptr_;
+ base::WeakPtrFactory<ClientGpuMemoryBufferManager> weak_ptr_factory_;
- DISALLOW_COPY_AND_ASSIGN(MojoGpuMemoryBufferManager);
+ DISALLOW_COPY_AND_ASSIGN(ClientGpuMemoryBufferManager);
};
} // namespace ui
-#endif // SERVICES_UI_PUBLIC_CPP_GPU_MOJO_GPU_MEMORY_BUFFER_MANAGER_H_
+#endif // SERVICES_UI_PUBLIC_CPP_GPU_CLIENT_GPU_MEMORY_BUFFER_MANAGER_H_
« no previous file with comments | « services/ui/public/cpp/gpu/BUILD.gn ('k') | services/ui/public/cpp/gpu/client_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698