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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 // Checks if we are all done, and if so, calls Notify(). | 353 // Checks if we are all done, and if so, calls Notify(). |
354 void NotifyIfDone(); | 354 void NotifyIfDone(); |
355 | 355 |
356 // Called when history deletion is done. | 356 // Called when history deletion is done. |
357 void OnHistoryDeletionDone(); | 357 void OnHistoryDeletionDone(); |
358 | 358 |
359 // Callback for when the hostname resolution cache has been cleared. | 359 // Callback for when the hostname resolution cache has been cleared. |
360 // Clears the respective waiting flag and invokes NotifyIfDone. | 360 // Clears the respective waiting flag and invokes NotifyIfDone. |
361 void OnClearedHostnameResolutionCache(); | 361 void OnClearedHostnameResolutionCache(); |
362 | 362 |
| 363 // Callback for when HTTP auth cache has been cleared. |
| 364 // Clears the respective waiting flag and invokes NotifyIfDone. |
| 365 void OnClearedHttpAuthCache(); |
| 366 |
363 // Callback for when speculative data in the network Predictor has been | 367 // Callback for when speculative data in the network Predictor has been |
364 // cleared. Clears the respective waiting flag and invokes | 368 // cleared. Clears the respective waiting flag and invokes |
365 // NotifyIfDone. | 369 // NotifyIfDone. |
366 void OnClearedNetworkPredictor(); | 370 void OnClearedNetworkPredictor(); |
367 | 371 |
368 // Callback for when network related data in ProfileIOData has been cleared. | 372 // Callback for when network related data in ProfileIOData has been cleared. |
369 // Clears the respective waiting flag and invokes NotifyIfDone. | 373 // Clears the respective waiting flag and invokes NotifyIfDone. |
370 void OnClearedNetworkingHistory(); | 374 void OnClearedNetworkingHistory(); |
371 | 375 |
372 // Callback for when the cache has been deleted. Invokes | 376 // Callback for when the cache has been deleted. Invokes |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 bool waiting_for_clear_autofill_origin_urls_ = false; | 471 bool waiting_for_clear_autofill_origin_urls_ = false; |
468 bool waiting_for_clear_cache_ = false; | 472 bool waiting_for_clear_cache_ = false; |
469 bool waiting_for_clear_channel_ids_ = false; | 473 bool waiting_for_clear_channel_ids_ = false; |
470 bool waiting_for_clear_content_licenses_ = false; | 474 bool waiting_for_clear_content_licenses_ = false; |
471 // Non-zero if waiting for cookies to be cleared. | 475 // Non-zero if waiting for cookies to be cleared. |
472 int waiting_for_clear_cookies_count_ = 0; | 476 int waiting_for_clear_cookies_count_ = 0; |
473 bool waiting_for_clear_domain_reliability_monitor_ = false; | 477 bool waiting_for_clear_domain_reliability_monitor_ = false; |
474 bool waiting_for_clear_form_ = false; | 478 bool waiting_for_clear_form_ = false; |
475 bool waiting_for_clear_history_ = false; | 479 bool waiting_for_clear_history_ = false; |
476 bool waiting_for_clear_hostname_resolution_cache_ = false; | 480 bool waiting_for_clear_hostname_resolution_cache_ = false; |
| 481 bool waiting_for_clear_http_auth_cache_ = false; |
477 bool waiting_for_clear_keyword_data_ = false; | 482 bool waiting_for_clear_keyword_data_ = false; |
478 bool waiting_for_clear_nacl_cache_ = false; | 483 bool waiting_for_clear_nacl_cache_ = false; |
479 bool waiting_for_clear_network_predictor_ = false; | 484 bool waiting_for_clear_network_predictor_ = false; |
480 bool waiting_for_clear_networking_history_ = false; | 485 bool waiting_for_clear_networking_history_ = false; |
481 bool waiting_for_clear_passwords_ = false; | 486 bool waiting_for_clear_passwords_ = false; |
482 bool waiting_for_clear_passwords_stats_ = false; | 487 bool waiting_for_clear_passwords_stats_ = false; |
483 bool waiting_for_clear_platform_keys_ = false; | 488 bool waiting_for_clear_platform_keys_ = false; |
484 bool waiting_for_clear_plugin_data_ = false; | 489 bool waiting_for_clear_plugin_data_ = false; |
485 bool waiting_for_clear_pnacl_cache_ = false; | 490 bool waiting_for_clear_pnacl_cache_ = false; |
486 #if BUILDFLAG(ANDROID_JAVA_UI) | 491 #if BUILDFLAG(ANDROID_JAVA_UI) |
(...skipping 29 matching lines...) Expand all Loading... |
516 // not initialised, so the registry must be mocked out. | 521 // not initialised, so the registry must be mocked out. |
517 std::unique_ptr<WebappRegistry> webapp_registry_; | 522 std::unique_ptr<WebappRegistry> webapp_registry_; |
518 #endif | 523 #endif |
519 | 524 |
520 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; | 525 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; |
521 | 526 |
522 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 527 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
523 }; | 528 }; |
524 | 529 |
525 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 530 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
OLD | NEW |