OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/public/common/ssl_status.h" | 5 #include "content/public/common/ssl_status.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
| 9 SignedCertificateTimestampIDAndStatus::SignedCertificateTimestampIDAndStatus( |
| 10 int id, net::SignedCertificateTimestampVerificationStatus status) |
| 11 : id_(id), status_(status) {} |
| 12 |
| 13 bool SignedCertificateTimestampIDAndStatus::operator==( |
| 14 const SignedCertificateTimestampIDAndStatus& other) const { |
| 15 return id_ == other.id_ && status_ == other.status_; |
| 16 } |
| 17 |
9 SSLStatus::SSLStatus() | 18 SSLStatus::SSLStatus() |
10 : security_style(SECURITY_STYLE_UNKNOWN), | 19 : security_style(SECURITY_STYLE_UNKNOWN), |
11 cert_id(0), | 20 cert_id(0), |
12 cert_status(0), | 21 cert_status(0), |
13 security_bits(-1), | 22 security_bits(-1), |
14 connection_status(0), | 23 connection_status(0), |
15 content_status(NORMAL_CONTENT) { | 24 content_status(NORMAL_CONTENT), |
| 25 signed_certificate_timestamp_ids() { |
16 } | 26 } |
17 | 27 |
| 28 SSLStatus::~SSLStatus() {} |
| 29 |
18 } // namespace content | 30 } // namespace content |
OLD | NEW |