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

Unified Diff: components/subresource_filter/core/common/BUILD.gn

Issue 2098233002: Implement matching of URL patterns. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ruleset
Patch Set: Fix another cast warning. Created 4 years, 5 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
« no previous file with comments | « components/subresource_filter.gypi ('k') | components/subresource_filter/core/common/url_pattern.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/subresource_filter/core/common/BUILD.gn
diff --git a/components/subresource_filter/core/common/BUILD.gn b/components/subresource_filter/core/common/BUILD.gn
index d8c3659866f1596c9355b83d8009d7b441e9604d..f8e2e78796909c2695a9e0d466ccfe7df9fe097d 100644
--- a/components/subresource_filter/core/common/BUILD.gn
+++ b/components/subresource_filter/core/common/BUILD.gn
@@ -15,6 +15,10 @@ source_set("common") {
"ngram_extractor.h",
"string_splitter.h",
"uint64_hasher.h",
+ "url_pattern.cc",
+ "url_pattern.h",
+ "url_pattern_matching.cc",
+ "url_pattern_matching.h",
]
public_deps = [
@@ -24,6 +28,7 @@ source_set("common") {
deps = [
"//base",
+ "//url:url",
]
}
@@ -35,10 +40,12 @@ source_set("unit_tests") {
"knuth_morris_pratt_unittest.cc",
"ngram_extractor_unittest.cc",
"string_splitter_unittest.cc",
+ "url_pattern_matching_unittest.cc",
]
deps = [
":common",
"//base",
"//testing/gtest",
+ "//url:url",
]
}
« no previous file with comments | « components/subresource_filter.gypi ('k') | components/subresource_filter/core/common/url_pattern.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698