Add token field to ClientSafeBrowsingReportRequest |
|||||
Issue descriptionAdd token field to ClientSafeBrowsingReportRequest to help link download ping to download ctr report. The token field contains the same info as ClientDownloadResponse.token that can uniquely identify a download activity. https://cs.corp.google.com/piper///depot/google3/quality/trustrank/frontend/csdserver/csd_client.proto?l=798&gs=proto%253Afield-quality_trustrank.ClientDownloadResponse.token%2540google3%252Fquality%252Ftrustrank%252Ffrontend%252Fcsdserver%252Fcsd_client.proto&gsn=token&ct=xref_usages
,
Jun 8 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2c26385851a2425cb68a47da7f420c04e28b6c45 commit 2c26385851a2425cb68a47da7f420c04e28b6c45 Author: jialiul <jialiul@chromium.org> Date: Wed Jun 08 22:18:08 2016 Add 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 Review-Url: https://codereview.chromium.org/2029903002 Cr-Commit-Position: refs/heads/master@{#398699} [modify] https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45/chrome/browser/download/download_commands.cc [modify] https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45/chrome/browser/download/download_danger_prompt.cc [modify] https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45/chrome/browser/download/download_danger_prompt.h [modify] https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45/chrome/browser/download/download_danger_prompt_browsertest.cc [modify] https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45/chrome/browser/safe_browsing/download_protection_service.cc [modify] https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45/chrome/browser/safe_browsing/download_protection_service.h [modify] https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45/chrome/browser/safe_browsing/download_protection_service_unittest.cc [modify] https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45/chrome/browser/ui/cocoa/download/download_danger_prompt_impl.cc [modify] https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45/chrome/browser/ui/views/download/download_danger_prompt_views.cc [modify] https://crrev.com/2c26385851a2425cb68a47da7f420c04e28b6c45/chrome/common/safe_browsing/csd.proto
,
Jun 8 2016
,
Jun 10 2016
Safe browsing backend has already received updated reports from Canary channel. Everything looks good. Request merge to M52 stable. Thanks!
,
Jun 10 2016
Your change meets the bar and is auto-approved for M52 (branch: 2743)
,
Jun 10 2016
Remove merge request due to lots of dependency conflicts. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by vakh@chromium.org
, Jun 3 2016Status: Started (was: Assigned)