| 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 4ec2e06d2bdad744da832c4d4f674128192835ca..e32dd5635a9e15af9d3f82facb1d944b33474f64 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_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"
|
| @@ -43,6 +44,7 @@ class SyncMessageFilter;
|
| }
|
|
|
| namespace media {
|
| +class JpegDecodeAccelerator;
|
| class VideoDecodeAccelerator;
|
| class VideoEncodeAccelerator;
|
| }
|
| @@ -147,6 +149,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);
|
|
|
|
|