summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_remover.h
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-22 23:16:34 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-22 23:16:34 +0000
commitdde7a5a14f96880148660966f82315cdca2af756 (patch)
tree33392c110c1d417ac7744c11b346946eb99204f3 /chrome/browser/browsing_data_remover.h
parentb75366bce35e2c17840a86cd7d0aa2c14fd56d7d (diff)
downloadchromium_src-dde7a5a14f96880148660966f82315cdca2af756.zip
chromium_src-dde7a5a14f96880148660966f82315cdca2af756.tar.gz
chromium_src-dde7a5a14f96880148660966f82315cdca2af756.tar.bz2
Clear SafeBrowsing cookie store in BrowsingDataRemover.
BUG=114584 TEST=clear site data, sqlite .dump the Safe Browsing Cookies contents Review URL: http://codereview.chromium.org/9419027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123132 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_remover.h')
-rw-r--r--chrome/browser/browsing_data_remover.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h
index de973ba..d156716 100644
--- a/chrome/browser/browsing_data_remover.h
+++ b/chrome/browser/browsing_data_remover.h
@@ -247,7 +247,7 @@ class BrowsingDataRemover : public content::NotificationObserver,
// Returns true if we're all done.
bool all_done() {
return registrar_.IsEmpty() && !waiting_for_clear_cache_ &&
- !waiting_for_clear_cookies_&&
+ !waiting_for_clear_cookies_count_&&
!waiting_for_clear_history_ &&
!waiting_for_clear_networking_history_ &&
!waiting_for_clear_origin_bound_certs_ &&
@@ -294,7 +294,8 @@ class BrowsingDataRemover : public content::NotificationObserver,
// True if we're waiting for various data to be deleted.
// These may only be accessed from UI thread in order to avoid races!
bool waiting_for_clear_cache_;
- bool waiting_for_clear_cookies_;
+ // Non-zero if waiting for cookies to be cleared.
+ int waiting_for_clear_cookies_count_;
bool waiting_for_clear_history_;
bool waiting_for_clear_networking_history_;
bool waiting_for_clear_origin_bound_certs_;