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

Unified Diff: content/browser/renderer_host/media/video_capture_host.h

Issue 10391065: handle the case when device is closed before media pipeline is fully initialized. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 years, 7 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
Index: content/browser/renderer_host/media/video_capture_host.h
===================================================================
--- content/browser/renderer_host/media/video_capture_host.h (revision 137680)
+++ content/browser/renderer_host/media/video_capture_host.h (working copy)
@@ -78,6 +78,7 @@
int width,
int height,
int frame_per_second) OVERRIDE;
+ virtual void OnPaused(const VideoCaptureControllerID& id) OVERRIDE;
virtual void OnReadyToDelete(const VideoCaptureControllerID& id) OVERRIDE;
private:
@@ -137,6 +138,8 @@
// Handle error coming from VideoCaptureDevice.
void DoHandleError(int device_id);
+ void DoPaused(int device_id);
+
// Helpers.
media_stream::VideoCaptureManager* GetVideoCaptureManager();

Powered by Google App Engine
This is Rietveld 408576698