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 b692ec18254b79a114efaadb30366e0519ef92b5..7f88ebc6a174de13e5b2f5618b22eb9bd1ce2597 100644 |
--- a/content/common/gpu/client/gpu_channel_host.h |
+++ b/content/common/gpu/client/gpu_channel_host.h |
@@ -44,6 +44,7 @@ class SyncMessageFilter; |
} |
namespace media { |
+class JpegDecodeAccelerator; |
class VideoDecodeAccelerator; |
class VideoEncodeAccelerator; |
} |
@@ -55,6 +56,7 @@ class GpuMemoryBufferManager; |
namespace content { |
class CommandBufferProxyImpl; |
class GpuChannelHost; |
+class GpuJpegDecodeAcceleratorHost; |
struct GpuListenerInfo { |
GpuListenerInfo(); |
@@ -148,6 +150,9 @@ 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(); |
+ |
// Destroy a command buffer created by this channel. |
void DestroyCommandBuffer(CommandBufferProxyImpl* command_buffer); |