Index: content/browser/gpu/browser_gpu_channel_host_factory.h |
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h |
index e88696d8fa1d62d233fed236c48af0598ea07178..618e1c23d47fb83d4633b4cfe701811b0d4195b0 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h |
@@ -15,33 +15,34 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "build/build_config.h" |
-#include "content/common/gpu/client/gpu_channel_host.h" |
+#include "content/common/content_export.h" |
#include "content/common/gpu_process_launch_causes.h" |
+#include "gpu/ipc/client/gpu_channel_host.h" |
#include "ipc/message_filter.h" |
namespace content { |
class BrowserGpuMemoryBufferManager; |
class CONTENT_EXPORT BrowserGpuChannelHostFactory |
- : public GpuChannelHostFactory { |
+ : public gpu::GpuChannelHostFactory { |
public: |
static void Initialize(bool establish_gpu_channel); |
static void Terminate(); |
static BrowserGpuChannelHostFactory* instance() { return instance_; } |
- // Overridden from GpuChannelHostFactory: |
+ // Overridden from gpu::GpuChannelHostFactory: |
bool IsMainThread() override; |
scoped_refptr<base::SingleThreadTaskRunner> GetIOThreadTaskRunner() override; |
scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; |
int GpuProcessHostId() { return gpu_host_id_; } |
#if !defined(OS_ANDROID) |
- GpuChannelHost* EstablishGpuChannelSync( |
+ gpu::GpuChannelHost* EstablishGpuChannelSync( |
CauseForGpuLaunch cause_for_gpu_launch); |
#endif |
void EstablishGpuChannel(CauseForGpuLaunch cause_for_gpu_launch, |
const base::Closure& callback); |
- GpuChannelHost* GetGpuChannel(); |
+ gpu::GpuChannelHost* GetGpuChannel(); |
int GetGpuChannelId() { return gpu_client_id_; } |
// Used to skip GpuChannelHost tests when there can be no GPU process. |
@@ -64,7 +65,7 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory |
const int gpu_client_id_; |
const uint64_t gpu_client_tracing_id_; |
scoped_ptr<base::WaitableEvent> shutdown_event_; |
- scoped_refptr<GpuChannelHost> gpu_channel_; |
+ scoped_refptr<gpu::GpuChannelHost> gpu_channel_; |
scoped_ptr<BrowserGpuMemoryBufferManager> gpu_memory_buffer_manager_; |
int gpu_host_id_; |
scoped_refptr<EstablishRequest> pending_request_; |