| Index: components/subresource_filter/core/browser/subresource_filter_features_test_support.cc
|
| diff --git a/components/subresource_filter/core/browser/subresource_filter_features_test_support.cc b/components/subresource_filter/core/browser/subresource_filter_features_test_support.cc
|
| index 997732630691b77f01a1b0193260f5ca3307ea89..38cd2185eedb24601c9f80e77a43af057b7c26a0 100644
|
| --- a/components/subresource_filter/core/browser/subresource_filter_features_test_support.cc
|
| +++ b/components/subresource_filter/core/browser/subresource_filter_features_test_support.cc
|
| @@ -23,12 +23,23 @@ const char kTestExperimentGroupName[] = "GroupNameShouldNotMatter";
|
| ScopedSubresourceFilterFeatureToggle::ScopedSubresourceFilterFeatureToggle(
|
| base::FeatureList::OverrideState feature_state,
|
| const std::string& maximum_activation_state,
|
| - const std::string& activation_scope) {
|
| + const std::string& activation_scope)
|
| + : ScopedSubresourceFilterFeatureToggle(feature_state,
|
| + maximum_activation_state,
|
| + activation_scope,
|
| + std::string()) {}
|
| +
|
| +ScopedSubresourceFilterFeatureToggle::ScopedSubresourceFilterFeatureToggle(
|
| + base::FeatureList::OverrideState feature_state,
|
| + const std::string& maximum_activation_state,
|
| + const std::string& activation_scope,
|
| + const std::string& activation_lists) {
|
| variations::testing::ClearAllVariationParams();
|
|
|
| std::map<std::string, std::string> variation_params;
|
| variation_params[kActivationStateParameterName] = maximum_activation_state;
|
| variation_params[kActivationScopeParameterName] = activation_scope;
|
| + variation_params[kActivationListsParameterName] = activation_lists;
|
| EXPECT_TRUE(variations::AssociateVariationParams(
|
| kTestFieldTrialName, kTestExperimentGroupName, variation_params));
|
|
|
|
|