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

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

Issue 2793993002: [subresource_filter] Replace KMP by std::search. (Closed)
Patch Set: Fix tests. 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_utils.h
diff --git a/components/subresource_filter/core/common/test_ruleset_utils.h b/components/subresource_filter/core/common/test_ruleset_utils.h
index ef7086502eafe1405b44af188eaf147ea0f3fcae..d47b9b5beb7b3c7bbc1a9cdac23f85ce63eac7ac 100644
--- a/components/subresource_filter/core/common/test_ruleset_utils.h
+++ b/components/subresource_filter/core/common/test_ruleset_utils.h
@@ -15,6 +15,9 @@
namespace subresource_filter {
namespace testing {
+proto::UrlRule CreateUrlRule(base::StringPiece pattern,
Charlie Harrison 2017/04/04 13:58:26 This might need some documentation that it doesn't
pkalinnikov 2017/04/04 16:42:59 Done.
+ proto::UrlPatternType pattern_type);
+
proto::UrlRule CreateSuffixRule(base::StringPiece suffix);
proto::UrlRule CreateWhitelistRuleForDocument(

Powered by Google App Engine
This is Rietveld 408576698