diff options
Diffstat (limited to 'chrome/browser/browsing_data_remover.h')
-rw-r--r-- | chrome/browser/browsing_data_remover.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h index 8f6351a..83715778 100644 --- a/chrome/browser/browsing_data_remover.h +++ b/chrome/browser/browsing_data_remover.h @@ -163,12 +163,19 @@ class BrowsingDataRemover : public NotificationObserver, // NotifyAndDeleteIfDone on the UI thread. void CheckQuotaManagedDataDeletionStatus(); + // Callback when Cookies has been deleted. Invokes NotifyAndDeleteIfDone. + void OnClearedCookies(int num_deleted); + + // Invoked on the IO thread to delete cookies. + void ClearCookiesOnIOThread(net::URLRequestContextGetter* rq_context); + // Calculate the begin time for the deletion range specified by |time_period|. base::Time CalculateBeginDeleteTime(TimePeriod time_period); // Returns true if we're all done. bool all_done() { return registrar_.IsEmpty() && !waiting_for_clear_cache_ && + !waiting_for_clear_cookies_&& !waiting_for_clear_history_ && !waiting_for_clear_quota_managed_data_ && !waiting_for_clear_networking_history_ && @@ -213,6 +220,7 @@ class BrowsingDataRemover : public NotificationObserver, bool waiting_for_clear_history_; bool waiting_for_clear_quota_managed_data_; bool waiting_for_clear_networking_history_; + bool waiting_for_clear_cookies_; bool waiting_for_clear_cache_; bool waiting_for_clear_lso_data_; |