Check SafeSearch API in PolicyBlacklistNavigationThrottle
When the SafeSitesFilterBehavior policy is enabled, filter top-level HTTP[S] navigations using Google's SafeSearch API (porn classifier). The SafeSites check is skipped if the URL is blacklisted or whitelisted by policy. This check is added to the existing PolicyBlacklistNavigationThrottle instead of creating a standalone navigation throttle because it depends on the blacklist/whitelist check that's already there, and conceptually serves a similar purpose (determining if a URL should be blocked by policy). Bug: 819405 Change-Id: Ica243fdbf44b06a2fc4148fb68f47a11d9b79a6b Reviewed-on: https://chromium-review.googlesource.com/1119102 Commit-Queue: Michael Giuffrida <michaelpg@chromium.org> Reviewed-by:Ramin Halavati <rhalavati@chromium.org> Reviewed-by:
Julian Pastarmov <pastarmovj@chromium.org> Reviewed-by:
Marc Treib <treib@chromium.org> Reviewed-by:
Jochen Eisinger <jochen@chromium.org> Cr-Commit-Position: refs/heads/master@{#584681}
Showing
This diff is collapsed.
Please register or sign in to comment