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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 SubTask clear_http_auth_cache_; | 280 SubTask clear_http_auth_cache_; |
281 SubTask clear_platform_keys_; | 281 SubTask clear_platform_keys_; |
282 #if defined(OS_ANDROID) | 282 #if defined(OS_ANDROID) |
283 SubTask clear_precache_history_; | 283 SubTask clear_precache_history_; |
284 SubTask clear_offline_page_data_; | 284 SubTask clear_offline_page_data_; |
285 #endif | 285 #endif |
286 #if BUILDFLAG(ENABLE_WEBRTC) | 286 #if BUILDFLAG(ENABLE_WEBRTC) |
287 SubTask clear_webrtc_logs_; | 287 SubTask clear_webrtc_logs_; |
288 #endif | 288 #endif |
289 SubTask clear_auto_sign_in_; | 289 SubTask clear_auto_sign_in_; |
| 290 SubTask clear_reporting_cache_; |
290 // Counts the number of plugin data tasks. Should be the number of LSO cookies | 291 // Counts the number of plugin data tasks. Should be the number of LSO cookies |
291 // to be deleted, or 1 while we're fetching LSO cookies or deleting in bulk. | 292 // to be deleted, or 1 while we're fetching LSO cookies or deleting in bulk. |
292 int clear_plugin_data_count_ = 0; | 293 int clear_plugin_data_count_ = 0; |
293 | 294 |
294 #if BUILDFLAG(ENABLE_PLUGINS) | 295 #if BUILDFLAG(ENABLE_PLUGINS) |
295 // Used to delete plugin data. | 296 // Used to delete plugin data. |
296 std::unique_ptr<content::PluginDataRemover> plugin_data_remover_; | 297 std::unique_ptr<content::PluginDataRemover> plugin_data_remover_; |
297 base::WaitableEventWatcher watcher_; | 298 base::WaitableEventWatcher watcher_; |
298 | 299 |
299 // Used for per-site plugin data deletion. | 300 // Used for per-site plugin data deletion. |
(...skipping 15 matching lines...) Expand all Loading... |
315 // not initialised, so the registry must be mocked out. | 316 // not initialised, so the registry must be mocked out. |
316 std::unique_ptr<WebappRegistry> webapp_registry_; | 317 std::unique_ptr<WebappRegistry> webapp_registry_; |
317 #endif | 318 #endif |
318 | 319 |
319 base::WeakPtrFactory<ChromeBrowsingDataRemoverDelegate> weak_ptr_factory_; | 320 base::WeakPtrFactory<ChromeBrowsingDataRemoverDelegate> weak_ptr_factory_; |
320 | 321 |
321 DISALLOW_COPY_AND_ASSIGN(ChromeBrowsingDataRemoverDelegate); | 322 DISALLOW_COPY_AND_ASSIGN(ChromeBrowsingDataRemoverDelegate); |
322 }; | 323 }; |
323 | 324 |
324 #endif // CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ | 325 #endif // CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ |
OLD | NEW |