| 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 6c06432fe542d4f3b5b44d517b495779ce1643b7..e1d426129a7007bd8c451a8dcfb772c429e5bca6 100644
|
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
|
| @@ -43,8 +43,10 @@ class GpuVideoDecodeAccelerator
|
| // Function to delegate sending to actual sender.
|
| virtual bool Send(IPC::Message* message);
|
|
|
| - // Initialize the accelerator with the given configuration.
|
| - void Initialize(const std::vector<uint32>& configs);
|
| + // Initialize the accelerator with the given configuration and send the
|
| + // |init_done_msg| when done.
|
| + void Initialize(const std::vector<uint32>& configs,
|
| + IPC::Message* init_done_msg);
|
|
|
| private:
|
|
|
| @@ -63,6 +65,11 @@ class GpuVideoDecodeAccelerator
|
| // Pointer to the IPC message sender.
|
| IPC::Message::Sender* sender_;
|
|
|
| + // Message to Send() when initialization is done. Is only non-NULL during
|
| + // initialization and is owned by the IPC channel underlying the
|
| + // GpuCommandBufferStub.
|
| + IPC::Message* init_done_msg_;
|
| +
|
| // Route ID to communicate with the host.
|
| int32 host_route_id_;
|
|
|
|
|