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

Issue 2224023003: Teach SecurityStateModel about subresources with cert errors (Closed)

Created:
4 years, 4 months ago by estark
Modified:
4 years, 4 months ago
Reviewers:
jam
CC:
chromium-reviews, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Teach SecurityStateModel about subresources with cert errors This is the second in a series of CLs to create dedicated plumbing for subresources with certificate errors, instead of treating them like mixed content from the browser's perspective. This CL adds flags for subresources with cert errors to SecurityStateModel and SSLStatus. ChromeSecurityStateModelClient sets these flags on the VisibleSecurityState based on the NavigationEntry's SSLStatus, and SecurityStateModel downgrades the security level appropriately. Nothing yet sets the flags on the SSLStatus. #1: https://codereview.chromium.org/2224193003/ Rename SecurityStateModel::MIXED_CONTENT_STATUS enum values #2: https://codereview.chromium.org/2224023003/ (this CL) #3: https://codereview.chromium.org/2225213004/ Teach SSLHostStateDelegate about subresources with cert errors #4: https://codereview.chromium.org/2226363002/ Track subresources with cert errors separately from mixed content BUG=634171, 636986 Committed: https://crrev.com/61ab9d4706f6887539b9097bdbbc40ec6e671c85 Cr-Commit-Position: refs/heads/master@{#411520}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : fix comment typo #

Patch Set 4 : more comment typos #

Patch Set 5 : revert unnecessary test change #

Patch Set 6 : rebase #

Patch Set 7 : rebase fixup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -26 lines) Patch
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 2 3 4 5 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc View 1 2 3 1 chunk +89 lines, -0 lines 0 comments Download
M components/security_state/security_state_model.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M components/security_state/security_state_model.cc View 1 2 3 4 5 10 chunks +33 lines, -16 lines 0 comments Download
M content/public/common/ssl_status.h View 1 chunk +10 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
estark
jam, sending you a series of CLs to separate mixed content plumbing from subresources-with-cert-errors plumbing, ...
4 years, 4 months ago (2016-08-11 16:05:10 UTC) #6
jam
lgtm
4 years, 4 months ago (2016-08-11 19:37:49 UTC) #7
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/2224023003/120001
4 years, 4 months ago (2016-08-12 00:52:24 UTC) #10
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-12 02:09:14 UTC) #12
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 02:12:19 UTC) #14
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/61ab9d4706f6887539b9097bdbbc40ec6e671c85
Cr-Commit-Position: refs/heads/master@{#411520}

Powered by Google App Engine
This is Rietveld 408576698