diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-22 20:16:19 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-22 20:16:19 +0000 |
commit | eb398193640924b8e55c6b2d00077838146ea8eb (patch) | |
tree | fc832fdabf40bad4ea19253b19216f1111fdc166 /content/common/gpu/client/gpu_channel_host.cc | |
parent | f6b218e0969ab52a1a623260a8242030f8aeef31 (diff) | |
download | chromium_src-eb398193640924b8e55c6b2d00077838146ea8eb.zip chromium_src-eb398193640924b8e55c6b2d00077838146ea8eb.tar.gz chromium_src-eb398193640924b8e55c6b2d00077838146ea8eb.tar.bz2 |
Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace.
Review URL: https://codereview.chromium.org/11227033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/gpu/client/gpu_channel_host.cc')
-rw-r--r-- | content/common/gpu/client/gpu_channel_host.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc index 59c73e3..aa556c8 100644 --- a/content/common/gpu/client/gpu_channel_host.cc +++ b/content/common/gpu/client/gpu_channel_host.cc @@ -17,6 +17,8 @@ using base::AutoLock; using base::MessageLoopProxy; +namespace content { + GpuListenerInfo::GpuListenerInfo() {} GpuListenerInfo::~GpuListenerInfo() {} @@ -57,7 +59,7 @@ void GpuChannelHost::Connect( 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 @@ void GpuChannelHost::SetStateLost() { state_ = kLost; } -const content::GPUInfo& GpuChannelHost::gpu_info() const { +const GPUInfo& GpuChannelHost::gpu_info() const { return gpu_info_; } @@ -215,7 +217,7 @@ void GpuChannelHost::DestroyCommandBuffer( } 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 @@ void GpuChannelHost::MessageFilter::OnChannelError() { listeners_.clear(); } - +} // namespace content |