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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2436113002: Introduce MediaDevicesPermissionChecker. (Closed)
Patch Set: address xhwang's comments Created 4 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/media/media_devices_permission_checker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index e1348926806a53de700ac03507303cbefb966e30..e5a3334d61305c9a4e800c93664df03435881895 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2271,9 +2271,7 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
->GetBrowserContext()
->GetResourceContext()
->GetMediaDeviceIDSalt(),
- base::Unretained(media_stream_manager),
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kUseFakeUIForMediaStream)),
+ base::Unretained(media_stream_manager)),
BrowserThread::GetTaskRunnerForThread(BrowserThread::IO));
}
#endif
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/media/media_devices_permission_checker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698