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

Unified Diff: chrome/browser/about_flags.cc

Issue 7837006: Completely disable about:flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests pass Created 9 years, 3 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 | « no previous file | chrome/browser/about_flags_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 631bf52ac0d94411dfcfc12cc8f42983067e6aa4..f37f93cee5fd2a72aac39f581e106d85267e56ca 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -704,7 +704,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()));
@@ -722,11 +725,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()));
« no previous file with comments | « no previous file | chrome/browser/about_flags_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698