Chromium Code Reviews
DescriptionAdd token field to ClientSafeBrowsingReportReqeust.
In order to calculate CTRs of bad downloads, safe browsing needs information to
link ClientSafeBrowsingReportRequest (for downloads) and ClientDownloadResponse.
To achieve this, we add a token field to identify its corresponding
ClientDownloadResponse in the ClientSafeBrowsingReportRequest, and propagate it
with the same string in ClientDownloadResponse.token.
Also add a new download report type (DANGEROUS_DOWNLOAD_BY_API) to separately
track CTR of dangerous downloads go through download API.
BUG=615511
Committed: https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45
Cr-Commit-Position: refs/heads/master@{#398699}
Patch Set 1 #Patch Set 2 : add/fix tests #Patch Set 3 : separate download recovery and download confirmation (by download api) #Patch Set 4 : tweak comments #
Total comments: 2
Patch Set 5 : re-write using GetUserData/SetUserData #
Total comments: 10
Patch Set 6 : address nparker's comments #Patch Set 7 : nit in test #
Total comments: 2
Messages
Total messages: 27 (13 generated)
|