summaryrefslogtreecommitdiffstats
path: root/content/test/content_test_launcher.cc
diff options
context:
space:
mode:
authorphoglund@chromium.org <phoglund@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-24 06:14:34 +0000
committerphoglund@chromium.org <phoglund@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-24 06:14:34 +0000
commit50634eb2cd3209ef845d04f6870c4d7e30b637ff (patch)
tree91c36b2bde4bab2d3777a0b62a0ffbf2109c8847 /content/test/content_test_launcher.cc
parentc54f81bbe9dd135c17ec83734a4e8def1e385c44 (diff)
downloadchromium_src-50634eb2cd3209ef845d04f6870c4d7e30b637ff.zip
chromium_src-50634eb2cd3209ef845d04f6870c4d7e30b637ff.tar.gz
chromium_src-50634eb2cd3209ef845d04f6870c4d7e30b637ff.tar.bz2
Split --use-fake-device-for-media-stream into two switches.
There will now be one for using fake devices and one for bypassing the UI. The reason is that we want to be able to write browser tests which can run on VMs and yet test the infobar. BUG=None Review URL: https://chromiumcodereview.appspot.com/17338005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/content_test_launcher.cc')
-rw-r--r--content/test/content_test_launcher.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/test/content_test_launcher.cc b/content/test/content_test_launcher.cc
index 4c42557..4077d1a 100644
--- a/content/test/content_test_launcher.cc
+++ b/content/test/content_test_launcher.cc
@@ -111,6 +111,7 @@ class ContentTestLauncherDelegate : public TestLauncherDelegate {
command_line->AppendSwitchPath(switches::kContentShellDataPath,
temp_data_dir);
command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream);
+ command_line->AppendSwitch(switches::kUseFakeUIForMediaStream);
return true;
}