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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 9340012: Move gpu client files to content_common, in content/common/gpu/client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneeded enums Created 8 years, 10 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 | « content/common/gpu/client/content_gl_context.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/common/gpu/client/content_gl_context.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698