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

Unified Diff: content/public/common/ssl_status.h

Issue 2224023003: Teach SecurityStateModel about subresources with cert errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase fixup Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/security_state/security_state_model.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/ssl_status.h
diff --git a/content/public/common/ssl_status.h b/content/public/common/ssl_status.h
index e8e6ab7c29080273244890f34340e00dc749a210..bd500647c169c60750fa5364dc1881139135c5ee 100644
--- a/content/public/common/ssl_status.h
+++ b/content/public/common/ssl_status.h
@@ -23,16 +23,21 @@ struct CONTENT_EXPORT SSLStatus {
// Flags used for the page security content status.
enum ContentStatusFlags {
// HTTP page, or HTTPS page with no insecure content.
- NORMAL_CONTENT = 0,
+ NORMAL_CONTENT = 0,
// HTTPS page containing "displayed" HTTP resources (e.g. images, CSS).
DISPLAYED_INSECURE_CONTENT = 1 << 0,
// HTTPS page containing "executed" HTTP resources (i.e. script).
- // Also currently used for HTTPS page containing broken-HTTPS resources;
- // this is wrong and should be fixed (see comments in
- // SSLPolicy::OnRequestStarted()).
- RAN_INSECURE_CONTENT = 1 << 1,
+ RAN_INSECURE_CONTENT = 1 << 1,
+
+ // HTTPS page containing "displayed" HTTPS resources (e.g. images,
+ // CSS) loaded with certificate errors.
+ DISPLAYED_CONTENT_WITH_CERT_ERRORS = 1 << 2,
+
+ // HTTPS page containing "executed" HTTPS resources (i.e. script)
+ // loaded with certificate errors.
+ RAN_CONTENT_WITH_CERT_ERRORS = 1 << 3,
};
SSLStatus();
« no previous file with comments | « components/security_state/security_state_model.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698