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

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

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
« no previous file with comments | « content/public/common/ssl_status.h ('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.cc
diff --git a/content/public/common/ssl_status.cc b/content/public/common/ssl_status.cc
index 8a9fa54226a7d4ceec1930b4915c81dd3012a9c1..709f4188a2610c20083f79f29beac64d93d1fa2e 100644
--- a/content/public/common/ssl_status.cc
+++ b/content/public/common/ssl_status.cc
@@ -19,7 +19,8 @@ SSLStatus::SSLStatus()
content_status(NORMAL_CONTENT),
num_unknown_scts(0),
num_invalid_scts(0),
- num_valid_scts(0) {}
+ num_valid_scts(0),
+ pkp_bypassed(false) {}
SSLStatus::SSLStatus(SecurityStyle security_style,
int cert_id,
@@ -33,7 +34,8 @@ SSLStatus::SSLStatus(SecurityStyle security_style,
content_status(NORMAL_CONTENT),
num_unknown_scts(0),
num_invalid_scts(0),
- num_valid_scts(0) {
+ num_valid_scts(0),
+ pkp_bypassed(ssl_info.pkp_bypassed) {
// Count unknown, invalid and valid SCTs.
for (const auto& sct_and_status : ssl_info.signed_certificate_timestamps) {
switch (sct_and_status.status) {
« no previous file with comments | « content/public/common/ssl_status.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698