OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/tab_contents/tab_specific_content_settings.h" | 5 #include "chrome/browser/tab_contents/tab_specific_content_settings.h" |
6 | 6 |
7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
8 #include "chrome/browser/browsing_data_appcache_helper.h" | 8 #include "chrome/browser/browsing_data_appcache_helper.h" |
9 #include "chrome/browser/browsing_data_database_helper.h" | 9 #include "chrome/browser/browsing_data_database_helper.h" |
10 #include "chrome/browser/browsing_data_indexed_db_helper.h" | 10 #include "chrome/browser/browsing_data_indexed_db_helper.h" |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 appcaches_->Reset(); | 307 appcaches_->Reset(); |
308 databases_->Reset(); | 308 databases_->Reset(); |
309 indexed_dbs_->Reset(); | 309 indexed_dbs_->Reset(); |
310 local_storages_->Reset(); | 310 local_storages_->Reset(); |
311 session_storages_->Reset(); | 311 session_storages_->Reset(); |
312 } | 312 } |
313 | 313 |
314 CookiesTreeModel* | 314 CookiesTreeModel* |
315 TabSpecificContentSettings::LocalSharedObjectsContainer::GetCookiesTreeModel() { | 315 TabSpecificContentSettings::LocalSharedObjectsContainer::GetCookiesTreeModel() { |
316 return new CookiesTreeModel(cookies_, | 316 return new CookiesTreeModel(cookies_, |
317 databases_, | 317 databases_->Clone(), |
318 local_storages_, | 318 local_storages_->Clone(), |
319 session_storages_, | 319 session_storages_->Clone(), |
320 appcaches_, | 320 appcaches_->Clone(), |
321 indexed_dbs_); | 321 indexed_dbs_->Clone()); |
322 } | 322 } |
OLD | NEW |