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 "net/cert/cert_status_flags.h" | 10 #include "net/cert/cert_status_flags.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 RAN_INSECURE_CONTENT = 1 << 1, | 28 RAN_INSECURE_CONTENT = 1 << 1, |
29 }; | 29 }; |
30 | 30 |
31 SSLStatus(); | 31 SSLStatus(); |
32 | 32 |
33 bool Equals(const SSLStatus& status) const { | 33 bool Equals(const SSLStatus& status) const { |
34 return security_style == status.security_style && | 34 return security_style == status.security_style && |
35 cert_id == status.cert_id && | 35 cert_id == status.cert_id && |
36 cert_status == status.cert_status && | 36 cert_status == status.cert_status && |
37 security_bits == status.security_bits && | 37 security_bits == status.security_bits && |
38 content_status == status.content_status; | 38 content_status == status.content_status && |
| 39 signed_certificate_timestamp_id == |
| 40 status.signed_certificate_timestamp_id; |
39 } | 41 } |
40 | 42 |
41 content::SecurityStyle security_style; | 43 content::SecurityStyle security_style; |
42 int cert_id; | 44 int cert_id; |
43 net::CertStatus cert_status; | 45 net::CertStatus cert_status; |
44 int security_bits; | 46 int security_bits; |
45 int connection_status; | 47 int connection_status; |
46 // A combination of the ContentStatusFlags above. | 48 // A combination of the ContentStatusFlags above. |
47 int content_status; | 49 int content_status; |
| 50 int signed_certificate_timestamp_id; |
48 }; | 51 }; |
49 | 52 |
50 } // namespace content | 53 } // namespace content |
51 | 54 |
52 #endif // CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ | 55 #endif // CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ |
OLD | NEW |