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

Issue 2072933002: Add sampling of unknown filetypes in download protection. (Closed)

Created:
4 years, 6 months ago by Nathan Parker
Modified:
4 years, 6 months ago
Reviewers:
asanka, Steven Holte
CC:
arv+watch_chromium.org, chromium-reviews, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add sampling of unknown filetypes in Download Protection. BUG=619743 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/373f7c4c9722ebc0a718be3387d6f6c9b95d8c1f Cr-Commit-Position: refs/heads/master@{#401047}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Refactor TestOverlay and other fixes, per asanka #

Patch Set 3 : spacing and comments #

Patch Set 4 : . #

Patch Set 5 : Fix merge conflict and add/update histogram entries #

Patch Set 6 : Add int values for histograms to ensure they match #

Unified diffs Side-by-side diffs Delta from patch set Stats (+337 lines, -87 lines) Patch
M chrome/browser/resources/safe_browsing/download_file_types.asciipb View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.h View 1 2 3 4 5 2 chunks +31 lines, -29 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.cc View 1 2 3 4 14 chunks +61 lines, -33 lines 0 comments Download
M chrome/browser/safe_browsing/download_protection_service_unittest.cc View 1 2 3 4 5 chunks +105 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/common/safe_browsing/csd.proto View 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/common/safe_browsing/file_type_policies.h View 1 4 chunks +10 lines, -0 lines 0 comments Download
M chrome/common/safe_browsing/file_type_policies.cc View 1 2 5 chunks +36 lines, -13 lines 0 comments Download
A chrome/common/safe_browsing/file_type_policies_test_util.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/common/safe_browsing/file_type_policies_test_util.cc View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
Nathan Parker
For reference, a normal ping looks like this: { url : "http://testsafebrowsing.appspot.com/s/content.exe" digests: { sha256: ...
4 years, 6 months ago (2016-06-16 23:17:45 UTC) #3
Nathan Parker
For your review (not sure if this sent email). Thanks.
4 years, 6 months ago (2016-06-17 21:45:05 UTC) #4
asanka
https://codereview.chromium.org/2072933002/diff/1/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): https://codereview.chromium.org/2072933002/diff/1/chrome/browser/safe_browsing/download_protection_service.cc#newcode297 chrome/browser/safe_browsing/download_protection_service.cc:297: bool ShouldSampleUnsupportedFile(const base::FilePath filename) { Nit: Use 'const base::FilePath&'. ...
4 years, 6 months ago (2016-06-20 18:15:46 UTC) #5
Nathan Parker
Thanks! PTAL. FYI I had to --bypass-hooks since presubmit is failing with the following, which ...
4 years, 6 months ago (2016-06-20 22:47:32 UTC) #6
asanka
LGTM Is your depot_tools checkout out-of-days? fnmatch was added to InputApi a couple of days ...
4 years, 6 months ago (2016-06-21 00:51:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072933002/40001
4 years, 6 months ago (2016-06-21 01:08:05 UTC) #9
Nathan Parker
huh, that was it. Ah: I had a modified file there that prevented the auto-updating.
4 years, 6 months ago (2016-06-21 01:08:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072933002/60001
4 years, 6 months ago (2016-06-21 16:10:34 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/24028) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-21 16:12:59 UTC) #15
Nathan Parker
holte: Please review change to histograms.xml. Thanks!
4 years, 6 months ago (2016-06-21 16:38:36 UTC) #17
Steven Holte
lgtm histograms lgtm
4 years, 6 months ago (2016-06-21 17:56:33 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072933002/100001
4 years, 6 months ago (2016-06-21 18:01:00 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-21 18:09:52 UTC) #22
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 18:16:49 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/373f7c4c9722ebc0a718be3387d6f6c9b95d8c1f
Cr-Commit-Position: refs/heads/master@{#401047}

Powered by Google App Engine
This is Rietveld 408576698