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

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

Issue 2844063002: Add support for multiple simultaneous subresource_filter::Configurations. (Closed)
Patch Set: Minimal polish, still missing unittests for multiple simultaneous configs. Created 3 years, 8 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.h
diff --git a/components/subresource_filter/core/browser/subresource_filter_features_test_support.h b/components/subresource_filter/core/browser/subresource_filter_features_test_support.h
index dc06a78e204cce58f55c3d9c3f545490e661f365..2f120bb9ae7e6a697a859999baf796983e4de2d3 100644
--- a/components/subresource_filter/core/browser/subresource_filter_features_test_support.h
+++ b/components/subresource_filter/core/browser/subresource_filter_features_test_support.h
@@ -21,8 +21,10 @@ namespace testing {
class ScopedSubresourceFilterConfigurator {
public:
explicit ScopedSubresourceFilterConfigurator(
- scoped_refptr<ConfigurationList> configs = nullptr);
+ scoped_refptr<ConfigurationList> config_list = nullptr);
explicit ScopedSubresourceFilterConfigurator(Configuration config);
+ explicit ScopedSubresourceFilterConfigurator(
+ std::vector<Configuration> configs);
~ScopedSubresourceFilterConfigurator();
void ResetConfiguration(Configuration config);

Powered by Google App Engine
This is Rietveld 408576698