Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Unified Diff: components/subresource_filter/core/browser/subresource_filter_features_test_support.cc

Issue 2667303003: Disable subresource filtering on page reloads. (Closed)
Patch Set: move ui/base to public_deps Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 adcf692a96042a9f04f3423d003a5ceccae8acaa..47ef01ab3035e1008fae713d7fd2a26bf117b4ff 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
@@ -26,7 +26,8 @@ ScopedSubresourceFilterFeatureToggle::ScopedSubresourceFilterFeatureToggle(
const std::string& activation_scope,
const std::string& activation_lists,
const std::string& performance_measurement_rate,
- const std::string& suppress_notifications)
+ const std::string& suppress_notifications,
+ const std::string& whitelist_site_on_reload)
: ScopedSubresourceFilterFeatureToggle(
feature_state,
{{kActivationLevelParameterName, maximum_activation_level},
@@ -34,7 +35,8 @@ ScopedSubresourceFilterFeatureToggle::ScopedSubresourceFilterFeatureToggle(
{kActivationListsParameterName, activation_lists},
{kPerformanceMeasurementRateParameterName,
performance_measurement_rate},
- {kSuppressNotificationsParameterName, suppress_notifications}}) {}
+ {kSuppressNotificationsParameterName, suppress_notifications},
+ {kWhitelistSiteOnReloadParameterName, whitelist_site_on_reload}}) {}
ScopedSubresourceFilterFeatureToggle::ScopedSubresourceFilterFeatureToggle(
base::FeatureList::OverrideState feature_state,

Powered by Google App Engine
This is Rietveld 408576698