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/browsing_data/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/browsing_data_cookie_helper.h" |
10 #include "chrome/browser/browsing_data_server_bound_cert_helper.h" | 10 #include "chrome/browser/browsing_data/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 #include "net/cookies/canonical_cookie.h" |
14 | 14 |
15 /////////////////////////////////////////////////////////////////////////////// | 15 /////////////////////////////////////////////////////////////////////////////// |
16 // LocalDataContainer, public: | 16 // LocalDataContainer, public: |
17 | 17 |
18 LocalDataContainer::LocalDataContainer( | 18 LocalDataContainer::LocalDataContainer( |
19 const std::string& app_name, | 19 const std::string& app_name, |
20 const std::string& app_id, | 20 const std::string& app_id, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 DCHECK(model_); | 175 DCHECK(model_); |
176 model_->PopulateQuotaInfo(this); | 176 model_->PopulateQuotaInfo(this); |
177 } | 177 } |
178 | 178 |
179 void LocalDataContainer::OnServerBoundCertModelInfoLoaded( | 179 void LocalDataContainer::OnServerBoundCertModelInfoLoaded( |
180 const ServerBoundCertList& cert_list) { | 180 const ServerBoundCertList& cert_list) { |
181 server_bound_cert_list_ = cert_list; | 181 server_bound_cert_list_ = cert_list; |
182 DCHECK(model_); | 182 DCHECK(model_); |
183 model_->PopulateServerBoundCertInfo(this); | 183 model_->PopulateServerBoundCertInfo(this); |
184 } | 184 } |
OLD | NEW |