diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-07 00:48:53 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-07 00:48:53 +0000 |
commit | 557d842f64c7a8e33c0fceaf564506917b4a10b8 (patch) | |
tree | ba41963705b9c9e13fa3d0a399bf258b6574234d /chrome/browser/about_flags.cc | |
parent | b3c8a1553bdd636deb2f390bd2fed2ba9f537097 (diff) | |
download | chromium_src-557d842f64c7a8e33c0fceaf564506917b4a10b8.zip chromium_src-557d842f64c7a8e33c0fceaf564506917b4a10b8.tar.gz chromium_src-557d842f64c7a8e33c0fceaf564506917b4a10b8.tar.bz2 |
Completely disable about:flags
This is an attempt to improve stability on the m14 branch. I will revert this CL right after merging it to m14.
BUG=95592
TEST=Go to about:flags and chrome://flags. Nothing should be there.
Go to about:version, no --begin-flags and --end-flags should be there.
Review URL: http://codereview.chromium.org/7837006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99883 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/about_flags.cc')
-rw-r--r-- | chrome/browser/about_flags.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc index 93d9358..286c72a 100644 --- a/chrome/browser/about_flags.cc +++ b/chrome/browser/about_flags.cc @@ -697,7 +697,10 @@ void FlagsState::ConvertFlagsToSwitches( } } +// TODO(thakis): Reenable. +#if 0 command_line->AppendSwitch(switches::kFlagSwitchesBegin); +#endif flags_switches_.insert( std::pair<std::string, std::string>(switches::kFlagSwitchesBegin, std::string())); @@ -715,11 +718,17 @@ void FlagsState::ConvertFlagsToSwitches( const std::pair<std::string, std::string>& switch_and_value_pair = name_to_switch_it->second; +// TODO(thakis): Reenable. +#if 0 command_line->AppendSwitchASCII(switch_and_value_pair.first, switch_and_value_pair.second); +#endif flags_switches_[switch_and_value_pair.first] = switch_and_value_pair.second; } +// TODO(thakis): Reenable. +#if 0 command_line->AppendSwitch(switches::kFlagSwitchesEnd); +#endif flags_switches_.insert( std::pair<std::string, std::string>(switches::kFlagSwitchesEnd, std::string())); |