| 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/server_bound_cert_store.h" | 5 #include "net/ssl/server_bound_cert_store.h" |
| 6 | 6 |
| 7 namespace net { | 7 namespace net { |
| 8 | 8 |
| 9 ServerBoundCertStore::ServerBoundCert::ServerBoundCert() | 9 ServerBoundCertStore::ServerBoundCert::ServerBoundCert() |
| 10 : type_(CLIENT_CERT_INVALID_TYPE) { | 10 : type_(CLIENT_CERT_INVALID_TYPE) { |
| 11 } | 11 } |
| 12 | 12 |
| 13 ServerBoundCertStore::ServerBoundCert::ServerBoundCert( | 13 ServerBoundCertStore::ServerBoundCert::ServerBoundCert( |
| 14 const std::string& server_identifier, | 14 const std::string& server_identifier, |
| 15 SSLClientCertType type, | 15 SSLClientCertType type, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 void ServerBoundCertStore::InitializeFrom(const ServerBoundCertList& list) { | 29 void ServerBoundCertStore::InitializeFrom(const ServerBoundCertList& list) { |
| 30 for (ServerBoundCertList::const_iterator i = list.begin(); i != list.end(); | 30 for (ServerBoundCertList::const_iterator i = list.begin(); i != list.end(); |
| 31 ++i) { | 31 ++i) { |
| 32 SetServerBoundCert(i->server_identifier(), i->type(), i->creation_time(), | 32 SetServerBoundCert(i->server_identifier(), i->type(), i->creation_time(), |
| 33 i->expiration_time(), i->private_key(), i->cert()); | 33 i->expiration_time(), i->private_key(), i->cert()); |
| 34 } | 34 } |
| 35 } | 35 } |
| 36 | 36 |
| 37 } // namespace net | 37 } // namespace net |
| OLD | NEW |