Index: components/flags_ui/flags_state.h |
diff --git a/components/flags_ui/flags_state.h b/components/flags_ui/flags_state.h |
index c7e59be415327483de82f9054c9cc35368934b1f..17b3b99c5320c2f56232b3130983c3db7cbd55aa 100644 |
--- a/components/flags_ui/flags_state.h |
+++ b/components/flags_ui/flags_state.h |
@@ -74,11 +74,16 @@ class FlagsState { |
const char* enable_features_flag_name, |
const char* disable_features_flag_name); |
- // Reads the state from |flags_storage| and returns the set of command line |
- // flags that correspond to enabled entries. Does not populate any information |
- // about entries that enable/disable base::Feature states. |
+ // Reads the state from |flags_storage| and returns a set of strings |
+ // corresponding to enabled entries. Does not populate any information about |
+ // entries that enable/disable base::Feature states. |
std::set<std::string> GetSwitchesFromFlags(FlagsStorage* flags_storage); |
+ // Reads the state from |flags_storage| and returns a set of strings |
+ // corresponding to enabled/disabled base::Feature states. Feature names are |
+ // suffixed with ":enabled" or ":disabled" depending on their state. |
+ std::set<std::string> GetFeaturesFromFlags(FlagsStorage* flags_storage); |
+ |
bool IsRestartNeededToCommitChanges(); |
void SetFeatureEntryEnabled(FlagsStorage* flags_storage, |
const std::string& internal_name, |