Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Issue 2950863002: Implement code for Start/Finish threat details collection in WebView. (Closed)

Created:
3 years, 6 months ago by timvolodine
Modified:
3 years, 5 months ago
CC:
chromium-reviews, grt+watch_chromium.org, android-webview-reviews_chromium.org, vakh+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement code for Start/Finish threat details collection in WebView. Provide calls to start/finish threat details collection in Android WebView. In particular: - implement calls to {Start,Finish}CollectThreadDetails in aw_safe_browsing_blocking_page and related code, - add crbug reference regarding HistoryService, - refactor common parts into base blocking page class. BUG=700351, 688629, 731747 Review-Url: https://codereview.chromium.org/2950863002 Cr-Commit-Position: refs/heads/master@{#483751} Committed: https://chromium.googlesource.com/chromium/src/+/840e30ceebc2e8c39657d144f2aea24db1124256

Patch Set 1 #

Patch Set 2 : fix compile #

Patch Set 3 : rebase + update Start/Finish #

Total comments: 2

Patch Set 4 : rebase + add SECURITY_INTERSTITIAL parameters #

Patch Set 5 : rebase #

Total comments: 2

Patch Set 6 : rebase #

Patch Set 7 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -17 lines) Patch
M android_webview/browser/aw_safe_browsing_blocking_page.h View 1 chunk +12 lines, -0 lines 0 comments Download
M android_webview/browser/aw_safe_browsing_blocking_page.cc View 1 2 3 4 5 6 4 chunks +45 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 1 chunk +0 lines, -10 lines 0 comments Download
M components/safe_browsing/base_blocking_page.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M components/safe_browsing/base_blocking_page.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (37 generated)
timvolodine
jialiul@, lpz@ : for the safe_browsing bits sgurun@ : for the webview specific bits please ...
3 years, 5 months ago (2017-06-29 19:16:35 UTC) #14
Jialiu Lin
LGTM https://codereview.chromium.org/2950863002/diff/40001/android_webview/browser/aw_safe_browsing_blocking_page.cc File android_webview/browser/aw_safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/2950863002/diff/40001/android_webview/browser/aw_safe_browsing_blocking_page.cc#newcode128 android_webview/browser/aw_safe_browsing_blocking_page.cc:128: if (report_sent) { If I remember correct, WebView ...
3 years, 5 months ago (2017-06-29 19:31:16 UTC) #17
sgurun-gerrit only
On 2017/06/29 19:31:16, Jialiu Lin wrote: > LGTM > > https://codereview.chromium.org/2950863002/diff/40001/android_webview/browser/aw_safe_browsing_blocking_page.cc > File android_webview/browser/aw_safe_browsing_blocking_page.cc (right): ...
3 years, 5 months ago (2017-06-30 03:15:19 UTC) #18
Jialiu Lin
On 2017/06/30 03:15:19, sgurun wrote: > On 2017/06/29 19:31:16, Jialiu Lin wrote: > > LGTM ...
3 years, 5 months ago (2017-06-30 03:19:01 UTC) #19
sgurun-gerrit only
that actually does not enable threat details, right, because we still don't show the reporting ...
3 years, 5 months ago (2017-06-30 03:25:45 UTC) #20
lpz
LGTM One nit: the TODO in the CL description no longer applies, i think? https://codereview.chromium.org/2950863002/diff/80001/android_webview/browser/aw_safe_browsing_blocking_page.cc ...
3 years, 5 months ago (2017-06-30 14:01:23 UTC) #29
timvolodine
Thanks for the comments! https://codereview.chromium.org/2950863002/diff/40001/android_webview/browser/aw_safe_browsing_blocking_page.cc File android_webview/browser/aw_safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/2950863002/diff/40001/android_webview/browser/aw_safe_browsing_blocking_page.cc#newcode128 android_webview/browser/aw_safe_browsing_blocking_page.cc:128: if (report_sent) { On 2017/06/29 ...
3 years, 5 months ago (2017-06-30 14:15:11 UTC) #37
timvolodine
On 2017/06/30 03:25:45, sgurun wrote: > that actually does not enable threat details, right, because ...
3 years, 5 months ago (2017-06-30 14:19:14 UTC) #38
timvolodine
On 2017/06/30 14:01:23, lpz wrote: > LGTM > > One nit: the TODO in the ...
3 years, 5 months ago (2017-06-30 14:19:46 UTC) #39
sgurun-gerrit only
On 2017/06/30 14:19:46, timvolodine wrote: > On 2017/06/30 14:01:23, lpz wrote: > > LGTM > ...
3 years, 5 months ago (2017-06-30 17:05:03 UTC) #42
timvolodine
Thanks for the reviews!
3 years, 5 months ago (2017-06-30 17:46:56 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2950863002/120001
3 years, 5 months ago (2017-06-30 17:47:27 UTC) #46
commit-bot: I haz the power
3 years, 5 months ago (2017-06-30 17:52:18 UTC) #50
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/840e30ceebc2e8c39657d144f2ae...

Powered by Google App Engine
This is Rietveld 408576698