summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorwjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 23:44:59 +0000
committerwjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 23:44:59 +0000
commit7082fb94c43096c1967291e672d3ddb690fecac3 (patch)
treedf8b888401e564665ec114640674e73836489b2c /chrome_frame
parent1266ba494530a267ec8a21442ea1b5cae94da4fb (diff)
downloadchromium_src-7082fb94c43096c1967291e672d3ddb690fecac3.zip
chromium_src-7082fb94c43096c1967291e672d3ddb690fecac3.tar.gz
chromium_src-7082fb94c43096c1967291e672d3ddb690fecac3.tar.bz2
reland http://codereview.chromium.org/10379003/
enable media stream by default. BUG=124790 TEST=local preview works without --enable-media-stream and remote view won't show without --enable-peer-connection. Review URL: https://chromiumcodereview.appspot.com/10391157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137557 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/test/policy_settings_unittest.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome_frame/test/policy_settings_unittest.cc b/chrome_frame/test/policy_settings_unittest.cc
index 82a1598..8b6e03a 100644
--- a/chrome_frame/test/policy_settings_unittest.cc
+++ b/chrome_frame/test/policy_settings_unittest.cc
@@ -225,8 +225,6 @@ TEST_F(PolicySettingsTest, AdditionalLaunchParameters) {
AdditionalLaunchParameters().GetProgram().empty());
std::string test_switches("--");
- test_switches += switches::kEnableMediaStream;
- test_switches += " --";
test_switches += switches::kEnableMediaSource;
HKEY root[] = { HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER };
@@ -236,14 +234,12 @@ TEST_F(PolicySettingsTest, AdditionalLaunchParameters) {
ResetPolicySettings();
const CommandLine& additional_params =
PolicySettings::GetInstance()->AdditionalLaunchParameters();
- EXPECT_TRUE(additional_params.HasSwitch(switches::kEnableMediaStream));
EXPECT_TRUE(additional_params.HasSwitch(switches::kEnableMediaSource));
FilePath program_path(FILE_PATH_LITERAL("my_chrome.exe"));
CommandLine new_cmd_line(program_path);
new_cmd_line.AppendArguments(additional_params, false);
EXPECT_NE(new_cmd_line.GetProgram(), additional_params.GetProgram());
- EXPECT_TRUE(new_cmd_line.HasSwitch(switches::kEnableMediaStream));
EXPECT_TRUE(new_cmd_line.HasSwitch(switches::kEnableMediaSource));
DeleteChromeFramePolicyEntries(root[i]);