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

Issue 2167653002: Make the subresource filter support subdomain anchor matching. (Closed)

Created:
4 years, 5 months ago by pkalinnikov
Modified:
4 years, 5 months ago
Reviewers:
engedy
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the subresource filter support subdomain anchor matching. BUG=609747 Committed: https://crrev.com/854818d6eaaff10ee5273e82e517aef473eda9f1 Cr-Commit-Position: refs/heads/master@{#407135}

Patch Set 1 #

Total comments: 23

Patch Set 2 : Address comments from engedy@ #

Total comments: 6

Patch Set 3 : Address more comments from engedy@ #

Messages

Total messages: 19 (9 generated)
pkalinnikov
PTAL. https://codereview.chromium.org/2167653002/diff/1/components/subresource_filter/core/common/fuzzy_pattern_matching.cc File components/subresource_filter/core/common/fuzzy_pattern_matching.cc (right): https://codereview.chromium.org/2167653002/diff/1/components/subresource_filter/core/common/fuzzy_pattern_matching.cc#newcode27 components/subresource_filter/core/common/fuzzy_pattern_matching.cc:27: bool StartsWithFuzzy(base::StringPiece text, base::StringPiece subpattern) { Simplified these ...
4 years, 5 months ago (2016-07-20 12:32:08 UTC) #2
engedy
LGTM % comments. https://codereview.chromium.org/2167653002/diff/1/components/subresource_filter/core/common/fuzzy_pattern_matching.cc File components/subresource_filter/core/common/fuzzy_pattern_matching.cc (right): https://codereview.chromium.org/2167653002/diff/1/components/subresource_filter/core/common/fuzzy_pattern_matching.cc#newcode27 components/subresource_filter/core/common/fuzzy_pattern_matching.cc:27: bool StartsWithFuzzy(base::StringPiece text, base::StringPiece subpattern) { ...
4 years, 5 months ago (2016-07-20 15:09:40 UTC) #3
engedy
Also, I lowercased subdomain in the CL description. :-)
4 years, 5 months ago (2016-07-20 15:11:23 UTC) #5
pkalinnikov
https://codereview.chromium.org/2167653002/diff/1/components/subresource_filter/core/common/fuzzy_pattern_matching_unittest.cc File components/subresource_filter/core/common/fuzzy_pattern_matching_unittest.cc (right): https://codereview.chromium.org/2167653002/diff/1/components/subresource_filter/core/common/fuzzy_pattern_matching_unittest.cc#newcode22 components/subresource_filter/core/common/fuzzy_pattern_matching_unittest.cc:22: {"abc", "abcd", false}, /* {"abc", "abc^", true}, */ On ...
4 years, 5 months ago (2016-07-21 15:07:41 UTC) #6
engedy
LGTM % comments. https://codereview.chromium.org/2167653002/diff/1/components/subresource_filter/core/common/string_splitter.h File components/subresource_filter/core/common/string_splitter.h (right): https://codereview.chromium.org/2167653002/diff/1/components/subresource_filter/core/common/string_splitter.h#newcode70 components/subresource_filter/core/common/string_splitter.h:70: const StringSplitter* splitter_; On 2016/07/21 15:07:41, ...
4 years, 5 months ago (2016-07-22 09:09:08 UTC) #7
pkalinnikov
https://codereview.chromium.org/2167653002/diff/1/components/subresource_filter/core/common/url_pattern_matching.h File components/subresource_filter/core/common/url_pattern_matching.h (right): https://codereview.chromium.org/2167653002/diff/1/components/subresource_filter/core/common/url_pattern_matching.h#newcode85 components/subresource_filter/core/common/url_pattern_matching.h:85: const char* begin = url.spec().data() + begin_position; On 2016/07/22 ...
4 years, 5 months ago (2016-07-22 10:46:49 UTC) #10
engedy
I think this is very clean now, thank you! Still LGTM.
4 years, 5 months ago (2016-07-22 11:51:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2167653002/40001
4 years, 5 months ago (2016-07-22 11:51:46 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-22 11:55:32 UTC) #17
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 11:57:04 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/854818d6eaaff10ee5273e82e517aef473eda9f1
Cr-Commit-Position: refs/heads/master@{#407135}

Powered by Google App Engine
This is Rietveld 408576698