Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1984)

Unified Diff: chrome/browser/history/expire_history_backend.h

Issue 10380015: Now mark delete notifications for archived URLs specially (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/history/expire_history_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | chrome/browser/history/expire_history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698