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

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
Index: webkit/plugins/ppapi/ppb_video_decoder_impl.h
===================================================================
--- webkit/plugins/ppapi/ppb_video_decoder_impl.h (revision 87330)
+++ webkit/plugins/ppapi/ppb_video_decoder_impl.h (working copy)
@@ -46,16 +46,17 @@
PP_VideoConfigElement* matching_configs,
uint32_t matching_configs_size,
uint32_t* num_of_matching_configs);
- bool Init(PP_VideoConfigElement* dec_config, PP_CompletionCallback callback);
- bool Decode(PP_VideoBitstreamBuffer_Dev* bitstream_buffer,
+ int32_t Init(PP_VideoConfigElement* dec_config,
+ PP_CompletionCallback callback);
+ int32_t Decode(PP_VideoBitstreamBuffer_Dev* bitstream_buffer,
PP_CompletionCallback callback);
Ville-Mikko Rautio 2011/06/01 11:44:15 Fix aligment.
polina 2011/06/01 21:45:43 Done.
void AssignGLESBuffers(uint32_t no_of_buffers,
PP_GLESBuffer_Dev* buffers);
void AssignSysmemBuffers(uint32_t no_of_buffers,
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(

Powered by Google App Engine
This is Rietveld 408576698