| 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 59%
|
| rename from net/ssl/server_bound_cert_store.cc
|
| rename to net/ssl/channel_id_store.cc
|
| index e778362c0bac0c6a46d1f50bde18be7e52c555ec..59837bf4ffd10dc0a5fdd995efb655ce965bf7a1 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,12 +21,12 @@ 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(),
|
| + SetChannelID(i->server_identifier(), i->creation_time(),
|
| i->expiration_time(), i->private_key(), i->cert());
|
| }
|
| }
|
|
|