Index: content/renderer/media/video_capture_impl.h |
diff --git a/content/renderer/media/video_capture_impl.h b/content/renderer/media/video_capture_impl.h |
index 0e8fea73fac0dc16618891451fbdae61efb4f23c..1eb2a615dc9d18be7c6290fad37e534401fd720d 100644 |
--- a/content/renderer/media/video_capture_impl.h |
+++ b/content/renderer/media/video_capture_impl.h |
@@ -39,8 +39,16 @@ |
#include "media/video/capture/video_capture_types.h" |
namespace base { |
+ |
class MessageLoopProxy; |
-} |
+ |
+} // namespace base |
+ |
+namespace gpu { |
+ |
+class MailboxHolder; |
+ |
+} // namespace gpu |
namespace content { |
@@ -91,18 +99,22 @@ class CONTENT_EXPORT VideoCaptureImpl |
int length, |
int buffer_id) OVERRIDE; |
virtual void OnBufferDestroyed(int buffer_id) OVERRIDE; |
- virtual void OnBufferReceived( |
- int buffer_id, |
- base::TimeTicks timestamp, |
- const media::VideoCaptureFormat& format) OVERRIDE; |
+ virtual void OnBufferReceived(int buffer_id, |
+ const media::VideoCaptureFormat& format, |
+ base::TimeTicks) OVERRIDE; |
+ virtual void OnMailboxBufferReceived(int buffer_id, |
+ const gpu::MailboxHolder& mailbox_holder, |
+ const media::VideoCaptureFormat& format, |
+ base::TimeTicks timestamp) OVERRIDE; |
+ OVERRIDE; |
virtual void OnStateChanged(VideoCaptureState state) OVERRIDE; |
virtual void OnDelegateAdded(int32 device_id) OVERRIDE; |
// Sends an IPC message to browser process when all clients are done with the |
// buffer. |
- void OnClientBufferFinished( |
- int buffer_id, |
- const scoped_refptr<ClientBuffer>& buffer); |
+ void OnClientBufferFinished(int buffer_id, |
+ const scoped_refptr<ClientBuffer>& buffer, |
+ const gpu::MailboxHolder* mailbox_holder); |
void StopDevice(); |
void RestartCapture(); |