Chromium Code Reviews
DescriptionDistinguish between subresource filtering and dryrun matching.
In order to report page load metrics for an experiment and control population,
we need to track page load metrics for affected pages both in cases where
filtering is active, and where filtering is in dry run mode.
To do this, we extend WebDocumentSubresourceFilter to report not only whether
filtering applied, but also whether it would have been appllied in cases where
we are in dry run mode.
While we're changing the WebDocumentSubresourceFilter API, we address the
related issue of not displaying the subresource filtering UI for filtered
preloads. This is accomplished by providing separate APIs to get the filtering
policy for a resource (a pure policy URL) vs an API to report that a resource
loaded by the document was filtered.
BUG=689047, 689049
Review-Url: https://codereview.chromium.org/2677223002
Cr-Commit-Position: refs/heads/master@{#448719}
Committed: https://chromium.googlesource.com/chromium/src/+/f3455dace4afe149e6bb4d68acb4d4a6f5e2134a
Patch Set 1 #
Total comments: 6
Patch Set 2 : address comments #
Total comments: 2
Patch Set 3 : address comments #Patch Set 4 : rebase #Patch Set 5 : rebase #Patch Set 6 : rebase #Patch Set 7 : rebase #Messages
Total messages: 58 (41 generated)
|