Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1616)

Unified Diff: net/ssl/channel_id_store.cc

Issue 356713005: Rename ServerBoundCert => ChannelID to reflect the current name (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix cookies_list.js Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}
}

Powered by Google App Engine
This is Rietveld 408576698