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

Unified Diff: chrome_frame/test/policy_settings_unittest.cc

Issue 10379003: enable media stream by default. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove IDS_FLAGS_MEDIA_STREAM_DESCRIPTION in grd file Created 8 years, 7 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 | « chrome/browser/about_flags.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/policy_settings_unittest.cc
===================================================================
--- chrome_frame/test/policy_settings_unittest.cc (revision 136661)
+++ chrome_frame/test/policy_settings_unittest.cc (working copy)
@@ -225,8 +225,6 @@
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 @@
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]);
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698