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

Side by Side Diff: chrome/browser/local_data_container.cc

Issue 10785017: Move CanonicalCookie into separate files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing include Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/local_data_container.h" 5 #include "chrome/browser/local_data_container.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/linked_ptr.h" 8 #include "base/memory/linked_ptr.h"
9 #include "chrome/browser/browsing_data_cookie_helper.h" 9 #include "chrome/browser/browsing_data_cookie_helper.h"
10 #include "chrome/browser/browsing_data_server_bound_cert_helper.h" 10 #include "chrome/browser/browsing_data_server_bound_cert_helper.h"
11 #include "chrome/browser/content_settings/cookie_settings.h" 11 #include "chrome/browser/content_settings/cookie_settings.h"
12 #include "chrome/browser/cookies_tree_model.h" 12 #include "chrome/browser/cookies_tree_model.h"
13 #include "net/cookies/canonical_cookie.h"
13 14
14 /////////////////////////////////////////////////////////////////////////////// 15 ///////////////////////////////////////////////////////////////////////////////
15 // LocalDataContainer, public: 16 // LocalDataContainer, public:
16 17
17 LocalDataContainer::LocalDataContainer( 18 LocalDataContainer::LocalDataContainer(
18 const std::string& app_name, 19 const std::string& app_name,
19 const std::string& app_id, 20 const std::string& app_id,
20 BrowsingDataCookieHelper* cookie_helper, 21 BrowsingDataCookieHelper* cookie_helper,
21 BrowsingDataDatabaseHelper* database_helper, 22 BrowsingDataDatabaseHelper* database_helper,
22 BrowsingDataLocalStorageHelper* local_storage_helper, 23 BrowsingDataLocalStorageHelper* local_storage_helper,
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 DCHECK(model_); 175 DCHECK(model_);
175 model_->PopulateQuotaInfo(this); 176 model_->PopulateQuotaInfo(this);
176 } 177 }
177 178
178 void LocalDataContainer::OnServerBoundCertModelInfoLoaded( 179 void LocalDataContainer::OnServerBoundCertModelInfoLoaded(
179 const ServerBoundCertList& cert_list) { 180 const ServerBoundCertList& cert_list) {
180 server_bound_cert_list_ = cert_list; 181 server_bound_cert_list_ = cert_list;
181 DCHECK(model_); 182 DCHECK(model_);
182 model_->PopulateServerBoundCertInfo(this); 183 model_->PopulateServerBoundCertInfo(this);
183 } 184 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698