Chromium Code Reviews| Index: net/ssl/ssl_info.cc |
| diff --git a/net/ssl/ssl_info.cc b/net/ssl/ssl_info.cc |
| index 6c3485bac3a58949d54688b53e3aa735d650fe6e..5eec1572ed1cf5621c6bafe421a737bc830438e4 100644 |
| --- a/net/ssl/ssl_info.cc |
| +++ b/net/ssl/ssl_info.cc |
| @@ -4,11 +4,18 @@ |
| #include "net/ssl/ssl_info.h" |
| +#include "base/pickle.h" |
| #include "net/cert/cert_status_flags.h" |
| +#include "net/cert/signed_certificate_timestamp.h" |
| #include "net/cert/x509_certificate.h" |
| namespace net { |
| +SignedCertificateTimestampAndStatus::SignedCertificateTimestampAndStatus( |
| + const scoped_refptr<ct::SignedCertificateTimestamp>& sct, |
| + const SignedCertificateTimestampVerificationStatus status) |
| + : sct_(sct), status_(status) {} |
| + |
| SSLInfo::SSLInfo() { |
| Reset(); |
| } |
| @@ -22,6 +29,7 @@ SSLInfo::~SSLInfo() { |
| SSLInfo& SSLInfo::operator=(const SSLInfo& info) { |
| cert = info.cert; |
| + signed_certificate_timestamps = info.signed_certificate_timestamps; |
| cert_status = info.cert_status; |
| security_bits = info.security_bits; |
| connection_status = info.connection_status; |
| @@ -44,6 +52,7 @@ void SSLInfo::Reset() { |
| channel_id_sent = false; |
| handshake_type = HANDSHAKE_UNKNOWN; |
| + signed_certificate_timestamps.clear(); |
|
wtc
2013/11/27 16:32:41
Move this up, between lines 46 and 47, to match th
alcutter
2013/11/27 18:05:55
Exchanged with the public_key_hashes.clear() line
|
| public_key_hashes.clear(); |
| } |