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

Issue 2943763002: Add a new group policy to disable safe browsing for files downloaded from trusted sources. (Closed)

Created:
3 years, 6 months ago by MAD
Modified:
3 years, 5 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, dtrainor+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a new group policy to disable safe browsing for files downloaded from trusted sources. TBR=jochen@chromium.org for trivial change in: chrome/browser/profiles/profile_impl.cc BUG=723658 Review-Url: https://codereview.chromium.org/2943763002 Cr-Commit-Position: refs/heads/master@{#484149} Committed: https://chromium.googlesource.com/chromium/src/+/669452f6e42579d09851122adecb6f4a5297c9ea

Patch Set 1 #

Patch Set 2 : Self CR #

Patch Set 3 : D'Ho! #

Total comments: 2

Patch Set 4 : CR Comments 1 #

Patch Set 5 : Rebase #

Total comments: 10

Patch Set 6 : Rebase #

Patch Set 7 : OWNER Comments 1 #

Patch Set 8 : Rebase #

Patch Set 9 : Remove command line support #

Total comments: 6

Patch Set 10 : Prevent the test using command lines from running on Windows. #

Patch Set 11 : Final nits #

Patch Set 12 : Fix an XML goof #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -16 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +42 lines, -0 lines 0 comments Download
M chrome/browser/download/download_prefs.h View 5 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/download/download_prefs.cc View 1 2 3 4 5 6 7 7 chunks +17 lines, -2 lines 0 comments Download
A chrome/browser/download/trusted_sources_manager.h View 1 2 3 4 5 6 7 8 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/download/trusted_sources_manager.cc View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/browser/download/trusted_sources_manager_posix.cc View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/browser/download/trusted_sources_manager_win.cc View 1 2 3 4 5 6 7 8 1 chunk +54 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M components/policy/core/common/policy_loader_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +36 lines, -12 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 61 (42 generated)
MAD
Care to do the initial Code review before I ask OWNERs to validate? Thanks! BYE ...
3 years, 6 months ago (2017-06-16 20:00:17 UTC) #4
Roger Tawa OOO till Jul 10th
lgtm, one nit below. https://codereview.chromium.org/2943763002/diff/40001/chrome/browser/download/trusted_sources_manager_win.cc File chrome/browser/download/trusted_sources_manager_win.cc (right): https://codereview.chromium.org/2943763002/diff/40001/chrome/browser/download/trusted_sources_manager_win.cc#newcode31 chrome/browser/download/trusted_sources_manager_win.cc:31: base::win::ScopedComPtr<IInternetSecurityManager> security_manager_; No trailing underscore.
3 years, 6 months ago (2017-06-19 18:51:30 UTC) #13
MAD
Thanks Roger, will apply the fix later (having remote desktop access issues from home right ...
3 years, 6 months ago (2017-06-19 19:33:48 UTC) #20
jochen (gone - plz use gerrit)
profile_impl.cc lgtm
3 years, 6 months ago (2017-06-20 06:47:06 UTC) #27
MAD
24h ping for DTrainor, PastarmovJ, OWNER review request. Thanks! BYE MAD
3 years, 6 months ago (2017-06-20 19:48:03 UTC) #28
pastarmovj
generally ok with that but one question. If I understand the code right trusted sources ...
3 years, 6 months ago (2017-06-22 23:08:45 UTC) #29
David Trainor- moved to gerrit
downloads/ lgtm % nits. Sorry for the delay! https://codereview.chromium.org/2943763002/diff/80001/chrome/browser/download/chrome_download_manager_delegate_unittest.cc File chrome/browser/download/chrome_download_manager_delegate_unittest.cc (right): https://codereview.chromium.org/2943763002/diff/80001/chrome/browser/download/chrome_download_manager_delegate_unittest.cc#newcode890 chrome/browser/download/chrome_download_manager_delegate_unittest.cc:890: GURL ...
3 years, 6 months ago (2017-06-23 07:32:47 UTC) #30
MAD
Sorry about the delay, got caught up in something else. Thanks for the comments, all ...
3 years, 5 months ago (2017-06-29 14:44:53 UTC) #31
MAD
Friendly ping for pastarmovj@ :-) Thanks! BYE MAD
3 years, 5 months ago (2017-07-04 13:37:10 UTC) #36
pastarmovj
On 2017/07/04 13:37:10, MAD wrote: > Friendly ping for pastarmovj@ :-) > > Thanks! > ...
3 years, 5 months ago (2017-07-04 16:38:34 UTC) #41
MAD
OK, let's remove the command line support on Windows for now, and let's make the ...
3 years, 5 months ago (2017-07-04 16:54:11 UTC) #42
MAD
Like this? Thanks! BYE MAD
3 years, 5 months ago (2017-07-04 16:59:57 UTC) #43
MAD
Oups, forgot to update unit test, another patch is on the way...
3 years, 5 months ago (2017-07-04 17:03:05 UTC) #46
pastarmovj
LGTM with a few nits. https://codereview.chromium.org/2943763002/diff/160001/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/2943763002/diff/160001/components/policy/resources/policy_templates.json#newcode1802 components/policy/resources/policy_templates.json:1802: 'supported_on': ['chrome.win:61-'], nit: Haven't ...
3 years, 5 months ago (2017-07-04 17:06:10 UTC) #47
MAD
Thanks! All addressed/answered. CQ'ing... Will interrupt if you disagree with the last fixes. BYE MAD ...
3 years, 5 months ago (2017-07-04 17:18:28 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2943763002/200001
3 years, 5 months ago (2017-07-04 17:18:45 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/330246)
3 years, 5 months ago (2017-07-04 17:28:36 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2943763002/220001
3 years, 5 months ago (2017-07-04 17:39:56 UTC) #58
commit-bot: I haz the power
3 years, 5 months ago (2017-07-04 19:39:50 UTC) #61
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/669452f6e42579d09851122adecb...

Powered by Google App Engine
This is Rietveld 408576698