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

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

Issue 10537057: refactor VideoCaptureHost and VideoCaptureController. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_controller.h
===================================================================
--- content/browser/renderer_host/media/video_capture_controller.h (revision 141042)
+++ content/browser/renderer_host/media/video_capture_controller.h (working copy)
@@ -51,13 +51,10 @@
const media::VideoCaptureParams& params);
// Stop video capture.
- // When the capture is stopped and all DIBs have been returned,
- // VideoCaptureControllerEventHandler::OnReadyToDelete will be called.
- // |force_buffer_return| allows controller to take back all buffers used
- // by |event_handler|.
+ // This will take back all buffers held by by |event_handler|, and
+ // |event_handler| shouldn't use those buffers any more.
void StopCapture(const VideoCaptureControllerID& id,
- VideoCaptureControllerEventHandler* event_handler,
- bool force_buffer_return);
+ VideoCaptureControllerEventHandler* event_handler);
// API called directly by VideoCaptureManager in case the device is
// prematurely closed.
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698