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

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

Issue 1477363002: Add logging of video device details on device open and close. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed VideoCaptureManagerTest.OpenNotExisting test. Created 5 years 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_manager.h
diff --git a/content/browser/renderer_host/media/video_capture_manager.h b/content/browser/renderer_host/media/video_capture_manager.h
index 7a93e4a365b92dfcba27d704cc49eda001cdfc07..7399bfe576c5b10ed48c685d82f84cbbfed2c018 100644
--- a/content/browser/renderer_host/media/video_capture_manager.h
+++ b/content/browser/renderer_host/media/video_capture_manager.h
@@ -208,10 +208,18 @@ class CONTENT_EXPORT VideoCaptureManager : public MediaStreamProvider {
// VideoCaptureDevice is returned to the IO-thread and stored in
// a DeviceEntry in |devices_|. Ownership of |client| passes to
// the device.
- scoped_ptr<media::VideoCaptureDevice> DoStartDeviceOnDeviceThread(
- media::VideoCaptureSessionId session_id,
+ scoped_ptr<media::VideoCaptureDevice> DoStartDeviceCaptureOnDeviceThread(
+ const media::VideoCaptureDevice::Name& name,
+ const media::VideoCaptureParams& params,
+ scoped_ptr<media::VideoCaptureDevice::Client> client);
+
+ scoped_ptr<media::VideoCaptureDevice> DoStartTabCaptureOnDeviceThread(
+ const std::string& device_id,
+ const media::VideoCaptureParams& params,
+ scoped_ptr<media::VideoCaptureDevice::Client> client);
+
+ scoped_ptr<media::VideoCaptureDevice> DoStartDesktopCaptureOnDeviceThread(
const std::string& device_id,
- MediaStreamType stream_type,
const media::VideoCaptureParams& params,
scoped_ptr<media::VideoCaptureDevice::Client> client);

Powered by Google App Engine
This is Rietveld 408576698