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

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

Issue 10928043: Media Related changes for TabCapture API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename REQUEST_*->MEDIA_REQUEST_* Created 8 years, 2 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_manager.cc
diff --git a/content/browser/renderer_host/media/video_capture_manager.cc b/content/browser/renderer_host/media/video_capture_manager.cc
index 8ed7a81e70164059bc3580c1a44605deb25b0800..bd1bc7e299f5179e78905090adf09dc5f6c7e8ac 100644
--- a/content/browser/renderer_host/media/video_capture_manager.cc
+++ b/content/browser/renderer_host/media/video_capture_manager.cc
@@ -173,6 +173,8 @@ void VideoCaptureManager::OnOpen(int capture_session_id,
case content::MEDIA_TAB_VIDEO_CAPTURE:
// TODO(miu): Replace this stub with the actual implementation in a
// later change.
+ // TODO(justinlin): This is so we don't get a null device. Remove later.
+ vc_device_name.unique_id = "/dev/video1";
video_capture_device =
media::FakeVideoCaptureDevice::Create(vc_device_name);
break;

Powered by Google App Engine
This is Rietveld 408576698