DescriptionFramework for indexing of subresource filtering rules.
Make the RulesetService capable of receiving and indexing Safe Browsing
subresource filtering rules coming in through the component updater. The wire
format is still TBD, but for now consists of a single rule.
Also, change the directory structure so that both indexed and unindexed rules
are stored under a BASE directory at "$USER_DATA_DIR/Subresource Filter/".
Unindexed rules are now stored under "$BASE/Unindexed Rules/$CONTENT_VERSION/";
and indexed rules under "$BASE/Indexed Rules/$FORMAT_VERSION/$CONTENT_VERSION",
instead of "$BASE/$FORMAT_VERSION_$CONTENT_VERSION".
Furthermore, refactor TestRulesetCreator to facilitate testing by supplying
both the indexed/unindexed representation of the testing rules, and making them
available as files, file paths or blobs.
BUG=609747
Committed: https://crrev.com/6cfa34f00f9631c99f8540188e9a5aab7502eebe
Cr-Commit-Position: refs/heads/master@{#408615}
Patch Set 1 : Cleaned up CL for review. #Patch Set 2 : Cleaned up CL for review. #Patch Set 3 : Fix GN deps. #
Total comments: 23
Patch Set 4 : Addressed comments from pkalinnikov@, attempt #1 to fix tests on Win. #Patch Set 5 : Rebase. #
Total comments: 9
Patch Set 6 : Addressed comments from thestig@ and waffles@. #Patch Set 7 : Attempt #2 to fix tests on Windows. #Messages
Total messages: 41 (26 generated)
|