SafeBrowsing for network service: add support in android webView

Desktop / Chromium - Yuzhu Shen [chromium.org] - 9 August 2017 02:03 EDT

This change moves most of AwSafeBrowsingResourceThrottle contents into AwUrlCheckerDelegateImpl, so that it could be shared between the old/new code path.

Bug=715673

Change-Id: I3bff2bf3d0373462a6817622242bb6cc3ca0a6f0 Reviewed-on: https://chromium-review.googlesource.com/568405 Commit-Queue: Yuzhu Shen

7a6f47e SafeBrowsing for network service: add support in android webView.
android_webview/BUILD.gn | 4 +-
.../browser/aw_browser_manifest_overlay.json | 7 +
.../browser/aw_content_browser_client.cc | 53 +++++++
.../browser/aw_content_browser_client.h | 17 +++
.../browser/aw_contents_client_bridge.cc | 2 +-
.../browser/aw_contents_client_bridge.h | 16 +--
.../browser/aw_safe_browsing_resource_throttle.cc | 110 ++++-----------
.../browser/aw_safe_browsing_resource_throttle.h | 30 +---
.../browser/aw_url_checker_delegate_impl.cc | 154 +++++++++++++++++++++
.../browser/aw_url_checker_delegate_impl.h | 80 +++++++++++
.../browser/net/aw_web_resource_request.cc | 35 ++++-
.../browser/net/aw_web_resource_request.h | 8 ++
.../renderer/aw_content_renderer_client.cc | 18 +++
.../renderer/aw_content_renderer_client.h | 6 +
components/safe_browsing/base_resource_throttle.cc | 25 ----
components/safe_browsing/base_resource_throttle.h | 9 +-
16 files changed, 421 insertions(+), 153 deletions(-)

Upstream: git.chromium.org


  • Share