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

Unified Diff: components/security_state/security_state_model.cc

Issue 2066483009: Expose SSLInfo::pkp_bypassed to devtools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove signal and HTTP header files 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.cc
diff --git a/components/security_state/security_state_model.cc b/components/security_state/security_state_model.cc
index 2efa11c02c8277b886a1294a80306688fc4bb599..75c188b6b120c90ffa3ff87a09e00c92c4218a0c 100644
--- a/components/security_state/security_state_model.cc
+++ b/components/security_state/security_state_model.cc
@@ -184,6 +184,7 @@ void SecurityInfoForRequest(
security_info->cert_status = visible_security_state.cert_status;
security_info->scheme_is_cryptographic =
visible_security_state.url.SchemeIsCryptographic();
+ security_info->pkp_bypassed = visible_security_state.pkp_bypassed;
security_info->is_secure_protocol_and_ciphersuite =
(net::SSLConnectionStatusToVersion(security_info->connection_status) >=
net::SSL_CONNECTION_VERSION_TLS1_2 &&
@@ -217,7 +218,8 @@ SecurityStateModel::SecurityInfo::SecurityInfo()
cert_id(0),
security_bits(-1),
connection_status(0),
- is_secure_protocol_and_ciphersuite(false) {}
+ is_secure_protocol_and_ciphersuite(false),
+ pkp_bypassed(false) {}
SecurityStateModel::SecurityInfo::~SecurityInfo() {}

Powered by Google App Engine
This is Rietveld 408576698