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

Unified Diff: chrome/browser/about_flags.cc

Issue 2036193002: Allow overriding variation parameter via chrome://flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor polish #3 + Adding a unittest Created 4 years, 6 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.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 85a46e06e4d42ce154f059336b6daa7d9abc72ee..9bc37dfe87312c65d50c463d1067b32195921e76 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2012,6 +2012,11 @@ void ConvertFlagsToSwitches(flags_ui::FlagsStorage* flags_storage,
switches::kDisableFeatures);
}
+void RegisterFeatureVariationParameters(flags_ui::FlagsStorage* flags_storage) {
+ FlagsStateSingleton::GetFlagsState()->RegisterFeatureVariationParameters(
+ flags_storage);
+}
+
bool AreSwitchesIdenticalToCurrentCommandLine(
const base::CommandLine& new_cmdline,
const base::CommandLine& active_cmdline,

Powered by Google App Engine
This is Rietveld 408576698