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

Unified Diff: components/flags_ui/flags_state.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 | « chrome/browser/chrome_browser_main.cc ('k') | components/flags_ui/flags_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/flags_ui/flags_state.h
diff --git a/components/flags_ui/flags_state.h b/components/flags_ui/flags_state.h
index 6f0ff1f87c865a5ddaa587a9c2d7c10ac50613ff..2be899cc05e89824fab6a31d6cce6ce228010e48 100644
--- a/components/flags_ui/flags_state.h
+++ b/components/flags_ui/flags_state.h
@@ -16,6 +16,7 @@
#include "base/macros.h"
namespace base {
+class FeatureList;
class ListValue;
}
@@ -80,9 +81,12 @@ class FlagsState {
void ResetAllFlags(FlagsStorage* flags_storage);
void Reset();
- // Registers variations parameter values stored in |flags_storage| (previously
- // selected in about:flags).
- void RegisterAllFeatureVariationParameters(FlagsStorage* flags_storage);
+ // 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(FlagsStorage* flags_storage,
+ base::FeatureList* feature_list);
// Gets the list of feature entries. Entries that are available for the
// current platform are appended to |supported_entries|; all other entries are
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | components/flags_ui/flags_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698