DescriptionPlumbing for safe browsing reporting for Android WebView.
Provide the necessary hooks for the reporting to work in
Android WebView. In particular
- implement AwSafeBrowsingUIManager::SendSerializedThreatDetails,
- create ping manager and url request context getter on IO/UI threads,
- create trigger_manager and expose in AwBrowserContext,
- add/create DIR_SAFE_BROWSING for storing safe browsing cookies,
- provide Android WebView specific protocol config client name (crbug.com/732373),
- move the relevant constants from safebrowsing_service to component.
TODO (in a follow-up patch):
- invoke {Start,Finish}CollectingThreatDetails() from the AwSafeBrowsingBlockingPage (crbug.com/731747)
Design doc: https://goo.gl/TfoY9K, section 3.
BUG=700351, 688629, 732373
Review-Url: https://codereview.chromium.org/2932703003
Cr-Commit-Position: refs/heads/master@{#479468}
Committed: https://chromium.googlesource.com/chromium/src/+/2ef5d746246fd46bccc0035070da7a2988c1772f
Patch Set 1 #Patch Set 2 : add TODO #
Total comments: 4
Patch Set 3 : address comment #
Total comments: 5
Patch Set 4 : add trigger_manager and crbugs #Patch Set 5 : create DIR_SAFE_BROWSING, (plus some cleanup) #
Total comments: 2
Patch Set 6 : modify client name to android_webview #Messages
Total messages: 43 (24 generated)
|