Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Unified Diff: webkit/plugins/ppapi/ppb_video_decoder_impl.h

Issue 6975053: PPAPI: Fix interface functions that take PP_CompletionCallbacks, but don't (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_layer_compositor_impl.cc ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_video_decoder_impl.h
===================================================================
--- webkit/plugins/ppapi/ppb_video_decoder_impl.h (revision 87892)
+++ webkit/plugins/ppapi/ppb_video_decoder_impl.h (working copy)
@@ -46,17 +46,17 @@
PP_VideoConfigElement* matching_configs,
uint32_t matching_configs_size,
uint32_t* num_of_matching_configs);
- bool Init(const PP_VideoConfigElement* dec_config,
- PP_CompletionCallback callback);
- bool Decode(const PP_VideoBitstreamBuffer_Dev* bitstream_buffer,
- PP_CompletionCallback callback);
+ int32_t Initialize(const PP_VideoConfigElement* dec_config,
+ PP_CompletionCallback callback);
+ int32_t Decode(const PP_VideoBitstreamBuffer_Dev* bitstream_buffer,
+ PP_CompletionCallback callback);
void AssignGLESBuffers(uint32_t no_of_buffers,
const PP_GLESBuffer_Dev* buffers);
void AssignSysmemBuffers(uint32_t no_of_buffers,
const PP_SysmemBuffer_Dev* buffers);
void ReusePictureBuffer(int32_t picture_buffer_id);
- bool Flush(PP_CompletionCallback callback);
- bool Abort(PP_CompletionCallback callback);
+ int32_t Flush(PP_CompletionCallback callback);
+ int32_t Abort(PP_CompletionCallback callback);
// media::VideoDecodeAccelerator::Client implementation.
virtual void ProvidePictureBuffers(
« no previous file with comments | « webkit/plugins/ppapi/ppb_layer_compositor_impl.cc ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698