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

Side by Side Diff: chrome/browser/browsing_data/local_data_container.h

Issue 13954002: Refactor IndexedDBInfo out of browsingdata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cocoa unit tests Created 7 years, 8 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 #ifndef CHROME_BROWSER_BROWSING_DATA_LOCAL_DATA_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_LOCAL_DATA_CONTAINER_H_
6 #define CHROME_BROWSER_BROWSING_DATA_LOCAL_DATA_CONTAINER_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_LOCAL_DATA_CONTAINER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 22 matching lines...) Expand all
33 33
34 // Friendly typedefs for the multiple types of lists used in the model. 34 // Friendly typedefs for the multiple types of lists used in the model.
35 namespace { 35 namespace {
36 36
37 typedef std::list<net::CanonicalCookie> CookieList; 37 typedef std::list<net::CanonicalCookie> CookieList;
38 typedef std::list<BrowsingDataDatabaseHelper::DatabaseInfo> DatabaseInfoList; 38 typedef std::list<BrowsingDataDatabaseHelper::DatabaseInfo> DatabaseInfoList;
39 typedef std::list<BrowsingDataLocalStorageHelper::LocalStorageInfo> 39 typedef std::list<BrowsingDataLocalStorageHelper::LocalStorageInfo>
40 LocalStorageInfoList; 40 LocalStorageInfoList;
41 typedef std::list<BrowsingDataLocalStorageHelper::LocalStorageInfo> 41 typedef std::list<BrowsingDataLocalStorageHelper::LocalStorageInfo>
42 SessionStorageInfoList; 42 SessionStorageInfoList;
43 typedef std::list<BrowsingDataIndexedDBHelper::IndexedDBInfo> 43 typedef std::list<content::IndexedDBInfo>
44 IndexedDBInfoList; 44 IndexedDBInfoList;
45 typedef std::list<BrowsingDataFileSystemHelper::FileSystemInfo> 45 typedef std::list<BrowsingDataFileSystemHelper::FileSystemInfo>
46 FileSystemInfoList; 46 FileSystemInfoList;
47 typedef std::list<BrowsingDataQuotaHelper::QuotaInfo> QuotaInfoList; 47 typedef std::list<BrowsingDataQuotaHelper::QuotaInfo> QuotaInfoList;
48 typedef net::ServerBoundCertStore::ServerBoundCertList ServerBoundCertList; 48 typedef net::ServerBoundCertStore::ServerBoundCertList ServerBoundCertList;
49 typedef std::map<GURL, std::list<appcache::AppCacheInfo> > AppCacheInfoMap; 49 typedef std::map<GURL, std::list<appcache::AppCacheInfo> > AppCacheInfoMap;
50 typedef std::vector<std::string> FlashLSODomainList; 50 typedef std::vector<std::string> FlashLSODomainList;
51 51
52 } // namespace 52 } // namespace
53 53
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // A delegate, which must outlive this object. The update callbacks use the 134 // A delegate, which must outlive this object. The update callbacks use the
135 // delegate to deliver the updated data to the CookieTreeModel. 135 // delegate to deliver the updated data to the CookieTreeModel.
136 CookiesTreeModel* model_; 136 CookiesTreeModel* model_;
137 137
138 base::WeakPtrFactory<LocalDataContainer> weak_ptr_factory_; 138 base::WeakPtrFactory<LocalDataContainer> weak_ptr_factory_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(LocalDataContainer); 140 DISALLOW_COPY_AND_ASSIGN(LocalDataContainer);
141 }; 141 };
142 142
143 #endif // CHROME_BROWSER_BROWSING_DATA_LOCAL_DATA_CONTAINER_H_ 143 #endif // CHROME_BROWSER_BROWSING_DATA_LOCAL_DATA_CONTAINER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698