Index: content/renderer/media/rtc_video_capture_delegate.h |
diff --git a/content/renderer/media/rtc_video_capture_delegate.h b/content/renderer/media/rtc_video_capture_delegate.h |
index 648225090330d5145754caed95ab8d7ee67e92b7..ac535f86ce811928bb3706c796c327985757ad76 100644 |
--- a/content/renderer/media/rtc_video_capture_delegate.h |
+++ b/content/renderer/media/rtc_video_capture_delegate.h |
@@ -63,7 +63,8 @@ class RtcVideoCaptureDelegate |
void OnBufferReadyOnCaptureThread( |
media::VideoCapture* capture, |
scoped_refptr<media::VideoCapture::VideoFrameBuffer> buf); |
- void OnErrorOnCaptureThread(media::VideoCapture* capture, int error_code); |
+ void OnErrorOnCaptureThread(media::VideoCapture* capture); |
+ void OnRemovedOnCaptureThread(media::VideoCapture* capture); |
// The id identifies which video capture device is used for this video |
// capture session. |
@@ -74,6 +75,7 @@ class RtcVideoCaptureDelegate |
// Accessed on the thread where StartCapture is called. |
bool got_first_frame_; |
+ bool error_occured_; |
// |captured_callback_| is provided to this class in StartCapture and must be |
// valid until StopCapture is called. |