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 83b5d96db909c4cc4456832079320742259026d4..81ddbffbcdbb529e38745623d111bde49e0a329e 100644 |
--- a/content/common/gpu/client/gpu_channel_host.h |
+++ b/content/common/gpu/client/gpu_channel_host.h |
@@ -24,6 +24,7 @@ |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_sync_channel.h" |
#include "ipc/message_filter.h" |
+#include "media/video/jpeg_decode_accelerator.h" |
#include "ui/events/latency_info.h" |
#include "ui/gfx/geometry/size.h" |
#include "ui/gfx/gpu_memory_buffer.h" |
@@ -44,6 +45,7 @@ class SyncMessageFilter; |
} |
namespace media { |
+class JpegDecodeAccelerator; |
class VideoDecodeAccelerator; |
class VideoEncodeAccelerator; |
} |
@@ -149,6 +151,10 @@ class GpuChannelHost : public IPC::Sender, |
scoped_ptr<media::VideoEncodeAccelerator> CreateVideoEncoder( |
int command_buffer_route_id); |
+ // Creates a JPEG decoder in the GPU process. |
+ scoped_ptr<media::JpegDecodeAccelerator> CreateJpegDecoder( |
+ media::JpegDecodeAccelerator::Client* client); |
+ |
// Destroy a command buffer created by this channel. |
void DestroyCommandBuffer(CommandBufferProxyImpl* command_buffer); |