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

Issue 1230483005: [SafeBrowsing] Send pingbacks for additional file types. (Closed)

Created:
5 years, 5 months ago by asanka
Modified:
5 years, 5 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@more-dangerous-files
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SafeBrowsing] Send pingbacks for additional file types. This change expands the list of file types supported by Safe Browsing. Downloads of these files will now behave in a manner similar to .exe file downloads. I.e. there will be no dangerous file warning at the start of the download. Instead, the download will run to completion and the user will be prompted based on the results of the Safe Browsing query. BUG=507821 Committed: https://crrev.com/d55999aedb284074bb86700c3e04d2abd5a5023b Cr-Commit-Position: refs/heads/master@{#337986}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Cleanup some file extension checks. #

Total comments: 3

Patch Set 3 : Add more filetypes #

Patch Set 4 : Also .dll #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -86 lines) Patch
M chrome/browser/download/download_extensions.cc View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/download_protection_service.cc View 1 2 2 chunks +73 lines, -61 lines 0 comments Download
M chrome/common/safe_browsing/download_protection_util.cc View 1 2 3 1 chunk +55 lines, -24 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
asanka
PTAL? shess: chrome/browser/safe_browsing/download_protection_service.cc chrome/common/safe_browsing/download_protection_util.cc asvitkine: tools/metrics/histograms/histograms.xml
5 years, 5 months ago (2015-07-08 00:23:29 UTC) #3
Scott Hess - ex-Googler
I'm trying to avoid further safe-browsing work, so let's loop in Nathan and if he's ...
5 years, 5 months ago (2015-07-08 04:27:52 UTC) #5
moheeb1
On 2015/07/08 00:23:29, asanka wrote: > PTAL? > > shess: > chrome/browser/safe_browsing/download_protection_service.cc > chrome/common/safe_browsing/download_protection_util.cc > ...
5 years, 5 months ago (2015-07-08 10:22:53 UTC) #6
grt (UTC plus 2)
Are these extensions put on PE images to get them past the download protection service? ...
5 years, 5 months ago (2015-07-08 11:55:16 UTC) #8
Alexei Svitkine (slow)
histograms lgtm, some optional suggestions about the code https://codereview.chromium.org/1230483005/diff/1/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): https://codereview.chromium.org/1230483005/diff/1/chrome/browser/safe_browsing/download_protection_service.cc#newcode103 chrome/browser/safe_browsing/download_protection_service.cc:103: if ...
5 years, 5 months ago (2015-07-08 14:56:08 UTC) #9
asanka
On 2015/07/08 at 10:22:53, moheeb wrote: > On 2015/07/08 00:23:29, asanka wrote: > > PTAL? ...
5 years, 5 months ago (2015-07-08 19:43:20 UTC) #10
asanka
On 2015/07/08 at 11:55:16, grt wrote: > Are these extensions put on PE images to ...
5 years, 5 months ago (2015-07-08 19:48:37 UTC) #11
Nathan Parker
Code LGTM. I'll leave the file-type questions up to SB folks. https://codereview.chromium.org/1230483005/diff/20001/chrome/browser/safe_browsing/download_protection_service.cc File chrome/browser/safe_browsing/download_protection_service.cc (right): ...
5 years, 5 months ago (2015-07-08 20:11:08 UTC) #12
moheeb1
Thanks for working this Asanka, I have a couple comments otherwise looks good. https://codereview.chromium.org/1230483005/diff/20001/chrome/browser/safe_browsing/download_protection_service.cc File ...
5 years, 5 months ago (2015-07-08 20:25:30 UTC) #14
moheeb1
On 2015/07/08 19:48:37, asanka wrote: > On 2015/07/08 at 11:55:16, grt wrote: > > Are ...
5 years, 5 months ago (2015-07-08 20:29:11 UTC) #15
asanka
OK. Added a bunch more file types. Also tested that the histograms are being reported ...
5 years, 5 months ago (2015-07-08 21:50:01 UTC) #16
Scott Hess - ex-Googler
lgtm
5 years, 5 months ago (2015-07-08 21:50:55 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230483005/60001
5 years, 5 months ago (2015-07-09 03:38:05 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 5 months ago (2015-07-09 04:43:12 UTC) #21
commit-bot: I haz the power
5 years, 5 months ago (2015-07-09 04:44:02 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d55999aedb284074bb86700c3e04d2abd5a5023b
Cr-Commit-Position: refs/heads/master@{#337986}

Powered by Google App Engine
This is Rietveld 408576698