Index: content/common/gpu/client/gpu_channel_host.h |
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h |
index 6decd17931bd5e6d468ad0d999b280531b317b00..9aa3673bc73728497291ba0837d58c5207a06a06 100644 |
--- a/content/common/gpu/client/gpu_channel_host.h |
+++ b/content/common/gpu/client/gpu_channel_host.h |
@@ -23,6 +23,7 @@ |
#include "ipc/ipc_channel_proxy.h" |
#include "ipc/ipc_sync_channel.h" |
#include "media/video/video_decode_accelerator.h" |
+#include "media/video/video_encode_accelerator.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/size.h" |
#include "ui/gl/gpu_preference.h" |
@@ -128,6 +129,10 @@ class GpuChannelHost : public IPC::Sender, |
media::VideoCodecProfile profile, |
media::VideoDecodeAccelerator::Client* client); |
+ // Creates a video encoder in the GPU process. |
+ scoped_ptr<media::VideoEncodeAccelerator> CreateVideoEncoder( |
+ media::VideoEncodeAccelerator::Client* client); |
+ |
// Destroy a command buffer created by this channel. |
void DestroyCommandBuffer(CommandBufferProxyImpl* command_buffer); |