Index: webkit/plugins/ppapi/ppb_video_decoder_impl.h |
diff --git a/webkit/plugins/ppapi/ppb_video_decoder_impl.h b/webkit/plugins/ppapi/ppb_video_decoder_impl.h |
index 24c89f4a997228d11415f76142121d5478f4c370..d3f9c63b29a17d87e6391d55ce756e443797713a 100644 |
--- a/webkit/plugins/ppapi/ppb_video_decoder_impl.h |
+++ b/webkit/plugins/ppapi/ppb_video_decoder_impl.h |
@@ -46,7 +46,7 @@ class PPB_VideoDecoder_Impl : public Resource, |
PP_VideoConfigElement* matching_configs, |
uint32_t matching_configs_size, |
uint32_t* num_of_matching_configs); |
- bool Init(PP_VideoConfigElement* dec_config); |
+ bool Init(PP_VideoConfigElement* dec_config, PP_CompletionCallback callback); |
bool Decode(PP_VideoBitstreamBuffer_Dev* bitstream_buffer, |
PP_CompletionCallback callback); |
void AssignGLESBuffers(uint32_t no_of_buffers, |
@@ -62,6 +62,7 @@ class PPB_VideoDecoder_Impl : public Resource, |
uint32 requested_num_of_buffers, const gfx::Size& dimensions) OVERRIDE; |
virtual void DismissPictureBuffer(int32 picture_buffer_id) OVERRIDE; |
virtual void PictureReady(const media::Picture& picture) OVERRIDE; |
+ virtual void NotifyInitializeDone() OVERRIDE; |
virtual void NotifyEndOfStream() OVERRIDE; |
virtual void NotifyError( |
media::VideoDecodeAccelerator::Error error) OVERRIDE; |
@@ -77,6 +78,7 @@ class PPB_VideoDecoder_Impl : public Resource, |
// Factory to produce our callbacks. |
base::ScopedCallbackFactory<PPB_VideoDecoder_Impl> callback_factory_; |
+ PP_CompletionCallback initialization_callback_; |
PP_CompletionCallback abort_callback_; |
PP_CompletionCallback flush_callback_; |
PP_CompletionCallback bitstream_buffer_callback_; |