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

Unified Diff: services/ui/ws/gpu_client.h

Issue 2939953004: viz: Move some code into //components/viz/common. (Closed)
Patch Set: . 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 | « services/ui/ws/DEPS ('k') | services/ui/ws/gpu_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/gpu_client.h
diff --git a/services/ui/ws/gpu_client.h b/services/ui/ws/gpu_client.h
index ac5f07292b23d2fe1859076bc803b9280cadf2ec..23b3fc5eef90fadf19c22ac53a8e87f9d89fff96 100644
--- a/services/ui/ws/gpu_client.h
+++ b/services/ui/ws/gpu_client.h
@@ -9,14 +9,16 @@
#include "gpu/config/gpu_info.h"
#include "services/ui/public/interfaces/gpu.mojom.h"
+namespace viz {
+class ServerGpuMemoryBufferManager;
+}
+
namespace ui {
namespace mojom {
class GpuService;
} // namespace mojom
-class ServerGpuMemoryBufferManager;
-
namespace ws {
namespace test {
@@ -29,7 +31,7 @@ class GpuClient : public mojom::Gpu {
public:
GpuClient(int client_id,
gpu::GPUInfo* gpu_info,
- ServerGpuMemoryBufferManager* gpu_memory_buffer_manager,
+ viz::ServerGpuMemoryBufferManager* gpu_memory_buffer_manager,
mojom::GpuService* gpu_service);
~GpuClient() override;
@@ -55,7 +57,7 @@ class GpuClient : public mojom::Gpu {
// The objects these pointers refer to are owned by the GpuHost object.
const gpu::GPUInfo* gpu_info_;
- ServerGpuMemoryBufferManager* gpu_memory_buffer_manager_;
+ viz::ServerGpuMemoryBufferManager* gpu_memory_buffer_manager_;
mojom::GpuService* gpu_service_;
base::WeakPtrFactory<GpuClient> weak_factory_;
« no previous file with comments | « services/ui/ws/DEPS ('k') | services/ui/ws/gpu_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698