Create CanGetReputationOfUrl in safe_browsing/core/common/utils
PasswordProtectionService::CanGetReputationOfURL and RealTimeUrlLookupServiceBase::CanCheckUrl both check whether Safe Browsing backend can get a reliable reputation of a URL. Move this check to a central place. Bug: 1126130 Change-Id: Ia6f1f197024a8436cf3c116291829007f1ce4a2c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441376 Commit-Queue: Xinghui Lu <xinghuilu@chromium.org> Reviewed-by:Varun Khaneja <vakh@chromium.org> Cr-Commit-Position: refs/heads/master@{#813998}
Showing
Please register or sign in to comment