| 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 "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 OriginBoundCertStore::OriginBoundCert::OriginBoundCert() {} |
| 10 | 10 |
| 11 OriginBoundCertStore::OriginBoundCert::OriginBoundCert( | 11 OriginBoundCertStore::OriginBoundCert::OriginBoundCert( |
| 12 const std::string& origin, | 12 const std::string& origin, |
| 13 SSLClientCertType type, | 13 SSLClientCertType type, |
| 14 base::Time expiration_time, |
| 14 const std::string& private_key, | 15 const std::string& private_key, |
| 15 const std::string& cert) | 16 const std::string& cert) |
| 16 : origin_(origin), | 17 : origin_(origin), |
| 17 type_(type), | 18 type_(type), |
| 19 expiration_time_(expiration_time), |
| 18 private_key_(private_key), | 20 private_key_(private_key), |
| 19 cert_(cert) {} | 21 cert_(cert) {} |
| 20 | 22 |
| 21 OriginBoundCertStore::OriginBoundCert::~OriginBoundCert() {} | 23 OriginBoundCertStore::OriginBoundCert::~OriginBoundCert() {} |
| 22 | 24 |
| 23 } // namespace net | 25 } // namespace net |
| OLD | NEW |