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

Issue 1119963004: Extend the enterprise policy for SSL overrides to the "danger" command (Closed)

Created:
5 years, 7 months ago by felt
Modified:
5 years, 7 months ago
CC:
chromium-reviews, Thiemo Nagel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extend the enterprise policy for SSL overrides to the "danger" command If overriding cert errors is disabed by policy, users shouldn't be able to use the "danger" command to bypass it. BUG=440949 R=meacer@chromium.org Committed: https://crrev.com/2d3f65ef3c809cc17b16d556762e10878c9d5796 Cr-Commit-Position: refs/heads/master@{#330365}

Patch Set 1 #

Patch Set 2 : Now the .h file #

Patch Set 3 : Added a test #

Patch Set 4 : Updated comment #

Total comments: 5

Patch Set 5 : Check type after cast #

Total comments: 2

Patch Set 6 : Check the type before casting #

Patch Set 7 : Remove parens #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -2 lines) Patch
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 6 4 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 20 (3 generated)
felt
meacer, PTAL? I'm not entirely sure how to test this. The existing tests check to ...
5 years, 7 months ago (2015-05-05 18:18:33 UTC) #1
meacer
On 2015/05/05 18:18:33, felt wrote: > meacer, > > PTAL? > > I'm not entirely ...
5 years, 7 months ago (2015-05-05 18:30:22 UTC) #2
felt
I added a test, I think this is the simplest & most robust way. PTAL.
5 years, 7 months ago (2015-05-15 18:40:42 UTC) #3
meacer
On 2015/05/15 18:40:42, felt wrote: > I added a test, I think this is the ...
5 years, 7 months ago (2015-05-15 20:37:02 UTC) #4
felt
On 2015/05/15 20:37:02, Mustafa Emre Acer wrote: > On 2015/05/15 18:40:42, felt wrote: > > ...
5 years, 7 months ago (2015-05-15 20:38:24 UTC) #5
meacer
On 2015/05/15 20:38:24, felt wrote: > On 2015/05/15 20:37:02, Mustafa Emre Acer wrote: > > ...
5 years, 7 months ago (2015-05-15 20:41:10 UTC) #6
meacer
https://codereview.chromium.org/1119963004/diff/60001/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (right): https://codereview.chromium.org/1119963004/diff/60001/chrome/browser/policy/policy_browsertest.cc#newcode3694 chrome/browser/policy/policy_browsertest.cc:3694: SSLBlockingPage* interstitial_delegate = static_cast<SSLBlockingPage*>( Do you need the cast ...
5 years, 7 months ago (2015-05-15 20:41:18 UTC) #7
felt
https://codereview.chromium.org/1119963004/diff/60001/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (right): https://codereview.chromium.org/1119963004/diff/60001/chrome/browser/policy/policy_browsertest.cc#newcode3694 chrome/browser/policy/policy_browsertest.cc:3694: SSLBlockingPage* interstitial_delegate = static_cast<SSLBlockingPage*>( On 2015/05/15 20:41:18, Mustafa Emre ...
5 years, 7 months ago (2015-05-15 20:44:43 UTC) #8
meacer
https://codereview.chromium.org/1119963004/diff/60001/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (right): https://codereview.chromium.org/1119963004/diff/60001/chrome/browser/policy/policy_browsertest.cc#newcode3694 chrome/browser/policy/policy_browsertest.cc:3694: SSLBlockingPage* interstitial_delegate = static_cast<SSLBlockingPage*>( On 2015/05/15 20:44:43, felt wrote: ...
5 years, 7 months ago (2015-05-15 20:53:41 UTC) #9
felt
https://codereview.chromium.org/1119963004/diff/60001/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (right): https://codereview.chromium.org/1119963004/diff/60001/chrome/browser/policy/policy_browsertest.cc#newcode3694 chrome/browser/policy/policy_browsertest.cc:3694: SSLBlockingPage* interstitial_delegate = static_cast<SSLBlockingPage*>( On 2015/05/15 20:53:41, Mustafa Emre ...
5 years, 7 months ago (2015-05-15 21:11:44 UTC) #10
felt
atwilson@chromium.org: Please review changes in c/b/policy/?
5 years, 7 months ago (2015-05-15 21:13:41 UTC) #12
meacer
https://codereview.chromium.org/1119963004/diff/60001/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (right): https://codereview.chromium.org/1119963004/diff/60001/chrome/browser/policy/policy_browsertest.cc#newcode3694 chrome/browser/policy/policy_browsertest.cc:3694: SSLBlockingPage* interstitial_delegate = static_cast<SSLBlockingPage*>( On 2015/05/15 21:11:44, felt wrote: ...
5 years, 7 months ago (2015-05-15 21:26:58 UTC) #13
felt
https://codereview.chromium.org/1119963004/diff/80001/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (right): https://codereview.chromium.org/1119963004/diff/80001/chrome/browser/policy/policy_browsertest.cc#newcode3699 chrome/browser/policy/policy_browsertest.cc:3699: interstitial_delegate->GetTypeForTesting()); On 2015/05/15 21:26:57, Mustafa Emre Acer wrote: > ...
5 years, 7 months ago (2015-05-15 21:48:34 UTC) #14
Andrew T Wilson (Slow)
LGTM +tnagel fyi
5 years, 7 months ago (2015-05-18 11:48:54 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1119963004/120001
5 years, 7 months ago (2015-05-18 14:26:20 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 7 months ago (2015-05-18 15:26:13 UTC) #19
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 15:27:10 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/2d3f65ef3c809cc17b16d556762e10878c9d5796
Cr-Commit-Position: refs/heads/master@{#330365}

Powered by Google App Engine
This is Rietveld 408576698