| 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_BROWSING_DATA_REMOVER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 | 453 |
| 454 #if defined(ENABLE_WEBRTC) | 454 #if defined(ENABLE_WEBRTC) |
| 455 // Callback on UI thread when the WebRTC logs have been deleted. | 455 // Callback on UI thread when the WebRTC logs have been deleted. |
| 456 void OnClearedWebRtcLogs(); | 456 void OnClearedWebRtcLogs(); |
| 457 #endif | 457 #endif |
| 458 | 458 |
| 459 #if BUILDFLAG(ANDROID_JAVA_UI) | 459 #if BUILDFLAG(ANDROID_JAVA_UI) |
| 460 // Callback on UI thread when the precache history has been cleared. | 460 // Callback on UI thread when the precache history has been cleared. |
| 461 void OnClearedPrecacheHistory(); | 461 void OnClearedPrecacheHistory(); |
| 462 | 462 |
| 463 // Callback on UI thread when the webapp data has been cleared. |
| 464 void OnClearedWebappData(); |
| 465 |
| 466 // Callback on UI thread when the webapp history has been cleared. |
| 467 void OnClearedWebappHistory(); |
| 468 |
| 463 // Callback on UI thread when the offline page data has been cleared. | 469 // Callback on UI thread when the offline page data has been cleared. |
| 464 void OnClearedOfflinePageData( | 470 void OnClearedOfflinePageData( |
| 465 offline_pages::OfflinePageModel::DeletePageResult result); | 471 offline_pages::OfflinePageModel::DeletePageResult result); |
| 466 #endif | 472 #endif |
| 467 | 473 |
| 468 void OnClearedDomainReliabilityMonitor(); | 474 void OnClearedDomainReliabilityMonitor(); |
| 469 | 475 |
| 470 // Returns true if we're all done. | 476 // Returns true if we're all done. |
| 471 bool AllDone(); | 477 bool AllDone(); |
| 472 | 478 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 bool waiting_for_clear_keyword_data_ = false; | 535 bool waiting_for_clear_keyword_data_ = false; |
| 530 bool waiting_for_clear_nacl_cache_ = false; | 536 bool waiting_for_clear_nacl_cache_ = false; |
| 531 bool waiting_for_clear_network_predictor_ = false; | 537 bool waiting_for_clear_network_predictor_ = false; |
| 532 bool waiting_for_clear_networking_history_ = false; | 538 bool waiting_for_clear_networking_history_ = false; |
| 533 bool waiting_for_clear_passwords_ = false; | 539 bool waiting_for_clear_passwords_ = false; |
| 534 bool waiting_for_clear_passwords_stats_ = false; | 540 bool waiting_for_clear_passwords_stats_ = false; |
| 535 bool waiting_for_clear_platform_keys_ = false; | 541 bool waiting_for_clear_platform_keys_ = false; |
| 536 bool waiting_for_clear_pnacl_cache_ = false; | 542 bool waiting_for_clear_pnacl_cache_ = false; |
| 537 #if BUILDFLAG(ANDROID_JAVA_UI) | 543 #if BUILDFLAG(ANDROID_JAVA_UI) |
| 538 bool waiting_for_clear_precache_history_ = false; | 544 bool waiting_for_clear_precache_history_ = false; |
| 545 bool waiting_for_clear_webapp_data_ = false; |
| 546 bool waiting_for_clear_webapp_history_ = false; |
| 539 bool waiting_for_clear_offline_page_data_ = false; | 547 bool waiting_for_clear_offline_page_data_ = false; |
| 540 #endif | 548 #endif |
| 541 bool waiting_for_clear_storage_partition_data_ = false; | 549 bool waiting_for_clear_storage_partition_data_ = false; |
| 542 #if defined(ENABLE_WEBRTC) | 550 #if defined(ENABLE_WEBRTC) |
| 543 bool waiting_for_clear_webrtc_logs_ = false; | 551 bool waiting_for_clear_webrtc_logs_ = false; |
| 544 #endif | 552 #endif |
| 545 bool waiting_for_clear_auto_sign_in_ = false; | 553 bool waiting_for_clear_auto_sign_in_ = false; |
| 546 | 554 |
| 547 // Observers of the global state and individual tasks. | 555 // Observers of the global state and individual tasks. |
| 548 base::ObserverList<Observer, true> observer_list_; | 556 base::ObserverList<Observer, true> observer_list_; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 560 // not initialised, so the registry must be mocked out. | 568 // not initialised, so the registry must be mocked out. |
| 561 std::unique_ptr<WebappRegistry> webapp_registry_; | 569 std::unique_ptr<WebappRegistry> webapp_registry_; |
| 562 #endif | 570 #endif |
| 563 | 571 |
| 564 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; | 572 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; |
| 565 | 573 |
| 566 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 574 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
| 567 }; | 575 }; |
| 568 | 576 |
| 569 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 577 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| OLD | NEW |