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

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

Issue 10912004: Begin adding support for tab mirroring via the MediaStream audio/video capturing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed MEDIA_USER_*_CAPTURE to MEDIA_*_DEVICE_CAPTURE, as suggested by wjia@. Created 8 years, 3 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_controller_unittest.cc
diff --git a/content/browser/renderer_host/media/video_capture_controller_unittest.cc b/content/browser/renderer_host/media/video_capture_controller_unittest.cc
index 449d4c457cabe63a251a657a68a4db7929961b41..99762634ad92d68e2cd379865e6d2048f9b8364c 100644
--- a/content/browser/renderer_host/media/video_capture_controller_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_controller_unittest.cc
@@ -101,7 +101,8 @@ class MockVideoCaptureManager
: public media_stream::VideoCaptureManager {
public:
MockVideoCaptureManager()
- : video_session_id_(kStartOpenSessionId) {}
+ : VideoCaptureManager(content::MEDIA_VIDEO_DEVICE_CAPTURE),
no longer working on chromium 2012/09/05 14:19:41 why do we create a VideoCaptureManager here?
miu 2012/09/06 04:40:35 Nothing new is being created. The base class cons
+ video_session_id_(kStartOpenSessionId) {}
void Init() {
device_name_.unique_id = "/dev/video0";

Powered by Google App Engine
This is Rietveld 408576698