Chromium Code Reviews| Index: content/common/gpu/media/gpu_video_decode_accelerator.h |
| diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h |
| index be093025a9300e6e85eb2a0012be528afdc30485..5b1e0f2806271e5ad3f2320d5637d510d1a8a1e6 100644 |
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.h |
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.h |
| @@ -55,9 +55,12 @@ class GpuVideoDecodeAccelerator |
| // The renderer process handle is valid as long as we have a channel between |
| // GPU process and the renderer. |
| void Initialize(const media::VideoCodecProfile profile, |
| - IPC::Message* init_done_msg); |
| + IPC::Message* init_done_msg, |
| + const scoped_refptr<base::MessageLoopProxy>& io_message_loop); |
| private: |
| + class GvdaMessageFilter; |
|
Ami GONE FROM CHROMIUM
2013/08/26 17:20:03
Since this is scoped inside the class no need for
wuchengli
2013/08/27 12:32:24
Done.
|
| + |
| // Handlers for IPC messages. |
| void OnDecode(base::SharedMemoryHandle handle, int32 id, uint32 size); |
| void OnAssignPictureBuffers( |
| @@ -91,6 +94,8 @@ class GpuVideoDecodeAccelerator |
| // The texture target as requested by ProvidePictureBuffers(). |
| uint32 texture_target_; |
| + scoped_ptr<GvdaMessageFilter> filter_; |
| + |
| DISALLOW_IMPLICIT_CONSTRUCTORS(GpuVideoDecodeAccelerator); |
| }; |