Index: chrome/browser/browsing_data_remover.h |
=================================================================== |
--- chrome/browser/browsing_data_remover.h (revision 93449) |
+++ chrome/browser/browsing_data_remover.h (working copy) |
@@ -174,6 +174,12 @@ |
// Invoked on the FILE thread to delete old Gears data. |
void ClearGearsDataOnFILEThread(const FilePath& profile_dir); |
+ // Callback when Cookies has been deleted. Invokes NotifyAndDeleteIfDone. |
+ void OnClearedCookie(int num_deleted); |
+ |
+ // Invoked on the IO thread to delete cookies. |
+ void ClearCookieOnIOThread(net::URLRequestContextGetter* rq_context); |
+ |
// Calculate the begin time for the deletion range specified by |time_period|. |
base::Time CalculateBeginDeleteTime(TimePeriod time_period); |
@@ -181,6 +187,7 @@ |
bool all_done() { |
return registrar_.IsEmpty() && !waiting_for_clear_cache_ && |
!waiting_for_clear_history_ && |
+ !waiting_for_clear_cookies_&& |
!waiting_for_clear_networking_history_ && |
!waiting_for_clear_databases_ && !waiting_for_clear_appcache_ && |
!waiting_for_clear_lso_data_ && !waiting_for_clear_gears_data_ && |
@@ -233,6 +240,7 @@ |
bool waiting_for_clear_databases_; |
bool waiting_for_clear_history_; |
bool waiting_for_clear_networking_history_; |
+ bool waiting_for_clear_cookies_; |
bool waiting_for_clear_cache_; |
bool waiting_for_clear_appcache_; |
bool waiting_for_clear_lso_data_; |