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

Unified Diff: services/ui/public/cpp/gpu_service.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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/public/cpp/context_provider.h ('k') | services/ui/public/cpp/gpu_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/gpu_service.h
diff --git a/services/ui/public/cpp/gpu_service.h b/services/ui/public/cpp/gpu_service.h
index f50b23920f6b3eebfa8bd93930b96a6bf7a63d82..79b3893bc0cfbc961e32719783e6c97568125cbb 100644
--- a/services/ui/public/cpp/gpu_service.h
+++ b/services/ui/public/cpp/gpu_service.h
@@ -19,7 +19,7 @@
#include "services/ui/public/cpp/mojo_gpu_memory_buffer_manager.h"
#include "services/ui/public/interfaces/gpu_service.mojom.h"
-namespace shell {
+namespace service_manager {
class Connector;
}
@@ -38,7 +38,7 @@ class GpuService : public gpu::GpuChannelHostFactory,
// the gpu channel. If no |task_runner| is provided, then a new thread is
// created and used.
static std::unique_ptr<GpuService> Create(
- shell::Connector* connector,
+ service_manager::Connector* connector,
scoped_refptr<base::SingleThreadTaskRunner> task_runner = nullptr);
// gpu::GpuChannelEstablishFactory:
@@ -50,7 +50,7 @@ class GpuService : public gpu::GpuChannelHostFactory,
private:
friend struct base::DefaultSingletonTraits<GpuService>;
- GpuService(shell::Connector* connector,
+ GpuService(service_manager::Connector* connector,
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
scoped_refptr<gpu::GpuChannelHost> GetGpuChannel();
@@ -67,7 +67,7 @@ class GpuService : public gpu::GpuChannelHostFactory,
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
- shell::Connector* connector_;
+ service_manager::Connector* connector_;
base::WaitableEvent shutdown_event_;
std::unique_ptr<base::Thread> io_thread_;
std::unique_ptr<MojoGpuMemoryBufferManager> gpu_memory_buffer_manager_;
« no previous file with comments | « services/ui/public/cpp/context_provider.h ('k') | services/ui/public/cpp/gpu_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698