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

Unified Diff: extensions/shell/browser/shell_extension_host_delegate.cc

Issue 514463002: app_shell: Allow getUserMedia to select a capture device by id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « extensions/shell/browser/shell_app_window.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_extension_host_delegate.cc
diff --git a/extensions/shell/browser/shell_extension_host_delegate.cc b/extensions/shell/browser/shell_extension_host_delegate.cc
index 02a743b5ce2846836f00b61914106e0bdb18f4e1..0053c64f0f43a02a5a0751cdcc774967f9d3dfc9 100644
--- a/extensions/shell/browser/shell_extension_host_delegate.cc
+++ b/extensions/shell/browser/shell_extension_host_delegate.cc
@@ -47,8 +47,8 @@ void ShellExtensionHostDelegate::ProcessMediaAccessRequest(
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback,
const Extension* extension) {
- // Allow access to the first microphone and/or camera.
- media_capture_util::GrantMediaStreamRequestWithFirstDevice(
+ // Allow access to the microphone and/or camera.
+ media_capture_util::GrantMediaStreamRequest(
web_contents, request, callback, extension);
}
« no previous file with comments | « extensions/shell/browser/shell_app_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698