[subresource_filter] Remove "pass-through" mode on throttle
This CL makes sure the safe browsing throttle always has a database manager that can make checks. For the (extremely rare) case where the manager is not supported on the platform, checks are completely synchronously as SAFE. A follow-up will remove DatabaseManager::CanCheckSubresourceFilter from safe browsing internals (resolving the TODO here). This CL changes when a throttle can be created, since we won't create one unless there is a SafeBrowsing service. Most platforms should have one though. TBR=jkarlin@chromium.org Change-Id: Ic4c2d174af8980d088507976ff903ee0bf9dff16 Reviewed-on: https://chromium-review.googlesource.com/1067152 Commit-Queue: Charlie Harrison <csharrison@chromium.org> Reviewed-by:Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#560259}
Showing
Please register or sign in to comment