summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_remover.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browsing_data_remover.h')
-rw-r--r--chrome/browser/browsing_data_remover.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h
index 4affab2..96c8305 100644
--- a/chrome/browser/browsing_data_remover.h
+++ b/chrome/browser/browsing_data_remover.h
@@ -50,6 +50,8 @@ class BrowsingDataRemover : public NotificationObserver {
// Called when history deletion is done.
void OnHistoryDeletionDone();
+ static bool is_removing() { return removing_; }
+
private:
// NotificationObserver method. Callback when TemplateURLModel has finished
// loading. Deletes the entries from the model, and if we're not waiting on
@@ -86,7 +88,7 @@ class BrowsingDataRemover : public NotificationObserver {
const base::Time delete_end_;
// True if Remove has been invoked.
- bool removing_;
+ static bool removing_;
// True if we're waiting for the TemplateURLModel to finish loading.
bool waiting_for_keywords_;