OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 SubTask clear_http_auth_cache_; | 267 SubTask clear_http_auth_cache_; |
268 SubTask clear_platform_keys_; | 268 SubTask clear_platform_keys_; |
269 #if defined(OS_ANDROID) | 269 #if defined(OS_ANDROID) |
270 SubTask clear_precache_history_; | 270 SubTask clear_precache_history_; |
271 SubTask clear_offline_page_data_; | 271 SubTask clear_offline_page_data_; |
272 #endif | 272 #endif |
273 #if BUILDFLAG(ENABLE_WEBRTC) | 273 #if BUILDFLAG(ENABLE_WEBRTC) |
274 SubTask clear_webrtc_logs_; | 274 SubTask clear_webrtc_logs_; |
275 #endif | 275 #endif |
276 SubTask clear_auto_sign_in_; | 276 SubTask clear_auto_sign_in_; |
| 277 SubTask clear_reporting_cache_; |
277 // Counts the number of plugin data tasks. Should be the number of LSO cookies | 278 // Counts the number of plugin data tasks. Should be the number of LSO cookies |
278 // to be deleted, or 1 while we're fetching LSO cookies or deleting in bulk. | 279 // to be deleted, or 1 while we're fetching LSO cookies or deleting in bulk. |
279 int clear_plugin_data_count_ = 0; | 280 int clear_plugin_data_count_ = 0; |
280 | 281 |
281 #if BUILDFLAG(ENABLE_PLUGINS) | 282 #if BUILDFLAG(ENABLE_PLUGINS) |
282 // Used to delete plugin data. | 283 // Used to delete plugin data. |
283 std::unique_ptr<content::PluginDataRemover> plugin_data_remover_; | 284 std::unique_ptr<content::PluginDataRemover> plugin_data_remover_; |
284 base::WaitableEventWatcher watcher_; | 285 base::WaitableEventWatcher watcher_; |
285 | 286 |
286 // Used for per-site plugin data deletion. | 287 // Used for per-site plugin data deletion. |
(...skipping 15 matching lines...) Expand all Loading... |
302 // not initialised, so the registry must be mocked out. | 303 // not initialised, so the registry must be mocked out. |
303 std::unique_ptr<WebappRegistry> webapp_registry_; | 304 std::unique_ptr<WebappRegistry> webapp_registry_; |
304 #endif | 305 #endif |
305 | 306 |
306 base::WeakPtrFactory<ChromeBrowsingDataRemoverDelegate> weak_ptr_factory_; | 307 base::WeakPtrFactory<ChromeBrowsingDataRemoverDelegate> weak_ptr_factory_; |
307 | 308 |
308 DISALLOW_COPY_AND_ASSIGN(ChromeBrowsingDataRemoverDelegate); | 309 DISALLOW_COPY_AND_ASSIGN(ChromeBrowsingDataRemoverDelegate); |
309 }; | 310 }; |
310 | 311 |
311 #endif // CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ | 312 #endif // CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ |
OLD | NEW |