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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 FileSystemInfoList file_system_info_list_; | 136 FileSystemInfoList file_system_info_list_; |
137 QuotaInfoList quota_info_list_; | 137 QuotaInfoList quota_info_list_; |
138 ChannelIDList channel_id_list_; | 138 ChannelIDList channel_id_list_; |
139 ServiceWorkerUsageInfoList service_worker_info_list_; | 139 ServiceWorkerUsageInfoList service_worker_info_list_; |
140 FlashLSODomainList flash_lso_domain_list_; | 140 FlashLSODomainList flash_lso_domain_list_; |
141 | 141 |
142 // A delegate, which must outlive this object. The update callbacks use the | 142 // A delegate, which must outlive this object. The update callbacks use the |
143 // delegate to deliver the updated data to the CookieTreeModel. | 143 // delegate to deliver the updated data to the CookieTreeModel. |
144 CookiesTreeModel* model_; | 144 CookiesTreeModel* model_; |
145 | 145 |
| 146 // Keeps track of how many batches are expected to start. |
| 147 int batches_started_; |
| 148 |
146 base::WeakPtrFactory<LocalDataContainer> weak_ptr_factory_; | 149 base::WeakPtrFactory<LocalDataContainer> weak_ptr_factory_; |
147 | 150 |
148 DISALLOW_COPY_AND_ASSIGN(LocalDataContainer); | 151 DISALLOW_COPY_AND_ASSIGN(LocalDataContainer); |
149 }; | 152 }; |
150 | 153 |
151 #endif // CHROME_BROWSER_BROWSING_DATA_LOCAL_DATA_CONTAINER_H_ | 154 #endif // CHROME_BROWSER_BROWSING_DATA_LOCAL_DATA_CONTAINER_H_ |
OLD | NEW |