| Index: net/ssl/channel_id_store.cc
|
| diff --git a/net/ssl/server_bound_cert_store.cc b/net/ssl/channel_id_store.cc
|
| similarity index 52%
|
| rename from net/ssl/server_bound_cert_store.cc
|
| rename to net/ssl/channel_id_store.cc
|
| index e778362c0bac0c6a46d1f50bde18be7e52c555ec..43948cfe5ac46d914a40680fba78a5757e3271d4 100644
|
| --- a/net/ssl/server_bound_cert_store.cc
|
| +++ b/net/ssl/channel_id_store.cc
|
| @@ -2,14 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "net/ssl/server_bound_cert_store.h"
|
| +#include "net/ssl/channel_id_store.h"
|
|
|
| namespace net {
|
|
|
| -ServerBoundCertStore::ServerBoundCert::ServerBoundCert() {
|
| +ChannelIDStore::ChannelID::ChannelID() {
|
| }
|
|
|
| -ServerBoundCertStore::ServerBoundCert::ServerBoundCert(
|
| +ChannelIDStore::ChannelID::ChannelID(
|
| const std::string& server_identifier,
|
| base::Time creation_time,
|
| base::Time expiration_time,
|
| @@ -21,13 +21,13 @@ ServerBoundCertStore::ServerBoundCert::ServerBoundCert(
|
| private_key_(private_key),
|
| cert_(cert) {}
|
|
|
| -ServerBoundCertStore::ServerBoundCert::~ServerBoundCert() {}
|
| +ChannelIDStore::ChannelID::~ChannelID() {}
|
|
|
| -void ServerBoundCertStore::InitializeFrom(const ServerBoundCertList& list) {
|
| - for (ServerBoundCertList::const_iterator i = list.begin(); i != list.end();
|
| +void ChannelIDStore::InitializeFrom(const ChannelIDList& list) {
|
| + for (ChannelIDList::const_iterator i = list.begin(); i != list.end();
|
| ++i) {
|
| - SetServerBoundCert(i->server_identifier(), i->creation_time(),
|
| - i->expiration_time(), i->private_key(), i->cert());
|
| + SetChannelID(i->server_identifier(), i->creation_time(),
|
| + i->expiration_time(), i->private_key(), i->cert());
|
| }
|
| }
|
|
|
|
|