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

Unified Diff: components/subresource_filter/core/common/test_ruleset_creator.h

Issue 2793993002: [subresource_filter] Replace KMP by std::search. (Closed)
Patch Set: Fix DCHECK. 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/common/test_ruleset_creator.h
diff --git a/components/subresource_filter/core/common/test_ruleset_creator.h b/components/subresource_filter/core/common/test_ruleset_creator.h
index 9ff0b53e2eeb6fada4f806afede6584c68d0d694..88338f609222c19f584d11742be7ca4ebfd726ad 100644
--- a/components/subresource_filter/core/common/test_ruleset_creator.h
+++ b/components/subresource_filter/core/common/test_ruleset_creator.h
@@ -85,6 +85,8 @@ class TestRulesetCreator {
void CreateRulesetWithRules(const std::vector<proto::UrlRule>& rules,
TestRulesetPair* test_ruleset_pair);
+ void CreateUnindexedRulesetWithRules(const std::vector<proto::UrlRule>& rules,
+ TestRuleset* test_unindexed_ruleset);
// Returns a unique |path| that is valid for the lifetime of this instance.
// No file at |path| will be automatically created.

Powered by Google App Engine
This is Rietveld 408576698