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

Side by Side Diff: chrome/browser/tab_contents/tab_specific_content_settings.cc

Issue 6670033: Use copies of canned browsing data helpers to populate the cookies tree model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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
« no previous file with comments | « chrome/browser/collected_cookies_uitest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/collected_cookies_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698