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

Unified Diff: trunk/src/content/browser/renderer_host/media/video_capture_manager.h

Issue 84393002: Revert 236927 "Reorganize media::VideoCapture* types" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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: trunk/src/content/browser/renderer_host/media/video_capture_manager.h
===================================================================
--- trunk/src/content/browser/renderer_host/media/video_capture_manager.h (revision 236934)
+++ trunk/src/content/browser/renderer_host/media/video_capture_manager.h (working copy)
@@ -58,7 +58,7 @@
// Called by VideoCaptureHost to locate a capture device for |capture_params|,
// adding the Host as a client of the device's controller if successful. The
- // value of |session_id| controls which device is selected;
+ // value of |capture_params.session_id| controls which device is selected;
// this value should be a session id previously returned by Open().
//
// If the device is not already started (i.e., no other client is currently
@@ -68,8 +68,7 @@
// On success, the controller is returned via calling |done_cb|, indicating
// that the client was successfully added. A NULL controller is passed to
// the callback on failure.
- void StartCaptureForClient(media::VideoCaptureSessionId session_id,
- const media::VideoCaptureParams& capture_params,
+ void StartCaptureForClient(const media::VideoCaptureParams& capture_params,
base::ProcessHandle client_render_process,
VideoCaptureControllerID client_id,
VideoCaptureControllerEventHandler* client_handler,
@@ -121,7 +120,7 @@
// the device.
void DoStartDeviceOnDeviceThread(
DeviceEntry* entry,
- const media::VideoCaptureParams& params,
+ const media::VideoCaptureCapability& capture_params,
scoped_ptr<media::VideoCaptureDevice::Client> client);
// Stop and destroy the VideoCaptureDevice held in

Powered by Google App Engine
This is Rietveld 408576698