| 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 <set> | 10 #include <set> |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 // Checks if we are all done, and if so, calls Notify(). | 317 // Checks if we are all done, and if so, calls Notify(). |
| 318 void NotifyIfDone(); | 318 void NotifyIfDone(); |
| 319 | 319 |
| 320 // Called when history deletion is done. | 320 // Called when history deletion is done. |
| 321 void OnHistoryDeletionDone(); | 321 void OnHistoryDeletionDone(); |
| 322 | 322 |
| 323 // Callback for when the hostname resolution cache has been cleared. | 323 // Callback for when the hostname resolution cache has been cleared. |
| 324 // Clears the respective waiting flag and invokes NotifyIfDone. | 324 // Clears the respective waiting flag and invokes NotifyIfDone. |
| 325 void OnClearedHostnameResolutionCache(); | 325 void OnClearedHostnameResolutionCache(); |
| 326 | 326 |
| 327 // Callback for when HTTP auth cache has been cleared. |
| 328 // Clears the respective waiting flag and invokes NotifyIfDone. |
| 329 void OnClearedHttpAuthCache(); |
| 330 |
| 327 // Callback for when speculative data in the network Predictor has been | 331 // Callback for when speculative data in the network Predictor has been |
| 328 // cleared. Clears the respective waiting flag and invokes | 332 // cleared. Clears the respective waiting flag and invokes |
| 329 // NotifyIfDone. | 333 // NotifyIfDone. |
| 330 void OnClearedNetworkPredictor(); | 334 void OnClearedNetworkPredictor(); |
| 331 | 335 |
| 332 // Callback for when network related data in ProfileIOData has been cleared. | 336 // Callback for when network related data in ProfileIOData has been cleared. |
| 333 // Clears the respective waiting flag and invokes NotifyIfDone. | 337 // Clears the respective waiting flag and invokes NotifyIfDone. |
| 334 void OnClearedNetworkingHistory(); | 338 void OnClearedNetworkingHistory(); |
| 335 | 339 |
| 336 // Callback for when the cache has been deleted. Invokes | 340 // Callback for when the cache has been deleted. Invokes |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 bool waiting_for_clear_autofill_origin_urls_ = false; | 436 bool waiting_for_clear_autofill_origin_urls_ = false; |
| 433 bool waiting_for_clear_cache_ = false; | 437 bool waiting_for_clear_cache_ = false; |
| 434 bool waiting_for_clear_channel_ids_ = false; | 438 bool waiting_for_clear_channel_ids_ = false; |
| 435 bool waiting_for_clear_flash_content_licenses_ = false; | 439 bool waiting_for_clear_flash_content_licenses_ = false; |
| 436 // Non-zero if waiting for cookies to be cleared. | 440 // Non-zero if waiting for cookies to be cleared. |
| 437 int waiting_for_clear_cookies_count_ = 0; | 441 int waiting_for_clear_cookies_count_ = 0; |
| 438 bool waiting_for_clear_domain_reliability_monitor_ = false; | 442 bool waiting_for_clear_domain_reliability_monitor_ = false; |
| 439 bool waiting_for_clear_form_ = false; | 443 bool waiting_for_clear_form_ = false; |
| 440 bool waiting_for_clear_history_ = false; | 444 bool waiting_for_clear_history_ = false; |
| 441 bool waiting_for_clear_hostname_resolution_cache_ = false; | 445 bool waiting_for_clear_hostname_resolution_cache_ = false; |
| 446 bool waiting_for_clear_http_auth_cache_ = false; |
| 442 bool waiting_for_clear_keyword_data_ = false; | 447 bool waiting_for_clear_keyword_data_ = false; |
| 443 bool waiting_for_clear_nacl_cache_ = false; | 448 bool waiting_for_clear_nacl_cache_ = false; |
| 444 bool waiting_for_clear_network_predictor_ = false; | 449 bool waiting_for_clear_network_predictor_ = false; |
| 445 bool waiting_for_clear_networking_history_ = false; | 450 bool waiting_for_clear_networking_history_ = false; |
| 446 bool waiting_for_clear_passwords_ = false; | 451 bool waiting_for_clear_passwords_ = false; |
| 447 bool waiting_for_clear_passwords_stats_ = false; | 452 bool waiting_for_clear_passwords_stats_ = false; |
| 448 bool waiting_for_clear_platform_keys_ = false; | 453 bool waiting_for_clear_platform_keys_ = false; |
| 449 bool waiting_for_clear_plugin_data_ = false; | 454 bool waiting_for_clear_plugin_data_ = false; |
| 450 bool waiting_for_clear_pnacl_cache_ = false; | 455 bool waiting_for_clear_pnacl_cache_ = false; |
| 451 #if BUILDFLAG(ANDROID_JAVA_UI) | 456 #if BUILDFLAG(ANDROID_JAVA_UI) |
| (...skipping 29 matching lines...) Expand all Loading... |
| 481 // not initialised, so the registry must be mocked out. | 486 // not initialised, so the registry must be mocked out. |
| 482 std::unique_ptr<WebappRegistry> webapp_registry_; | 487 std::unique_ptr<WebappRegistry> webapp_registry_; |
| 483 #endif | 488 #endif |
| 484 | 489 |
| 485 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; | 490 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; |
| 486 | 491 |
| 487 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 492 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
| 488 }; | 493 }; |
| 489 | 494 |
| 490 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 495 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| OLD | NEW |