Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1397)

Unified Diff: chrome/browser/browsing_data_remover.h

Issue 7210034: Update BrowsingDataRemover with the asynchronous CookieMonster API. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.cc » ('j') | chrome/browser/browsing_data_remover.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data_remover.h
===================================================================
--- chrome/browser/browsing_data_remover.h (revision 92558)
+++ chrome/browser/browsing_data_remover.h (working copy)
@@ -171,6 +171,9 @@
// Callback when Gears data has been deleted. Invokes NotifyAndDeleteIfDone.
void OnClearedGearsData();
+ // Callback when Cookies has been deleted. Invokes NotifyAndDeleteIfDone.
+ void OnCookiesDeleted(int num_deleted);
+
// Invoked on the FILE thread to delete old Gears data.
void ClearGearsDataOnFILEThread(const FilePath& profile_dir);
@@ -181,6 +184,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 +237,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_;
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.cc » ('j') | chrome/browser/browsing_data_remover.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698