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

Unified Diff: chrome/browser/about_flags.cc

Issue 7841022: Revert 99883 - Completely disable about:flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- chrome/browser/about_flags.cc (revision 99886)
+++ chrome/browser/about_flags.cc (working copy)
@@ -697,10 +697,7 @@
}
}
-// TODO(thakis): Reenable.
-#if 0
command_line->AppendSwitch(switches::kFlagSwitchesBegin);
-#endif
flags_switches_.insert(
std::pair<std::string, std::string>(switches::kFlagSwitchesBegin,
std::string()));
@@ -718,17 +715,11 @@
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