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

Unified Diff: components/security_state/security_state_model.h

Issue 2066483009: Expose SSLInfo::pkp_bypassed to devtools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove change to browser_protocol.json Created 4 years, 6 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
Index: components/security_state/security_state_model.h
diff --git a/components/security_state/security_state_model.h b/components/security_state/security_state_model.h
index 26dd220648771eb238c37d781d9f4739fc51ebed..b4ff3e9c5f17b7eb1f19fa65ed2f73a815fe504c 100644
--- a/components/security_state/security_state_model.h
+++ b/components/security_state/security_state_model.h
@@ -107,6 +107,9 @@ class SecurityStateModel {
// True if the protocol version and ciphersuite for the connection
// are considered secure.
bool is_secure_protocol_and_ciphersuite;
+
+ // True if pinning was bypassed due to a local trust anchor.
+ bool pkp_bypassed;
};
// Contains the security state relevant to computing the SecurityInfo
@@ -134,6 +137,8 @@ class SecurityStateModel {
bool displayed_mixed_content;
// True if the page ran active mixed content.
bool ran_mixed_content;
+ // True if PKP was bypassed due to a local trust anchor.
+ bool pkp_bypassed;
};
// These security levels describe the treatment given to pages that

Powered by Google App Engine
This is Rietveld 408576698