diff options
author | estark <estark@chromium.org> | 2015-11-30 14:39:47 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-30 22:40:37 +0000 |
commit | 8bfb78c859ab5993eada6db30e4de50aa7403f1c (patch) | |
tree | 887e219cd62dfcefe97843ccfeae06093a30d771 /content/browser/bad_message.h | |
parent | c40df1c41aa58fefbed37b31fb758031d50c4e70 (diff) | |
download | chromium_src-8bfb78c859ab5993eada6db30e4de50aa7403f1c.zip chromium_src-8bfb78c859ab5993eada6db30e4de50aa7403f1c.tar.gz chromium_src-8bfb78c859ab5993eada6db30e4de50aa7403f1c.tar.bz2 |
Downgrade lock icon for broken-HTTPS subresources
This CL attaches a boolean to resource responses to indicate if they
have certificate errors. If Blink sees a resource with a cert error, it
notifies the renderer via FrameLoaderClient, who then notifies the
browser, who treats the situation like mixed content.
The browser (//content) ignores subresources with cert errors on HTTP
pages, and subresources with the same cert errors as the main
resource. This allows embedders to distinguish broken-HTTPS foo.com with
a subresource from broken-HTTPS bar.com and broken-HTTPS foo.com with a
subresource from broken-HTTPS foo.com.
BUG=477868
Review URL: https://codereview.chromium.org/1415923015
Cr-Commit-Position: refs/heads/master@{#362246}
Diffstat (limited to 'content/browser/bad_message.h')
-rw-r--r-- | content/browser/bad_message.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/browser/bad_message.h b/content/browser/bad_message.h index 4464516..31f166c 100644 --- a/content/browser/bad_message.h +++ b/content/browser/bad_message.h @@ -122,6 +122,7 @@ enum BadMessageReason { BDH_CHARACTERISTIC_ALREADY_SUBSCRIBED = 98, RFH_OWNER_PROPERTY = 99, BDH_EMPTY_OR_INVALID_FILTERS = 100, + WC_CONTENT_WITH_CERT_ERRORS_BAD_SECURITY_INFO = 101, // Please add new elements here. The naming convention is abbreviated class // name (e.g. RenderFrameHost becomes RFH) plus a unique description of the |