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

Unified Diff: chrome/browser/ui/webui/cookies_tree_model_util.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: chrome/browser/ui/webui/cookies_tree_model_util.cc
diff --git a/chrome/browser/ui/webui/cookies_tree_model_util.cc b/chrome/browser/ui/webui/cookies_tree_model_util.cc
index 43c27ebea8de09c31f4c76c6342ec79ea9854299..ff1f6108d9e32824565e4f3566aa9d5927400e3f 100644
--- a/chrome/browser/ui/webui/cookies_tree_model_util.cc
+++ b/chrome/browser/ui/webui/cookies_tree_model_util.cc
@@ -241,19 +241,19 @@ bool CookiesTreeModelUtil::GetCookieTreeNodeDictionary(
quota_info.persistent_usage)));
break;
}
- case CookieTreeNode::DetailedInfo::TYPE_SERVER_BOUND_CERT: {
- dict->SetString(kKeyType, "server_bound_cert");
+ case CookieTreeNode::DetailedInfo::TYPE_CHANNEL_ID: {
+ dict->SetString(kKeyType, "channel_id");
dict->SetString(kKeyIcon, "chrome://theme/IDR_COOKIE_ICON");
- const net::ServerBoundCertStore::ServerBoundCert& server_bound_cert =
- *node.GetDetailedInfo().server_bound_cert;
+ const net::ChannelIDStore::ChannelID& channel_id =
+ *node.GetDetailedInfo().channel_id;
- dict->SetString(kKeyServerId, server_bound_cert.server_identifier());
+ dict->SetString(kKeyServerId, channel_id.server_identifier());
dict->SetString(kKeyCertType,
ClientCertTypeToString(net::CLIENT_CERT_ECDSA_SIGN));
dict->SetString(kKeyCreated, base::UTF16ToUTF8(
base::TimeFormatFriendlyDateAndTime(
- server_bound_cert.creation_time())));
+ channel_id.creation_time())));
break;
}
case CookieTreeNode::DetailedInfo::TYPE_FLASH_LSO: {

Powered by Google App Engine
This is Rietveld 408576698