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

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

Issue 2793993002: [subresource_filter] Replace KMP by std::search. (Closed)
Patch Set: Address comments from csharrison@ 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..afc7a6e4671f9c22a3cba03a79186e44a64dd1d9 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 CreateRulesetWithRules(const std::vector<proto::UrlRule>& rules,
engedy 2017/04/05 10:55:10 nit: CreateUnindexedRulesetWithRulest for consiste
pkalinnikov 2017/04/05 13:29:21 Done.
+ 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