Index: chrome/browser/browsing_data_remover.h |
diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h |
index 385ecaa19e4d7f938acf5fb9f36599a828de5bf7..adb9b381f5e2b11f0d2b8542caadd00d3d9b9902 100644 |
--- a/chrome/browser/browsing_data_remover.h |
+++ b/chrome/browser/browsing_data_remover.h |
@@ -77,6 +77,23 @@ class BrowsingDataRemover : public content::NotificationObserver, |
REMOVE_LSO_DATA | REMOVE_WEBSQL |
}; |
+ // When BrowsingDataRemover successfully removes data, a notification of type |
+ // NOTIFICATION_BROWSING_DATA_REMOVED is triggered with a Details object of |
+ // this type. |
+ struct NotificationDetails { |
+ NotificationDetails(); |
+ NotificationDetails(const NotificationDetails& details); |
+ NotificationDetails(base::Time removal_begin, |
+ int removal_mask); |
+ ~NotificationDetails(); |
+ |
+ // The beginning of the removal time range. |
+ base::Time removal_begin; |
+ |
+ // The removal mask (see the RemoveDataMask enum for details) |
+ int removal_mask; |
+ }; |
+ |
// Observer is notified when the removal is done. Done means keywords have |
// been deleted, cache cleared and all other tasks scheduled. |
class Observer { |
@@ -255,6 +272,9 @@ class BrowsingDataRemover : public content::NotificationObserver, |
int quota_managed_origins_to_delete_count_; |
int quota_managed_storage_types_to_delete_count_; |
+ // The removal mask for the current removal operation. |
+ int remove_mask_; |
+ |
ObserverList<Observer> observer_list_; |
// Used if we need to clear history. |