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 #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 28 matching lines...) Expand all Loading... |
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<content::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<content::AppCacheInfo> > AppCacheInfoMap; |
50 typedef std::vector<std::string> FlashLSODomainList; | 50 typedef std::vector<std::string> FlashLSODomainList; |
51 | 51 |
52 } // namespace | 52 } // namespace |
53 | 53 |
54 // LocalDataContainer --------------------------------------------------------- | 54 // LocalDataContainer --------------------------------------------------------- |
55 // This class is a wrapper around all the BrowsingData*Helper classes. Because | 55 // This class is a wrapper around all the BrowsingData*Helper classes. Because |
56 // isolated applications have separate storage, we need different helper | 56 // isolated applications have separate storage, we need different helper |
57 // instances. As such, this class contains the app name and id, along with the | 57 // instances. As such, this class contains the app name and id, along with the |
58 // helpers for all of the data types we need. The browser-wide "app id" will be | 58 // helpers for all of the data types we need. The browser-wide "app id" will be |
59 // the empty string, as no app can have an empty id. | 59 // the empty string, as no app can have an empty id. |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_ |
OLD | NEW |