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

Unified Diff: ppapi/cpp/dev/video_decoder_dev.h

Issue 7474006: PPB_VideoDecoder_Dev::Initialize is now synchronous! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: vrk CR update. Created 9 years, 5 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 | « ppapi/c/dev/ppb_video_decoder_dev.h ('k') | ppapi/cpp/dev/video_decoder_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/video_decoder_dev.h
diff --git a/ppapi/cpp/dev/video_decoder_dev.h b/ppapi/cpp/dev/video_decoder_dev.h
index d1dee6a8bbed9c15fd6bad2e760afeec65bf6136..d831116594d3f515cc9813020bd0f97d350aaeda 100644
--- a/ppapi/cpp/dev/video_decoder_dev.h
+++ b/ppapi/cpp/dev/video_decoder_dev.h
@@ -23,19 +23,15 @@ class Instance;
// C++ version of the PPB_VideoDecoder_Dev interface.
class VideoDecoder_Dev : public Resource {
public:
- // Constructor for the video decoder. Calls the Create on the
- // PPB_VideoDecoder_Dev interface.
- //
- // Parameters:
- // |instance| is the pointer to the plug-in instance.
- explicit VideoDecoder_Dev(const Instance& instance);
+ // See PPB_VideoDecoder_Dev::Create.
+ explicit VideoDecoder_Dev(const Instance& instance,
+ const Context3D_Dev& context,
+ const PP_VideoConfigElement* config);
+
explicit VideoDecoder_Dev(PP_Resource resource);
virtual ~VideoDecoder_Dev();
// PPB_VideoDecoder_Dev implementation.
- int32_t Initialize(const PP_VideoConfigElement* config,
- const Context3D_Dev& context,
- CompletionCallback callback);
void AssignPictureBuffers(const std::vector<PP_PictureBuffer_Dev>& buffers);
int32_t Decode(const PP_VideoBitstreamBuffer_Dev& bitstream_buffer,
CompletionCallback callback);
« no previous file with comments | « ppapi/c/dev/ppb_video_decoder_dev.h ('k') | ppapi/cpp/dev/video_decoder_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698