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

Unified Diff: chrome/browser/about_flags.h

Issue 2129543002: Registering field trial for a feature overridden in chrome://flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.h
diff --git a/chrome/browser/about_flags.h b/chrome/browser/about_flags.h
index 91917421262c8a5540eed7331aeeca32dd94bc80..b9907b8ce62cd89aede8510af6608da585afdc81 100644
--- a/chrome/browser/about_flags.h
+++ b/chrome/browser/about_flags.h
@@ -19,6 +19,7 @@
#include "components/flags_ui/flags_state.h"
namespace base {
+class FeatureList;
class ListValue;
}
@@ -34,10 +35,13 @@ void ConvertFlagsToSwitches(flags_ui::FlagsStorage* flags_storage,
base::CommandLine* command_line,
flags_ui::SentinelsMode sentinels);
-// Registers variations parameter values stored in |flags_storage| (previously
-// selected in about:flags).
+// Registers variations parameter values selected for features in about:flags.
+// The selected flags are retrieved from |flags_storage|, the registered
+// variation parameters are connected to their corresponding features in
+// |feature_list|.
void RegisterAllFeatureVariationParameters(
- flags_ui::FlagsStorage* flags_storage);
+ flags_ui::FlagsStorage* flags_storage,
+ base::FeatureList* feature_list);
// Compares a set of switches of the two provided command line objects and
// returns true if they are the same and false otherwise.
« no previous file with comments | « no previous file | chrome/browser/about_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698