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 0b394182d4d3a65ec6157ba039411b255ee70f3d..67b1e047be846d5f706d1a174482e81913af3d73 100644 |
--- a/webkit/plugins/ppapi/ppb_video_decoder_impl.h |
+++ b/webkit/plugins/ppapi/ppb_video_decoder_impl.h |
@@ -75,6 +75,8 @@ class PPB_VideoDecoder_Impl : public Resource, |
virtual void NotifyAbortDone() OVERRIDE; |
private: |
+ typedef std::map<int32, PP_CompletionCallback> CallbackById; |
brettw
2011/06/20 21:51:06
Can you clarify what the "id" is that this is mapp
Ami GONE FROM CHROMIUM
2011/06/20 22:13:02
Done.
|
+ |
// This is NULL before initialization, and if this PPB_VideoDecoder_Impl is |
// swapped with another. |
scoped_ptr<PluginDelegate::PlatformVideoDecoder> platform_video_decoder_; |
@@ -85,7 +87,7 @@ class PPB_VideoDecoder_Impl : public Resource, |
PP_CompletionCallback initialization_callback_; |
PP_CompletionCallback abort_callback_; |
PP_CompletionCallback flush_callback_; |
- PP_CompletionCallback bitstream_buffer_callback_; |
+ CallbackById bitstream_buffer_callbacks_; |
// Reference to the plugin requesting this interface. |
const PPP_VideoDecoder_Dev* ppp_videodecoder_; |