Chromium Code Reviews
DescriptionImplementation of a Matching strategy for URLs in the Declarative WebRequest API.
The Declarative WebRequest API needs to be able to match each outgoing
URLRequest against a large set of rules. This CL lays the foundation for this.
URLRequests can be matched using various criteria (e.g. "hostname ends in
foobar.com", or "URL contains 'secret'", or both). In order to match many of
these patterns very quickly we want to rely on the Aho-Corasick algorithm.
This CL is one step before the A.-C. algorithm: It implements the reduction of
URL Pattern matches to that of Substring matches. The SubstringSetMatcher is
implemented trivially and will be replaced with a A.-C. implementation in a
second CL.
BUG=112155
TEST=no
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122503
Patch Set 1 #
Total comments: 38
Patch Set 2 : Addressed specific feedback, no refactoring, yet #Patch Set 3 : Refactored for memory improvements #
Total comments: 9
Patch Set 4 : Cleanup #
Total comments: 12
Patch Set 5 : Pacify clang and MSVC #
Total comments: 3
Patch Set 6 : Addressed comments, more fixes for MSVC and clang #Patch Set 7 : MSVC does not support EXPECT_NE on iterators #Messages
Total messages: 14 (0 generated)
|