| Index: base/feature_list.cc
|
| diff --git a/base/feature_list.cc b/base/feature_list.cc
|
| index 2acd2900dca1e1a85d725b02556d24d99816a584..38cdf57c139ff5812ae3063e6e5e74f140750322 100644
|
| --- a/base/feature_list.cc
|
| +++ b/base/feature_list.cc
|
| @@ -20,11 +20,6 @@ namespace {
|
| // have more control over initialization timing. Leaky.
|
| FeatureList* g_instance = nullptr;
|
|
|
| -// Splits a comma-separated string containing feature names into a vector.
|
| -std::vector<std::string> SplitFeatureListString(const std::string& input) {
|
| - return SplitString(input, ",", TRIM_WHITESPACE, SPLIT_WANT_NONEMPTY);
|
| -}
|
| -
|
| } // namespace
|
|
|
| FeatureList::FeatureList() : initialized_(false) {}
|
| @@ -94,6 +89,12 @@ bool FeatureList::IsEnabled(const Feature& feature) {
|
| }
|
|
|
| // static
|
| +std::vector<std::string> FeatureList::SplitFeatureListString(
|
| + const std::string& input) {
|
| + return SplitString(input, ",", TRIM_WHITESPACE, SPLIT_WANT_NONEMPTY);
|
| +}
|
| +
|
| +// static
|
| FeatureList* FeatureList::GetInstance() {
|
| return g_instance;
|
| }
|
|
|