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

Issue 1409003002: [SafeBrowsing] Block dangerous unchecked downloads based on a Finch trial. (Closed)

Created:
5 years, 2 months ago by asanka
Modified:
5 years, 1 month ago
Reviewers:
bbudge, Ilya Sherman, sky, mattm
CC:
grt+watch_chromium.org, moheeb1, noƩ, Nathan Parker
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SafeBrowsing] Block dangerous unchecked downloads based on a Finch trial. BUG=533579 Committed: https://crrev.com/ee261f306c3c66e96339aa1026d62a6d953302fe Cr-Commit-Position: refs/heads/master@{#356394}

Patch Set 1 : #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : Remove redundant field trial group #

Total comments: 8

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1016 lines, -8 lines) Patch
M chrome/browser/file_select_helper.h View 1 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/file_select_helper.cc View 1 2 3 4 5 7 chunks +35 lines, -8 lines 0 comments Download
M chrome/browser/file_select_helper_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/unverified_download_field_trial.h View 1 2 3 4 5 6 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/unverified_download_field_trial.cc View 1 2 3 4 5 6 1 chunk +95 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/unverified_download_field_trial_unittest.cc View 1 2 1 chunk +204 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/unverified_download_policy.h View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/unverified_download_policy.cc View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/test/ppapi/ppapi_filechooser_browsertest.cc View 1 2 3 1 chunk +251 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A ppapi/tests/test_file_chooser.h View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A ppapi/tests/test_file_chooser.cc View 1 2 3 1 chunk +197 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (15 generated)
asanka
bbudge: ppapi/** chrome/test/ppapi/ppapi_browsertest.cc I'm a bit on the fence about the newly added tests. Let ...
5 years, 2 months ago (2015-10-20 01:25:58 UTC) #8
sky
What is an 'unchecked' download and how is it triggered?
5 years, 2 months ago (2015-10-21 00:02:52 UTC) #9
mattm
lgtm https://codereview.chromium.org/1409003002/diff/80001/chrome/browser/safe_browsing/unverified_download_field_trial_unittest.cc File chrome/browser/safe_browsing/unverified_download_field_trial_unittest.cc (right): https://codereview.chromium.org/1409003002/diff/80001/chrome/browser/safe_browsing/unverified_download_field_trial_unittest.cc#newcode28 chrome/browser/safe_browsing/unverified_download_field_trial_unittest.cc:28: base::FilePath(kHandledFilename))); also verify the kSafeFilename is not a ...
5 years, 2 months ago (2015-10-21 00:26:05 UTC) #10
asanka
On 2015/10/21 at 00:02:52, sky wrote: > What is an 'unchecked' download and how is ...
5 years, 2 months ago (2015-10-21 04:17:40 UTC) #11
bbudge
On 2015/10/20 01:25:58, asanka wrote: > bbudge: > ppapi/** > chrome/test/ppapi/ppapi_browsertest.cc > > I'm a ...
5 years, 2 months ago (2015-10-21 21:15:54 UTC) #12
bbudge
https://codereview.chromium.org/1409003002/diff/80001/ppapi/tests/test_file_chooser.cc File ppapi/tests/test_file_chooser.cc (right): https://codereview.chromium.org/1409003002/diff/80001/ppapi/tests/test_file_chooser.cc#newcode17 ppapi/tests/test_file_chooser.cc:17: return true; The other PPB_File* tests Init like this: ...
5 years, 2 months ago (2015-10-21 21:16:04 UTC) #13
sky
https://codereview.chromium.org/1409003002/diff/80001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/1409003002/diff/80001/chrome/browser/file_select_helper.cc#newcode442 chrome/browser/file_select_helper.cc:442: DCHECK_IMPLIES(!params.default_file_name.empty(), Please don't use DCHECK_IMPLIES. Yes, it is in ...
5 years, 2 months ago (2015-10-21 22:46:20 UTC) #14
asanka
Thanks for the reviews! bbudge: I moved the browser tests to ppapi_filechooser_browsertest.cc since the tests ...
5 years, 2 months ago (2015-10-22 21:55:12 UTC) #15
bbudge
ppapi and chrome/test/ppapi LGTM. Thanks for adding these tests! https://codereview.chromium.org/1409003002/diff/120001/chrome/test/ppapi/ppapi_filechooser_browsertest.cc File chrome/test/ppapi/ppapi_filechooser_browsertest.cc (right): https://codereview.chromium.org/1409003002/diff/120001/chrome/test/ppapi/ppapi_filechooser_browsertest.cc#newcode17 chrome/test/ppapi/ppapi_filechooser_browsertest.cc:17: ...
5 years, 2 months ago (2015-10-22 22:35:51 UTC) #16
sky
LGTM - I did not review chrome/test/ppapi/ppapi_filechooser_browsertest.cc as Bill is an owner of that directory, ...
5 years, 2 months ago (2015-10-22 23:17:28 UTC) #17
asanka
Thanks everyone! isherman: Could you take a look at histograms.xml? https://codereview.chromium.org/1409003002/diff/120001/chrome/test/ppapi/ppapi_filechooser_browsertest.cc File chrome/test/ppapi/ppapi_filechooser_browsertest.cc (right): https://codereview.chromium.org/1409003002/diff/120001/chrome/test/ppapi/ppapi_filechooser_browsertest.cc#newcode17 ...
5 years, 2 months ago (2015-10-23 19:35:03 UTC) #19
Ilya Sherman
https://codereview.chromium.org/1409003002/diff/140001/chrome/browser/safe_browsing/unverified_download_policy.cc File chrome/browser/safe_browsing/unverified_download_policy.cc (right): https://codereview.chromium.org/1409003002/diff/140001/chrome/browser/safe_browsing/unverified_download_policy.cc#newcode26 chrome/browser/safe_browsing/unverified_download_policy.cc:26: download_protection_util::kSBClientDownloadExtensionsMax); Could you use UMA_HISTOGRAM_SPARSE_SLOWLY for these histograms, rather ...
5 years, 2 months ago (2015-10-23 20:04:42 UTC) #20
asanka
https://codereview.chromium.org/1409003002/diff/140001/chrome/browser/safe_browsing/unverified_download_policy.cc File chrome/browser/safe_browsing/unverified_download_policy.cc (right): https://codereview.chromium.org/1409003002/diff/140001/chrome/browser/safe_browsing/unverified_download_policy.cc#newcode26 chrome/browser/safe_browsing/unverified_download_policy.cc:26: download_protection_util::kSBClientDownloadExtensionsMax); On 2015/10/23 at 20:04:42, Ilya Sherman wrote: > ...
5 years, 1 month ago (2015-10-26 14:50:52 UTC) #21
Ilya Sherman
LGTM, thanks.
5 years, 1 month ago (2015-10-26 18:43:51 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409003002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409003002/180001
5 years, 1 month ago (2015-10-27 14:07:22 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/112999)
5 years, 1 month ago (2015-10-27 14:14:06 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409003002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409003002/240001
5 years, 1 month ago (2015-10-27 18:38:39 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/126394)
5 years, 1 month ago (2015-10-27 19:35:05 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409003002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409003002/240001
5 years, 1 month ago (2015-10-27 19:47:40 UTC) #34
commit-bot: I haz the power
Committed patchset #9 (id:240001)
5 years, 1 month ago (2015-10-27 21:04:36 UTC) #35
commit-bot: I haz the power
5 years, 1 month ago (2015-10-27 21:06:11 UTC) #36
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/ee261f306c3c66e96339aa1026d62a6d953302fe
Cr-Commit-Position: refs/heads/master@{#356394}

Powered by Google App Engine
This is Rietveld 408576698