Index: chrome/browser/browsing_data_remover.h |
=================================================================== |
--- chrome/browser/browsing_data_remover.h (revision 95818) |
+++ chrome/browser/browsing_data_remover.h (working copy) |
@@ -163,12 +163,19 @@ |
// 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 @@ |
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_; |