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

Unified Diff: extensions/browser/guest_view/app_view/app_view_apitest.cc

Issue 2696443002: Reland of Use spec-compliant algorithm to select video devices in getUserMedia. (Closed)
Patch Set: Address boliu's comments Created 3 years, 10 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/renderer/render_frame_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/guest_view/app_view/app_view_apitest.cc
diff --git a/extensions/browser/guest_view/app_view/app_view_apitest.cc b/extensions/browser/guest_view/app_view/app_view_apitest.cc
index 43f997e6f924d01b7451d6103532a2ae0d1305d1..ffa70202ff4f8f9b993d68f19eae00b6a7667b42 100644
--- a/extensions/browser/guest_view/app_view/app_view_apitest.cc
+++ b/extensions/browser/guest_view/app_view/app_view_apitest.cc
@@ -146,6 +146,10 @@ class AppViewTest : public AppShellTest,
void SetUpCommandLine(base::CommandLine* command_line) override {
AppShellTest::SetUpCommandLine(command_line);
+ // This switch ensures that there will always be at least one media device,
+ // even on machines without physical devices. This is required by tests that
+ // request permission to use media devices.
+ command_line->AppendSwitch("use-fake-device-for-media-stream");
bool use_cross_process_frames_for_guests = GetParam();
if (use_cross_process_frames_for_guests) {
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698