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

Unified Diff: content/renderer/media/video_capture_impl_manager.h

Issue 14175015: Allow VideoCaptureImpl to suspend/resume frame delivery to its client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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/renderer/media/video_capture_impl_manager.h
===================================================================
--- content/renderer/media/video_capture_impl_manager.h (revision 193973)
+++ content/renderer/media/video_capture_impl_manager.h (working copy)
@@ -42,6 +42,10 @@
virtual void RemoveDevice(media::VideoCaptureSessionId id,
media::VideoCapture::EventHandler* handler);
+ // Make all existing VideoCaptureImpl instances stop/resume delivering
+ // video frames to their clients, depends on flag |suspend|.
+ virtual void SuspendDevices(bool suspend);
+
VideoCaptureMessageFilter* video_capture_message_filter() const {
return filter_;
}

Powered by Google App Engine
This is Rietveld 408576698