Adds a flag to identify whether a document is an ad subframe.
This CL adds a flag to SubresourceFilter which is currently set based on the subresource filter rule set matching. Subsequently this will also be set when the initiator of this frame is an ad resource even if this does not match the subresource filter ruleset. Note that the matching already takes place in the browser process and this flag is set at commit time when the browser process communicates the status of matching to the renderer process. Note that this will work for both browser initiated and renderer initiated subframes (in PlzNavigate) as is currently the case with subresource filter matching. BUG: 807640 Change-Id: If883be8209a7756c6024c1c9eda1a8d081f815a1 Reviewed-on: https://chromium-review.googlesource.com/868261 Commit-Queue: Shivani Sharma <shivanisha@chromium.org> Reviewed-by:Robert Sesek <rsesek@chromium.org> Reviewed-by:
Nate Chapin <japhet@chromium.org> Reviewed-by:
Josh Karlin <jkarlin@chromium.org> Reviewed-by:
Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#533294}
Showing
Please register or sign in to comment