Index: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc |
diff --git a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc |
index ab5ca80da4348a89bc77424290bfcc1f1d0548e9..f0814ac825997bb7399932ea8356de2297d3c247 100644 |
--- a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc |
+++ b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc |
@@ -904,12 +904,11 @@ IN_PROC_BROWSER_TEST_F(SafeBrowsingServiceTest, MainFrameHitWithReferrer) { |
} |
IN_PROC_BROWSER_TEST_F(SafeBrowsingServiceTest, SubresourceFilterEndToEndTest) { |
- subresource_filter::testing::ScopedSubresourceFilterFeatureToggle |
- scoped_feature_toggle( |
- base::FeatureList::OVERRIDE_ENABLE_FEATURE, |
- subresource_filter::kActivationLevelEnabled, |
- subresource_filter::kActivationScopeActivationList, |
- subresource_filter::kActivationListSocialEngineeringAdsInterstitial); |
+ subresource_filter::testing::ScopedSubresourceFilterConfigurator |
+ scoped_configuration(subresource_filter::Configuration( |
+ subresource_filter::ActivationLevel::ENABLED, |
Charlie Harrison
2017/04/25 19:36:21
#include activation_{scope,level,list}
engedy
2017/04/25 20:13:24
Done.
|
+ subresource_filter::ActivationScope::ACTIVATION_LIST, |
+ subresource_filter::ActivationList::SOCIAL_ENG_ADS_INTERSTITIAL)); |
subresource_filter::testing::TestRulesetCreator ruleset_creator; |
subresource_filter::testing::TestRulesetPair test_ruleset_pair; |
@@ -1977,12 +1976,11 @@ IN_PROC_BROWSER_TEST_F(V4SafeBrowsingServiceTest, MainFrameHitWithReferrer) { |
IN_PROC_BROWSER_TEST_F(V4SafeBrowsingServiceTest, |
SubresourceFilterEndToEndTest) { |
- subresource_filter::testing::ScopedSubresourceFilterFeatureToggle |
- scoped_feature_toggle( |
- base::FeatureList::OVERRIDE_ENABLE_FEATURE, |
- subresource_filter::kActivationLevelEnabled, |
- subresource_filter::kActivationScopeActivationList, |
- subresource_filter::kActivationListSocialEngineeringAdsInterstitial); |
+ subresource_filter::testing::ScopedSubresourceFilterConfigurator |
+ scoped_configuration(subresource_filter::Configuration( |
+ subresource_filter::ActivationLevel::ENABLED, |
+ subresource_filter::ActivationScope::ACTIVATION_LIST, |
+ subresource_filter::ActivationList::SOCIAL_ENG_ADS_INTERSTITIAL)); |
subresource_filter::testing::TestRulesetCreator ruleset_creator; |
subresource_filter::testing::TestRulesetPair test_ruleset_pair; |