forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
safe_browsing_url_checker supports Safe Browsing disabled mode.
Enterprise real time URL check should work when Safe Browsing is disabled. Currently it is not supported because GetSafeBrowsingUrlCheckerDelegate returns nullptr when Safe Browsing is disabled. In this CL, add support for this scenario. Don't return nullptr when enterprise real time URL check is enabled. Also pass in a boolean named can_check_db to safe_browsing_url_checker. If this boolean is set to false, bypass all database check and return safe. Bug: 1085261 Change-Id: If1276f762dbabccb53adb7aa29814e41fbe7b1f0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2236605 Reviewed-by: Mustafa Emre Acer <meacer@chromium.org> Reviewed-by: Varun Khaneja <vakh@chromium.org> Commit-Queue: Xinghui Lu <xinghuilu@chromium.org> Cr-Commit-Position: refs/heads/master@{#777005}
- Loading branch information
Xinghui Lu
authored and
Commit Bot
committed
Jun 10, 2020
1 parent
9ab7d09
commit cf23c90
Showing
13 changed files
with
167 additions
and
48 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
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
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.