OLD | NEW |
---|---|
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 "content/public/common/signed_certificate_timestamp_id_and_status.h" | 10 #include "content/public/common/signed_certificate_timestamp_id_and_status.h" |
(...skipping 19 matching lines...) Expand all Loading... | |
30 }; | 30 }; |
31 | 31 |
32 SSLStatus(); | 32 SSLStatus(); |
33 ~SSLStatus(); | 33 ~SSLStatus(); |
34 | 34 |
35 bool Equals(const SSLStatus& status) const { | 35 bool Equals(const SSLStatus& status) const { |
36 return security_style == status.security_style && | 36 return security_style == status.security_style && |
37 cert_id == status.cert_id && | 37 cert_id == status.cert_id && |
38 cert_status == status.cert_status && | 38 cert_status == status.cert_status && |
39 security_bits == status.security_bits && | 39 security_bits == status.security_bits && |
40 key_exchange_info == status.key_exchange_info && | |
40 content_status == status.content_status && | 41 content_status == status.content_status && |
41 signed_certificate_timestamp_ids == | 42 signed_certificate_timestamp_ids == |
42 status.signed_certificate_timestamp_ids; | 43 status.signed_certificate_timestamp_ids; |
43 } | 44 } |
44 | 45 |
45 content::SecurityStyle security_style; | 46 content::SecurityStyle security_style; |
46 int cert_id; | 47 int cert_id; |
47 net::CertStatus cert_status; | 48 net::CertStatus cert_status; |
48 int security_bits; | 49 int security_bits; |
50 int key_exchange_info; | |
Ryan Sleevi
2015/09/08 22:19:49
BUG: You forgot to initialize this member in the c
sigbjorn
2015/09/09 08:17:17
Done.
| |
49 int connection_status; | 51 int connection_status; |
50 // A combination of the ContentStatusFlags above. | 52 // A combination of the ContentStatusFlags above. |
51 int content_status; | 53 int content_status; |
52 SignedCertificateTimestampIDStatusList signed_certificate_timestamp_ids; | 54 SignedCertificateTimestampIDStatusList signed_certificate_timestamp_ids; |
53 }; | 55 }; |
54 | 56 |
55 } // namespace content | 57 } // namespace content |
56 | 58 |
57 #endif // CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ | 59 #endif // CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ |
OLD | NEW |