Index: content/common/gpu/client/command_buffer_proxy_impl.h |
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.h b/content/common/gpu/client/command_buffer_proxy_impl.h |
index cd1232ab11b01fe8f81e32a48cde1ef82cb8c283..04f826d19b605502a842cdad41a926c3e01db575 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.h |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.h |
@@ -19,6 +19,7 @@ |
#include "base/observer_list.h" |
#include "content/common/gpu/gpu_memory_allocation.h" |
#include "content/common/gpu/gpu_memory_allocation.h" |
+#include "content/common/gpu/surface_capturer.h" |
#include "gpu/command_buffer/common/command_buffer.h" |
#include "gpu/command_buffer/common/command_buffer_shared.h" |
#include "ipc/ipc_listener.h" |
@@ -70,6 +71,11 @@ class CommandBufferProxyImpl |
media::VideoCodecProfile profile, |
media::VideoDecodeAccelerator::Client* client); |
+ // Send an IPC message to create a SurfaceCapturer. Returns NULL on failure |
+ // to create the SurfaceCapturer. |
+ scoped_ptr<SurfaceCapturer> CreateSurfaceCapturer( |
+ SurfaceCapturer::Client* client); |
+ |
// IPC::Listener implementation: |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
virtual void OnChannelError() OVERRIDE; |