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

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

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 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
Index: content/common/gpu/client/gpu_channel_host.cc
===================================================================
--- content/common/gpu/client/gpu_channel_host.cc (revision 163290)
+++ content/common/gpu/client/gpu_channel_host.cc (working copy)
@@ -17,6 +17,8 @@
using base::AutoLock;
using base::MessageLoopProxy;
+namespace content {
+
GpuListenerInfo::GpuListenerInfo() {}
GpuListenerInfo::~GpuListenerInfo() {}
@@ -57,7 +59,7 @@
state_ = kConnected;
}
-void GpuChannelHost::set_gpu_info(const content::GPUInfo& gpu_info) {
+void GpuChannelHost::set_gpu_info(const GPUInfo& gpu_info) {
gpu_info_ = gpu_info;
}
@@ -65,7 +67,7 @@
state_ = kLost;
}
-const content::GPUInfo& GpuChannelHost::gpu_info() const {
+const GPUInfo& GpuChannelHost::gpu_info() const {
return gpu_info_;
}
@@ -215,7 +217,7 @@
}
bool GpuChannelHost::CollectRenderingStatsForSurface(
- int surface_id, content::GpuRenderingStats* stats) {
+ int surface_id, GpuRenderingStats* stats) {
TRACE_EVENT0("gpu", "GpuChannelHost::CollectRenderingStats");
return Send(new GpuChannelMsg_CollectRenderingStatsForSurface(surface_id,
@@ -315,4 +317,4 @@
listeners_.clear();
}
-
+} // namespace content
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.h ('k') | content/common/gpu/client/gpu_video_decode_accelerator_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698