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 |