Index: ppapi/shared_impl/ppb_video_decoder_shared.h |
diff --git a/ppapi/shared_impl/ppb_video_decoder_shared.h b/ppapi/shared_impl/ppb_video_decoder_shared.h |
index 9f1aa46fcebb16aec298ab1740bab2eb3ef94207..618b6d03dbb4b6309bd2d431eb42e7140f16b7a9 100644 |
--- a/ppapi/shared_impl/ppb_video_decoder_shared.h |
+++ b/ppapi/shared_impl/ppb_video_decoder_shared.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -40,10 +40,10 @@ class PPAPI_SHARED_EXPORT PPB_VideoDecoder_Shared |
virtual void Destroy() OVERRIDE; |
protected: |
- bool SetFlushCallback(PP_CompletionCallback callback); |
- bool SetResetCallback(PP_CompletionCallback callback); |
- bool SetBitstreamBufferCallback( |
- int32 bitstream_buffer_id, PP_CompletionCallback callback); |
+ bool SetFlushCallback(scoped_refptr<TrackedCallback> callback); |
+ bool SetResetCallback(scoped_refptr<TrackedCallback> callback); |
+ bool SetBitstreamBufferCallback(int32 bitstream_buffer_id, |
+ scoped_refptr<TrackedCallback> callback); |
void RunFlushCallback(int32 result); |
void RunResetCallback(int32 result); |