DescriptionConsolidate some about_flags code into FlagsState class.
This moves the previously file-global variables g_entries and
g_num_entries into the FlagsState class as member variables and
renames them. Also changes a few free-standing functions that use
those variables to be member functions on the FlagsState class.
This refactoring paves way for extracting the FlagsState class into its
own file that can be more easily componentized, which can be done in
a later CL. My other planned change is to expand the functionality in
this class to integrate with base::FeatureList and this refactoring makes
the CL for that easier to review.
BUG=544158
Committed: https://crrev.com/91931d560ef0b15847f12613d50ac97aa1877056
Cr-Commit-Position: refs/heads/master@{#354544}
Patch Set 1 : #
Messages
Total messages: 10 (3 generated)
|