Chromium Code Reviews| 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..4f2bc7f3a46e3df2eb7a80504486ad1f86964a0c 100644 |
| --- a/chrome/browser/browsing_data_remover.h |
| +++ b/chrome/browser/browsing_data_remover.h |
| @@ -39,6 +39,11 @@ namespace quota { |
| class QuotaManager; |
| } |
| +// When BrowsingDataRemover successfully removes data, a notification of type |
| +// NOTIFICATION_BROWSING_DATA_REMOVED is triggered with a Details object of |
| +// this type. |
| +typedef std::pair<base::Time, int> BrowsingDataRemoverNotificationDetail; |
|
battre
2011/12/13 12:16:34
Can you make this a struct? Neither the meaning of
Mike West
2011/12/13 13:07:54
Good idea. Done.
|
| + |
| // BrowsingDataRemover is responsible for removing data related to browsing: |
| // visits in url database, downloads, cookies ... |
| @@ -255,6 +260,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. |