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

Side by Side Diff: content/public/common/ssl_status.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, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_SSL_STATUS_H_
6 #define CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ 6 #define CONTENT_PUBLIC_COMMON_SSL_STATUS_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/public/common/security_style.h" 9 #include "content/public/common/security_style.h"
10 #include "net/cert/cert_status_flags.h" 10 #include "net/cert/cert_status_flags.h"
(...skipping 30 matching lines...) Expand all
41 41
42 bool Equals(const SSLStatus& status) const { 42 bool Equals(const SSLStatus& status) const {
43 return security_style == status.security_style && 43 return security_style == status.security_style &&
44 cert_id == status.cert_id && cert_status == status.cert_status && 44 cert_id == status.cert_id && cert_status == status.cert_status &&
45 security_bits == status.security_bits && 45 security_bits == status.security_bits &&
46 key_exchange_info == status.key_exchange_info && 46 key_exchange_info == status.key_exchange_info &&
47 connection_status == status.connection_status && 47 connection_status == status.connection_status &&
48 content_status == status.content_status && 48 content_status == status.content_status &&
49 num_unknown_scts == status.num_unknown_scts && 49 num_unknown_scts == status.num_unknown_scts &&
50 num_invalid_scts == status.num_invalid_scts && 50 num_invalid_scts == status.num_invalid_scts &&
51 num_valid_scts == status.num_valid_scts; 51 num_valid_scts == status.num_valid_scts &&
52 pkp_bypassed == status.pkp_bypassed;
52 } 53 }
53 54
54 content::SecurityStyle security_style; 55 content::SecurityStyle security_style;
55 // A cert_id value of 0 indicates that it is unset or invalid. 56 // A cert_id value of 0 indicates that it is unset or invalid.
56 int cert_id; 57 int cert_id;
57 net::CertStatus cert_status; 58 net::CertStatus cert_status;
58 int security_bits; 59 int security_bits;
59 int key_exchange_info; 60 int key_exchange_info;
60 int connection_status; 61 int connection_status;
61 // A combination of the ContentStatusFlags above. 62 // A combination of the ContentStatusFlags above.
62 int content_status; 63 int content_status;
63 // Signed Certificate Timestamps (SCTs) of Certificate Transparency (CT). 64 // Signed Certificate Timestamps (SCTs) of Certificate Transparency (CT).
64 uint32_t num_unknown_scts; 65 uint32_t num_unknown_scts;
65 uint32_t num_invalid_scts; 66 uint32_t num_invalid_scts;
66 uint32_t num_valid_scts; 67 uint32_t num_valid_scts;
68 // True if PKP was bypassed due to a local trust anchor.
69 bool pkp_bypassed;
67 }; 70 };
68 71
69 } // namespace content 72 } // namespace content
70 73
71 #endif // CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ 74 #endif // CONTENT_PUBLIC_COMMON_SSL_STATUS_H_
OLDNEW
« no previous file with comments | « content/public/browser/security_style_explanations.cc ('k') | content/public/common/ssl_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698