Index: content/common/gpu/client/gpu_channel_host.h |
diff --git a/content/renderer/gpu/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h |
similarity index 93% |
rename from content/renderer/gpu/gpu_channel_host.h |
rename to content/common/gpu/client/gpu_channel_host.h |
index f06f1c9006b0735134b97b941a336520c84043eb..81093269370dc66a223acdee3d0fe67ff7ef62e7 100644 |
--- a/content/renderer/gpu/gpu_channel_host.h |
+++ b/content/common/gpu/client/gpu_channel_host.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 CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_ |
-#define CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_ |
+#ifndef CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ |
+#define CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ |
#pragma once |
#include <string> |
@@ -18,7 +18,7 @@ |
#include "content/common/gpu/gpu_process_launch_causes.h" |
#include "content/common/message_router.h" |
#include "content/public/common/gpu_info.h" |
-#include "content/renderer/gpu/gpu_video_decode_accelerator_host.h" |
+#include "content/common/gpu/client/gpu_video_decode_accelerator_host.h" |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_channel_proxy.h" |
#include "ipc/ipc_sync_channel.h" |
@@ -73,8 +73,8 @@ class GpuChannelHostFactory { |
static GpuChannelHostFactory* instance_; |
}; |
-// Encapsulates an IPC channel between the renderer and one plugin process. |
-// On the plugin side there's a corresponding GpuChannel. |
+// Encapsulates an IPC channel between the client and one GPU process. |
+// On the GPU process side there's a corresponding GpuChannel. |
class GpuChannelHost : public IPC::Message::Sender, |
public base::RefCountedThreadSafe<GpuChannelHost> { |
public: |
@@ -94,7 +94,7 @@ class GpuChannelHost : public IPC::Message::Sender, |
// Connect to GPU process channel. |
void Connect(const IPC::ChannelHandle& channel_handle, |
- base::ProcessHandle renderer_process_for_gpu); |
+ base::ProcessHandle client_process_for_gpu); |
State state() const { return state_; } |
@@ -205,4 +205,4 @@ class GpuChannelHost : public IPC::Message::Sender, |
DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); |
}; |
-#endif // CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_ |
+#endif // CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_ |