diff options
author | phoglund@chromium.org <phoglund@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-24 06:14:34 +0000 |
---|---|---|
committer | phoglund@chromium.org <phoglund@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-24 06:14:34 +0000 |
commit | 50634eb2cd3209ef845d04f6870c4d7e30b637ff (patch) | |
tree | 91c36b2bde4bab2d3777a0b62a0ffbf2109c8847 /content/shell | |
parent | c54f81bbe9dd135c17ec83734a4e8def1e385c44 (diff) | |
download | chromium_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/shell')
-rw-r--r-- | content/shell/android/browsertests_apk/content_browser_tests_android.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/shell/android/browsertests_apk/content_browser_tests_android.cc b/content/shell/android/browsertests_apk/content_browser_tests_android.cc index b923538..b9792dc 100644 --- a/content/shell/android/browsertests_apk/content_browser_tests_android.cc +++ b/content/shell/android/browsertests_apk/content_browser_tests_android.cc @@ -77,6 +77,7 @@ static void RunTests(JNIEnv* env, // Append required switches. command_line->AppendSwitch(content::kSingleProcessTestsFlag); command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream); + command_line->AppendSwitch(switches::kUseFakeUIForMediaStream); // Specify a socket name to not conflict with the default one used // in content_shell. command_line->AppendSwitchASCII(switches::kRemoteDebuggingSocketName, |