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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 // Checks if we are all done, and if so, calls Notify(). | 332 // Checks if we are all done, and if so, calls Notify(). |
333 void NotifyIfDone(); | 333 void NotifyIfDone(); |
334 | 334 |
335 // Called when history deletion is done. | 335 // Called when history deletion is done. |
336 void OnHistoryDeletionDone(); | 336 void OnHistoryDeletionDone(); |
337 | 337 |
338 // Callback for when the hostname resolution cache has been cleared. | 338 // Callback for when the hostname resolution cache has been cleared. |
339 // Clears the respective waiting flag and invokes NotifyIfDone. | 339 // Clears the respective waiting flag and invokes NotifyIfDone. |
340 void OnClearedHostnameResolutionCache(); | 340 void OnClearedHostnameResolutionCache(); |
341 | 341 |
| 342 // Callback for when HTTP auth cache has been cleared. |
| 343 // Clears the respective waiting flag and invokes NotifyIfDone. |
| 344 void OnClearedHttpAuthCache(); |
| 345 |
342 // Callback for when speculative data in the network Predictor has been | 346 // Callback for when speculative data in the network Predictor has been |
343 // cleared. Clears the respective waiting flag and invokes | 347 // cleared. Clears the respective waiting flag and invokes |
344 // NotifyIfDone. | 348 // NotifyIfDone. |
345 void OnClearedNetworkPredictor(); | 349 void OnClearedNetworkPredictor(); |
346 | 350 |
347 // Callback for when network related data in ProfileIOData has been cleared. | 351 // Callback for when network related data in ProfileIOData has been cleared. |
348 // Clears the respective waiting flag and invokes NotifyIfDone. | 352 // Clears the respective waiting flag and invokes NotifyIfDone. |
349 void OnClearedNetworkingHistory(); | 353 void OnClearedNetworkingHistory(); |
350 | 354 |
351 // Callback for when the cache has been deleted. Invokes | 355 // Callback for when the cache has been deleted. Invokes |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 bool waiting_for_clear_autofill_origin_urls_ = false; | 450 bool waiting_for_clear_autofill_origin_urls_ = false; |
447 bool waiting_for_clear_cache_ = false; | 451 bool waiting_for_clear_cache_ = false; |
448 bool waiting_for_clear_channel_ids_ = false; | 452 bool waiting_for_clear_channel_ids_ = false; |
449 bool waiting_for_clear_flash_content_licenses_ = false; | 453 bool waiting_for_clear_flash_content_licenses_ = false; |
450 // Non-zero if waiting for cookies to be cleared. | 454 // Non-zero if waiting for cookies to be cleared. |
451 int waiting_for_clear_cookies_count_ = 0; | 455 int waiting_for_clear_cookies_count_ = 0; |
452 bool waiting_for_clear_domain_reliability_monitor_ = false; | 456 bool waiting_for_clear_domain_reliability_monitor_ = false; |
453 bool waiting_for_clear_form_ = false; | 457 bool waiting_for_clear_form_ = false; |
454 bool waiting_for_clear_history_ = false; | 458 bool waiting_for_clear_history_ = false; |
455 bool waiting_for_clear_hostname_resolution_cache_ = false; | 459 bool waiting_for_clear_hostname_resolution_cache_ = false; |
| 460 bool waiting_for_clear_http_auth_cache_ = false; |
456 bool waiting_for_clear_keyword_data_ = false; | 461 bool waiting_for_clear_keyword_data_ = false; |
457 bool waiting_for_clear_nacl_cache_ = false; | 462 bool waiting_for_clear_nacl_cache_ = false; |
458 bool waiting_for_clear_network_predictor_ = false; | 463 bool waiting_for_clear_network_predictor_ = false; |
459 bool waiting_for_clear_networking_history_ = false; | 464 bool waiting_for_clear_networking_history_ = false; |
460 bool waiting_for_clear_passwords_ = false; | 465 bool waiting_for_clear_passwords_ = false; |
461 bool waiting_for_clear_passwords_stats_ = false; | 466 bool waiting_for_clear_passwords_stats_ = false; |
462 bool waiting_for_clear_platform_keys_ = false; | 467 bool waiting_for_clear_platform_keys_ = false; |
463 bool waiting_for_clear_plugin_data_ = false; | 468 bool waiting_for_clear_plugin_data_ = false; |
464 bool waiting_for_clear_pnacl_cache_ = false; | 469 bool waiting_for_clear_pnacl_cache_ = false; |
465 #if BUILDFLAG(ANDROID_JAVA_UI) | 470 #if BUILDFLAG(ANDROID_JAVA_UI) |
(...skipping 29 matching lines...) Expand all Loading... |
495 // not initialised, so the registry must be mocked out. | 500 // not initialised, so the registry must be mocked out. |
496 std::unique_ptr<WebappRegistry> webapp_registry_; | 501 std::unique_ptr<WebappRegistry> webapp_registry_; |
497 #endif | 502 #endif |
498 | 503 |
499 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; | 504 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; |
500 | 505 |
501 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 506 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
502 }; | 507 }; |
503 | 508 |
504 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 509 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
OLD | NEW |