OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_REMOVER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 bool waiting_for_clear_networking_history_; | 247 bool waiting_for_clear_networking_history_; |
248 bool waiting_for_clear_cookies_; | 248 bool waiting_for_clear_cookies_; |
249 bool waiting_for_clear_cache_; | 249 bool waiting_for_clear_cache_; |
250 bool waiting_for_clear_lso_data_; | 250 bool waiting_for_clear_lso_data_; |
251 | 251 |
252 // Tracking how many origins need to be deleted, and whether we're finished | 252 // Tracking how many origins need to be deleted, and whether we're finished |
253 // gathering origins. | 253 // gathering origins. |
254 int quota_managed_origins_to_delete_count_; | 254 int quota_managed_origins_to_delete_count_; |
255 int quota_managed_storage_types_to_delete_count_; | 255 int quota_managed_storage_types_to_delete_count_; |
256 | 256 |
| 257 // Quota managed data uses a different bitmask for types than |
| 258 // BrowsingDataRemover uses. We'll generate that mask in Remove() and store it |
| 259 // here for use in the quota managed data removal methods. |
| 260 int quota_client_mask_; |
| 261 |
257 ObserverList<Observer> observer_list_; | 262 ObserverList<Observer> observer_list_; |
258 | 263 |
259 // Used if we need to clear history. | 264 // Used if we need to clear history. |
260 CancelableRequestConsumer request_consumer_; | 265 CancelableRequestConsumer request_consumer_; |
261 | 266 |
262 // Keeps track of whether clearing LSO data is supported. | 267 // Keeps track of whether clearing LSO data is supported. |
263 BooleanPrefMember clear_plugin_lso_data_enabled_; | 268 BooleanPrefMember clear_plugin_lso_data_enabled_; |
264 | 269 |
265 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 270 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
266 }; | 271 }; |
267 | 272 |
268 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ | 273 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ |
OLD | NEW |