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

Unified Diff: chrome/browser/media/media_capture_devices_dispatcher.cc

Issue 483523006: Check all settings when checking mic and camera access (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « no previous file | chrome/browser/ui/browser.h » ('j') | content/browser/frame_host/render_frame_host_delegate.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/media_capture_devices_dispatcher.cc
diff --git a/chrome/browser/media/media_capture_devices_dispatcher.cc b/chrome/browser/media/media_capture_devices_dispatcher.cc
index 42d8eb00abf77391403e414347d8fe0ac55b1579..d720b643a5e096a6b994707de3e8a0835359fe91 100644
--- a/chrome/browser/media/media_capture_devices_dispatcher.cc
+++ b/chrome/browser/media/media_capture_devices_dispatcher.cc
@@ -340,6 +340,8 @@ void MediaCaptureDevicesDispatcher::ProcessMediaAccessRequest(
const extensions::Extension* extension) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ NOTREACHED();
+
if (request.video_type == content::MEDIA_DESKTOP_VIDEO_CAPTURE ||
request.audio_type == content::MEDIA_LOOPBACK_AUDIO_CAPTURE) {
ProcessDesktopCaptureAccessRequest(
« no previous file with comments | « no previous file | chrome/browser/ui/browser.h » ('j') | content/browser/frame_host/render_frame_host_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698