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 /gpu | |
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 'gpu')
-rw-r--r-- | gpu/ipc/command_buffer_proxy.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gpu/ipc/command_buffer_proxy.h b/gpu/ipc/command_buffer_proxy.h index 156d28d..3ce13de 100644 --- a/gpu/ipc/command_buffer_proxy.h +++ b/gpu/ipc/command_buffer_proxy.h @@ -11,7 +11,10 @@ #include "gpu/command_buffer/common/command_buffer.h" #include "gpu/command_buffer/common/command_buffer_shared.h" +// TODO(fsamuel): this is a layering violation. http://crbug.com/157175 +namespace content { struct GpuMemoryAllocationForRenderer; +} // Client side proxy that forwards messages synchronously to a // CommandBufferStub. @@ -54,8 +57,8 @@ class GPU_EXPORT CommandBufferProxy : public gpu::CommandBuffer { // Register a callback to invoke whenever we recieve a new memory allocation. virtual void SetMemoryAllocationChangedCallback( - const base::Callback<void(const GpuMemoryAllocationForRenderer&)>& - callback) = 0; + const base::Callback<void( + const content::GpuMemoryAllocationForRenderer&)>& callback) = 0; // Reparent a command buffer. TODO(apatrick): going forward, the notion of // the parent / child relationship between command buffers is going away in |