Chromium Code Reviews| Index: chrome/browser/history/expire_history_backend.h |
| diff --git a/chrome/browser/history/expire_history_backend.h b/chrome/browser/history/expire_history_backend.h |
| index ff965544f93271549fdb7a4b9c95cc115a2a470a..758e726c14369a8ed73fa08d6ab07e3de9bbc81b 100644 |
| --- a/chrome/browser/history/expire_history_backend.h |
| +++ b/chrome/browser/history/expire_history_backend.h |
| @@ -195,8 +195,18 @@ class ExpireHistoryBackend { |
| // care about favicons so much, so don't want to stop everything if it fails). |
| void DeleteFaviconsIfPossible(const std::set<FaviconID>& favicon_id); |
| + // Enum representing what type of action resulted in the history DB deletion. |
| + enum DeletionType { |
| + // User initiated the deletion from the History UI. |
| + USER_INITIATED, |
|
brettw
2012/05/08 19:56:57
Can you prefix these with something. Like DELETION
|
| + // History data was automatically archived due to being more than 90 days |
| + // old. |
| + ARCHIVED |
| + }; |
| + |
| // Broadcast the URL deleted notification. |
| - void BroadcastDeleteNotifications(DeleteDependencies* dependencies); |
| + void BroadcastDeleteNotifications(DeleteDependencies* dependencies, |
| + DeletionType type); |
| // Schedules a call to DoArchiveIteration. |
| void ScheduleArchive(); |