forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check subresource filter through the new GMSCore Safe Browsing API
The SUBRESOURCE_FILTER threat type is replaced with ABUSIVE_EXPERIENCE_VIOLATION and BETTER_ADS_VIOLATION in http://cl/585940542. Update SafeBrowsingJavaThreatType to reflect this change. Note that the old SafeBrowsingJavaThreatType::SUBRESOURCE_FILTER was never sent to or from the new API. Also start to consume the threat attribute from the API to set the subresource_filter_match field in ThreatMetadata. This is required to support subresource filter checks through the new API. Add a feature flag SafeBrowsingNewGmsApiForSubresourceFilterCheck to control this feature. The flag is disabled by default. Bug: 1496508 Change-Id: I08fbcf31d3bbc8abc912553884319854969a4122 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5079692 Reviewed-by: thefrog <[email protected]> Commit-Queue: Xinghui Lu <[email protected]> Cr-Commit-Position: refs/heads/main@{#1235217}
- Loading branch information
Xinghui Lu
authored and
Chromium LUCI CQ
committed
Dec 8, 2023
1 parent
b8ed5b5
commit e2b6d0b
Showing
8 changed files
with
278 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.