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

Unified Diff: chrome/browser/browsing_data/local_data_container.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/browsing_data/local_data_container.cc
diff --git a/chrome/browser/browsing_data/local_data_container.cc b/chrome/browser/browsing_data/local_data_container.cc
index b7648de6bf0d73aced9f782bf7331b45fa0c148f..9a40e1f6b5133c6794c407d44f824cab24d761ab 100644
--- a/chrome/browser/browsing_data/local_data_container.cc
+++ b/chrome/browser/browsing_data/local_data_container.cc
@@ -6,8 +6,8 @@
#include "base/bind.h"
#include "base/memory/linked_ptr.h"
+#include "chrome/browser/browsing_data/browsing_data_channel_id_helper.h"
#include "chrome/browser/browsing_data/browsing_data_flash_lso_helper.h"
-#include "chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.h"
#include "chrome/browser/browsing_data/cookies_tree_model.h"
#include "chrome/browser/content_settings/cookie_settings.h"
#include "net/cookies/canonical_cookie.h"
@@ -24,7 +24,7 @@ LocalDataContainer::LocalDataContainer(
BrowsingDataIndexedDBHelper* indexed_db_helper,
BrowsingDataFileSystemHelper* file_system_helper,
BrowsingDataQuotaHelper* quota_helper,
- BrowsingDataServerBoundCertHelper* server_bound_cert_helper,
+ BrowsingDataChannelIDHelper* channel_id_helper,
BrowsingDataFlashLSOHelper* flash_lso_helper)
: appcache_helper_(appcache_helper),
cookie_helper_(cookie_helper),
@@ -34,7 +34,7 @@ LocalDataContainer::LocalDataContainer(
indexed_db_helper_(indexed_db_helper),
file_system_helper_(file_system_helper),
quota_helper_(quota_helper),
- server_bound_cert_helper_(server_bound_cert_helper),
+ channel_id_helper_(channel_id_helper),
flash_lso_helper_(flash_lso_helper),
model_(NULL),
weak_ptr_factory_(this) {}
@@ -94,9 +94,9 @@ void LocalDataContainer::Init(CookiesTreeModel* model) {
weak_ptr_factory_.GetWeakPtr()));
}
- if (server_bound_cert_helper_.get()) {
- server_bound_cert_helper_->StartFetching(
- base::Bind(&LocalDataContainer::OnServerBoundCertModelInfoLoaded,
+ if (channel_id_helper_.get()) {
+ channel_id_helper_->StartFetching(
+ base::Bind(&LocalDataContainer::OnChannelIDModelInfoLoaded,
weak_ptr_factory_.GetWeakPtr()));
}
@@ -180,11 +180,11 @@ void LocalDataContainer::OnQuotaModelInfoLoaded(
model_->PopulateQuotaInfo(this);
}
-void LocalDataContainer::OnServerBoundCertModelInfoLoaded(
- const ServerBoundCertList& cert_list) {
- server_bound_cert_list_ = cert_list;
+void LocalDataContainer::OnChannelIDModelInfoLoaded(
+ const ChannelIDList& channel_id_list) {
+ channel_id_list_ = channel_id_list;
DCHECK(model_);
- model_->PopulateServerBoundCertInfo(this);
+ model_->PopulateChannelIDInfo(this);
}
void LocalDataContainer::OnFlashLSOInfoLoaded(

Powered by Google App Engine
This is Rietveld 408576698