diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-04 04:44:48 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-04 04:44:48 +0000 |
commit | 9f9fee6343b8e96ab2a345bc66251e4b8f182547 (patch) | |
tree | ef37950362454ed5ef74ad4263d08312033df831 /webkit/plugins/ppapi/ppb_video_decoder_impl.h | |
parent | 1e16ac0f958d5bcc0012c68ad3c04908e3a64788 (diff) | |
download | chromium_src-9f9fee6343b8e96ab2a345bc66251e4b8f182547.zip chromium_src-9f9fee6343b8e96ab2a345bc66251e4b8f182547.tar.gz chromium_src-9f9fee6343b8e96ab2a345bc66251e4b8f182547.tar.bz2 |
Revert 87905 (broke PPAPITest.Scrollbar on win) - PPAPI: Fix interface functions that take PP_CompletionCallbacks, but don't
return codes from pp_errors.h
BUG=none
TEST=compile + manually run ppapi_tests::VideoDecoder
Review URL: http://codereview.chromium.org/6975053
TBR=polina@google.com
Review URL: http://codereview.chromium.org/7058061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87919 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppb_video_decoder_impl.h')
-rw-r--r-- | webkit/plugins/ppapi/ppb_video_decoder_impl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/plugins/ppapi/ppb_video_decoder_impl.h b/webkit/plugins/ppapi/ppb_video_decoder_impl.h index f67aa83..9e4b176 100644 --- a/webkit/plugins/ppapi/ppb_video_decoder_impl.h +++ b/webkit/plugins/ppapi/ppb_video_decoder_impl.h @@ -46,17 +46,17 @@ class PPB_VideoDecoder_Impl : public Resource, PP_VideoConfigElement* matching_configs, uint32_t matching_configs_size, uint32_t* num_of_matching_configs); - int32_t Initialize(const PP_VideoConfigElement* dec_config, - PP_CompletionCallback callback); - int32_t Decode(const PP_VideoBitstreamBuffer_Dev* bitstream_buffer, - PP_CompletionCallback callback); + bool Init(const PP_VideoConfigElement* dec_config, + PP_CompletionCallback callback); + bool 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); - int32_t Flush(PP_CompletionCallback callback); - int32_t Abort(PP_CompletionCallback callback); + bool Flush(PP_CompletionCallback callback); + bool Abort(PP_CompletionCallback callback); // media::VideoDecodeAccelerator::Client implementation. virtual void ProvidePictureBuffers( |