| 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 // Checks if we are all done, and if so, calls Notify(). | 414 // Checks if we are all done, and if so, calls Notify(). |
| 415 void NotifyIfDone(); | 415 void NotifyIfDone(); |
| 416 | 416 |
| 417 // Called when history deletion is done. | 417 // Called when history deletion is done. |
| 418 void OnHistoryDeletionDone(); | 418 void OnHistoryDeletionDone(); |
| 419 | 419 |
| 420 // Callback for when the hostname resolution cache has been cleared. | 420 // Callback for when the hostname resolution cache has been cleared. |
| 421 // Clears the respective waiting flag and invokes NotifyIfDone. | 421 // Clears the respective waiting flag and invokes NotifyIfDone. |
| 422 void OnClearedHostnameResolutionCache(); | 422 void OnClearedHostnameResolutionCache(); |
| 423 | 423 |
| 424 // Callback for when HTTP auth cache has been cleared. |
| 425 // Clears the respective waiting flag and invokes NotifyIfDone. |
| 426 void OnClearedHttpAuthCache(); |
| 427 |
| 424 // Callback for when speculative data in the network Predictor has been | 428 // Callback for when speculative data in the network Predictor has been |
| 425 // cleared. Clears the respective waiting flag and invokes | 429 // cleared. Clears the respective waiting flag and invokes |
| 426 // NotifyIfDone. | 430 // NotifyIfDone. |
| 427 void OnClearedNetworkPredictor(); | 431 void OnClearedNetworkPredictor(); |
| 428 | 432 |
| 429 // Callback for when network related data in ProfileIOData has been cleared. | 433 // Callback for when network related data in ProfileIOData has been cleared. |
| 430 // Clears the respective waiting flag and invokes NotifyIfDone. | 434 // Clears the respective waiting flag and invokes NotifyIfDone. |
| 431 void OnClearedNetworkingHistory(); | 435 void OnClearedNetworkingHistory(); |
| 432 | 436 |
| 433 // Callback for when the cache has been deleted. Invokes | 437 // Callback for when the cache has been deleted. Invokes |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 bool waiting_for_clear_autofill_origin_urls_ = false; | 536 bool waiting_for_clear_autofill_origin_urls_ = false; |
| 533 bool waiting_for_clear_cache_ = false; | 537 bool waiting_for_clear_cache_ = false; |
| 534 bool waiting_for_clear_channel_ids_ = false; | 538 bool waiting_for_clear_channel_ids_ = false; |
| 535 bool waiting_for_clear_flash_content_licenses_ = false; | 539 bool waiting_for_clear_flash_content_licenses_ = false; |
| 536 // Non-zero if waiting for cookies to be cleared. | 540 // Non-zero if waiting for cookies to be cleared. |
| 537 int waiting_for_clear_cookies_count_ = 0; | 541 int waiting_for_clear_cookies_count_ = 0; |
| 538 bool waiting_for_clear_domain_reliability_monitor_ = false; | 542 bool waiting_for_clear_domain_reliability_monitor_ = false; |
| 539 bool waiting_for_clear_form_ = false; | 543 bool waiting_for_clear_form_ = false; |
| 540 bool waiting_for_clear_history_ = false; | 544 bool waiting_for_clear_history_ = false; |
| 541 bool waiting_for_clear_hostname_resolution_cache_ = false; | 545 bool waiting_for_clear_hostname_resolution_cache_ = false; |
| 546 bool waiting_for_clear_http_auth_cache_ = false; |
| 542 bool waiting_for_clear_keyword_data_ = false; | 547 bool waiting_for_clear_keyword_data_ = false; |
| 543 bool waiting_for_clear_nacl_cache_ = false; | 548 bool waiting_for_clear_nacl_cache_ = false; |
| 544 bool waiting_for_clear_network_predictor_ = false; | 549 bool waiting_for_clear_network_predictor_ = false; |
| 545 bool waiting_for_clear_networking_history_ = false; | 550 bool waiting_for_clear_networking_history_ = false; |
| 546 bool waiting_for_clear_passwords_ = false; | 551 bool waiting_for_clear_passwords_ = false; |
| 547 bool waiting_for_clear_passwords_stats_ = false; | 552 bool waiting_for_clear_passwords_stats_ = false; |
| 548 bool waiting_for_clear_platform_keys_ = false; | 553 bool waiting_for_clear_platform_keys_ = false; |
| 549 bool waiting_for_clear_plugin_data_ = false; | 554 bool waiting_for_clear_plugin_data_ = false; |
| 550 bool waiting_for_clear_pnacl_cache_ = false; | 555 bool waiting_for_clear_pnacl_cache_ = false; |
| 551 #if BUILDFLAG(ANDROID_JAVA_UI) | 556 #if BUILDFLAG(ANDROID_JAVA_UI) |
| (...skipping 30 matching lines...) Expand all Loading... |
| 582 // not initialised, so the registry must be mocked out. | 587 // not initialised, so the registry must be mocked out. |
| 583 std::unique_ptr<WebappRegistry> webapp_registry_; | 588 std::unique_ptr<WebappRegistry> webapp_registry_; |
| 584 #endif | 589 #endif |
| 585 | 590 |
| 586 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; | 591 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; |
| 587 | 592 |
| 588 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 593 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
| 589 }; | 594 }; |
| 590 | 595 |
| 591 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 596 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| OLD | NEW |