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

Issue 330653006: Include the latest binary download info in safe browsing incident reports. (Closed)

Created:
6 years, 6 months ago by grt (UTC plus 2)
Modified:
6 years, 5 months ago
Reviewers:
Lei Zhang, brettw, Mark P, mattm
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Include the latest binary download info in safe browsing incident reports. BUG=383042 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281089

Patch Set 1 #

Total comments: 10

Patch Set 2 : sync to r280320 #

Total comments: 3

Patch Set 3 : mattm comments #

Total comments: 2

Patch Set 4 : sync to r280616 #

Patch Set 5 : iterator cleanup #

Total comments: 2

Patch Set 6 : better histogram text #

Total comments: 4

Patch Set 7 : histogram updates #

Patch Set 8 : add missing dependency on protobufs for common #

Patch Set 9 : attempt to fix gn build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1113 lines, -108 lines) Patch
M chrome/browser/safe_browsing/download_protection_service.cc View 2 chunks +1 line, -15 lines 0 comments Download
M chrome/browser/safe_browsing/incident_report_uploader.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting_service.h View 7 chunks +47 lines, -12 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting_service.cc View 1 2 3 4 5 6 14 chunks +122 lines, -26 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting_service_unittest.cc View 1 2 21 chunks +186 lines, -43 lines 0 comments Download
A chrome/browser/safe_browsing/last_download_finder.h View 1 chunk +117 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/last_download_finder.cc View 1 2 3 4 1 chunk +249 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/last_download_finder_unittest.cc View 1 chunk +331 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/safe_browsing/download_protection_util.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/safe_browsing/download_protection_util.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 4 chunks +31 lines, -12 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
grt (UTC plus 2)
Hi Matt, Here's the final big CL for the incident reporting service. Please take a ...
6 years, 6 months ago (2014-06-26 17:28:53 UTC) #1
mattm
https://codereview.chromium.org/330653006/diff/240001/chrome/browser/safe_browsing/incident_reporting_service_unittest.cc File chrome/browser/safe_browsing/incident_reporting_service_unittest.cc (right): https://codereview.chromium.org/330653006/diff/240001/chrome/browser/safe_browsing/incident_reporting_service_unittest.cc#newcode508 chrome/browser/safe_browsing/incident_reporting_service_unittest.cc:508: EXPECT_TRUE(HasCreatedDownloadFinder()); should these expect that the downloadfinder was destroyed ...
6 years, 5 months ago (2014-06-27 21:50:32 UTC) #2
grt (UTC plus 2)
Thanks, Matt. Please take another look. https://codereview.chromium.org/330653006/diff/240001/chrome/browser/safe_browsing/incident_reporting_service_unittest.cc File chrome/browser/safe_browsing/incident_reporting_service_unittest.cc (right): https://codereview.chromium.org/330653006/diff/240001/chrome/browser/safe_browsing/incident_reporting_service_unittest.cc#newcode508 chrome/browser/safe_browsing/incident_reporting_service_unittest.cc:508: EXPECT_TRUE(HasCreatedDownloadFinder()); On 2014/06/27 ...
6 years, 5 months ago (2014-06-30 16:53:38 UTC) #3
grt (UTC plus 2)
https://codereview.chromium.org/330653006/diff/280001/chrome/browser/safe_browsing/incident_reporting_service.cc File chrome/browser/safe_browsing/incident_reporting_service.cc (right): https://codereview.chromium.org/330653006/diff/280001/chrome/browser/safe_browsing/incident_reporting_service.cc#newcode69 chrome/browser/safe_browsing/incident_reporting_service.cc:69: struct IncidentReportingService::ProfileContext { On 2014/06/30 16:53:38, grt wrote: > ...
6 years, 5 months ago (2014-06-30 19:38:37 UTC) #4
mattm
lgtm with one suggestion. I'm okay with not doing the LastDownloadFinder change if it ends ...
6 years, 5 months ago (2014-06-30 21:52:15 UTC) #5
grt (UTC plus 2)
Thanks. https://codereview.chromium.org/330653006/diff/300001/chrome/browser/safe_browsing/last_download_finder.cc File chrome/browser/safe_browsing/last_download_finder.cc (right): https://codereview.chromium.org/330653006/diff/300001/chrome/browser/safe_browsing/last_download_finder.cc#newcode203 chrome/browser/safe_browsing/last_download_finder.cc:203: if (it == profiles_.end()) On 2014/06/30 21:52:15, mattm ...
6 years, 5 months ago (2014-06-30 22:58:05 UTC) #6
grt (UTC plus 2)
+mpearson for histograms OWNERS review.
6 years, 5 months ago (2014-06-30 22:59:12 UTC) #7
Mark P
https://codereview.chromium.org/330653006/diff/340001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/330653006/diff/340001/tools/metrics/histograms/histograms.xml#newcode26024 tools/metrics/histograms/histograms.xml:26024: + The elapsed time to collect the most recent ...
6 years, 5 months ago (2014-06-30 23:11:06 UTC) #8
grt (UTC plus 2)
I've updated the descriptions for the new histogram and for all values of the UploadResult ...
6 years, 5 months ago (2014-07-01 14:41:34 UTC) #9
Mark P
Some minor nits left, I'll lgtm and trust you to fix them well. -mark https://codereview.chromium.org/330653006/diff/360001/tools/metrics/histograms/histograms.xml ...
6 years, 5 months ago (2014-07-01 17:22:08 UTC) #10
grt (UTC plus 2)
Thanks, Mark. I've deviated slightly from your suggestion on the name of the new histogram, ...
6 years, 5 months ago (2014-07-01 17:49:06 UTC) #11
Mark P
still lgtm
6 years, 5 months ago (2014-07-01 17:50:50 UTC) #12
grt (UTC plus 2)
The CQ bit was checked by grt@chromium.org
6 years, 5 months ago (2014-07-01 17:54:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/330653006/380001
6 years, 5 months ago (2014-07-01 17:55:49 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device on tryserver.chromium ...
6 years, 5 months ago (2014-07-01 19:56:28 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-01 20:01:31 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/22090)
6 years, 5 months ago (2014-07-01 20:01:32 UTC) #17
grt (UTC plus 2)
The CQ bit was checked by grt@chromium.org
6 years, 5 months ago (2014-07-01 20:11:43 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/330653006/380001
6 years, 5 months ago (2014-07-01 20:12:56 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-01 20:36:08 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-01 20:50:17 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/22107)
6 years, 5 months ago (2014-07-01 20:50:19 UTC) #22
grt (UTC plus 2)
The CQ bit was checked by grt@chromium.org
6 years, 5 months ago (2014-07-02 17:48:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/330653006/460001
6 years, 5 months ago (2014-07-02 17:49:30 UTC) #24
grt (UTC plus 2)
+brettw for BUILD.gn OWNERS review.
6 years, 5 months ago (2014-07-02 18:04:50 UTC) #25
brettw
.gn LGTM
6 years, 5 months ago (2014-07-02 19:12:25 UTC) #26
Lei Zhang
lgtm++
6 years, 5 months ago (2014-07-02 20:00:11 UTC) #27
commit-bot: I haz the power
6 years, 5 months ago (2014-07-02 20:45:07 UTC) #28
Message was sent while issue was closed.
Change committed as 281089

Powered by Google App Engine
This is Rietveld 408576698