Index: chrome/browser/browsing_data/browsing_data_remover.h |
diff --git a/chrome/browser/browsing_data/browsing_data_remover.h b/chrome/browser/browsing_data/browsing_data_remover.h |
index 87d305bff6c5ccbf915b5acac313b26f0439184a..25d6145592e52c3082f27bbe327129856f9f96df 100644 |
--- a/chrome/browser/browsing_data/browsing_data_remover.h |
+++ b/chrome/browser/browsing_data/browsing_data_remover.h |
@@ -225,13 +225,24 @@ class BrowsingDataRemover : public content::NotificationObserver, |
// object. |
void NotifyAndDeleteIfDone(); |
- // Callback when the network history has been deleted. Invokes |
- // NotifyAndDeleteIfDone. |
- void ClearedNetworkHistory(); |
+ // Callback when the hostname resolution cache has been cleared. |
+ // Clears the respective waiting flag and invokes NotifyAndDeleteIfDone. |
+ void OnClearedHostnameResolutionCache(); |
+ |
+ // Invoked on the IO thread to clear the hostname resolution cache. |
+ void ClearHostnameResolutionCacheOnIOThread(IOThread* io_thread); |
+ |
+ // Callback when speculative data in the network Predictor has been cleared. |
+ // Clears the respective waiting flag and invokes NotifyAndDeleteIfDone. |
+ void OnClearedNetworkPredictor(); |
+ |
+ // Invoked on the IO thread to clear speculative data related to hostname |
+ // pre-resolution from the network Predictor. |
+ void ClearNetworkPredictorOnIOThread(); |
- // Invoked on the IO thread to clear the HostCache, speculative data about |
- // subresources on visited sites, and initial navigation history. |
- void ClearNetworkingHistory(IOThread* io_thread); |
+ // Callback when network related data in ProfileIOData has been cleared. |
+ // Clears the respective waiting flag and invokes NotifyAndDeleteIfDone. |
+ void OnClearedNetworkingHistory(); |
// Callback when the cache has been deleted. Invokes NotifyAndDeleteIfDone. |
void ClearedCache(); |
@@ -372,6 +383,8 @@ class BrowsingDataRemover : public content::NotificationObserver, |
bool waiting_for_clear_quota_managed_data_; |
bool waiting_for_clear_content_licenses_; |
bool waiting_for_clear_form_; |
+ bool waiting_for_clear_hostname_resolution_cache_; |
+ bool waiting_for_clear_network_predictor_; |
// Tracking how many origins need to be deleted, and whether we're finished |
// gathering origins. |