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

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

Issue 12596011: Whitelist Google Hangouts origins to access Screen Capture API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « chrome/browser/ui/screen_capture_infobar_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 837712d1bdc0f53c504e5249945f8d17877a17c0..1eaeabb71e0c808e840016a41b63d61ba53cd26e 100644
--- a/content/browser/renderer_host/media/video_capture_manager.cc
+++ b/content/browser/renderer_host/media/video_capture_manager.cc
@@ -180,8 +180,6 @@ void VideoCaptureManager::OnOpen(int capture_session_id,
case MEDIA_SCREEN_VIDEO_CAPTURE: {
#if (defined(OS_LINUX) && defined(USE_X11)) || \
defined(OS_MACOSX) || defined(OS_WIN)
- CHECK(CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableUserMediaScreenCapturing));
scoped_refptr<base::SequencedWorkerPool> blocking_pool =
BrowserThread::GetBlockingPool();
video_capture_device = new media::ScreenCaptureDevice(
« no previous file with comments | « chrome/browser/ui/screen_capture_infobar_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698