| 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 #include "net/base/origin_bound_cert_store.h" | 5 #include "net/base/origin_bound_cert_store.h" |
| 6 | 6 |
| 7 namespace net { | 7 namespace net { |
| 8 | 8 |
| 9 OriginBoundCertStore::OriginBoundCert::OriginBoundCert() | 9 ServerBoundCertStore::ServerBoundCert::ServerBoundCert() |
| 10 : type_(CLIENT_CERT_INVALID_TYPE) { | 10 : type_(CLIENT_CERT_INVALID_TYPE) { |
| 11 } | 11 } |
| 12 | 12 |
| 13 OriginBoundCertStore::OriginBoundCert::OriginBoundCert( | 13 ServerBoundCertStore::ServerBoundCert::ServerBoundCert( |
| 14 const std::string& origin, | 14 const std::string& server_identifier, |
| 15 SSLClientCertType type, | 15 SSLClientCertType type, |
| 16 base::Time creation_time, | 16 base::Time creation_time, |
| 17 base::Time expiration_time, | 17 base::Time expiration_time, |
| 18 const std::string& private_key, | 18 const std::string& private_key, |
| 19 const std::string& cert) | 19 const std::string& cert) |
| 20 : origin_(origin), | 20 : server_identifier_(server_identifier), |
| 21 type_(type), | 21 type_(type), |
| 22 creation_time_(creation_time), | 22 creation_time_(creation_time), |
| 23 expiration_time_(expiration_time), | 23 expiration_time_(expiration_time), |
| 24 private_key_(private_key), | 24 private_key_(private_key), |
| 25 cert_(cert) {} | 25 cert_(cert) {} |
| 26 | 26 |
| 27 OriginBoundCertStore::OriginBoundCert::~OriginBoundCert() {} | 27 ServerBoundCertStore::ServerBoundCert::~ServerBoundCert() {} |
| 28 | 28 |
| 29 } // namespace net | 29 } // namespace net |
| OLD | NEW |