OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |