| Index: base/test/scoped_feature_list.h
|
| diff --git a/base/test/scoped_feature_list.h b/base/test/scoped_feature_list.h
|
| index 99e07f5374a96bf9668e9805da592cc9cd4e5805..ccca5736875010acd2c3ebcc1312d35b65d13fe8 100644
|
| --- a/base/test/scoped_feature_list.h
|
| +++ b/base/test/scoped_feature_list.h
|
| @@ -47,6 +47,13 @@ class ScopedFeatureList final {
|
| // feature.
|
| void InitAndDisableFeature(const base::Feature& feature);
|
|
|
| + // Initializes and registers a FeatureList instance with
|
| + // override_enabled_features and override_disabled_features overrides
|
| + // current feature_list.
|
| + void InitWithFeatureListAndOverrides(
|
| + const std::vector<std::string>& override_enabled_features,
|
| + const std::vector<std::string>& override_disabled_features);
|
| +
|
| private:
|
| std::unique_ptr<FeatureList> original_feature_list_;
|
|
|
|
|