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

Unified Diff: chrome/browser/about_flags.h

Issue 12276012: Add reset all button to flags page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 10 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
Index: chrome/browser/about_flags.h
diff --git a/chrome/browser/about_flags.h b/chrome/browser/about_flags.h
index 047e69f72b6b9c06c3a55a5f4618959a7d6a6eff..2f840857d37b87e4c626c9ada9b7e6f020ef26fe 100644
--- a/chrome/browser/about_flags.h
+++ b/chrome/browser/about_flags.h
@@ -104,6 +104,9 @@ void SetExperimentEnabled(
void RemoveFlagsSwitches(
std::map<std::string, CommandLine::StringType>* switch_list);
+// Reset all experiments to the default state by clearing all flags.
+void ResetAllExperiments(PrefService* prefs);
+
// Returns the value for the current platform. This is one of the values defined
// by the OS enum above.
// This is exposed only for testing.

Powered by Google App Engine
This is Rietveld 408576698