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

Unified Diff: chrome/browser/download/download_history.h

Issue 722953002: downloads: add the ability to undo download removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheck Created 6 years, 1 month 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
Index: chrome/browser/download/download_history.h
diff --git a/chrome/browser/download/download_history.h b/chrome/browser/download/download_history.h
index be037b124262f9d5caba5783c065e18746c1a97a..f3e25ef0082f7d6e270be119b53392639ee4d228 100644
--- a/chrome/browser/download/download_history.h
+++ b/chrome/browser/download/download_history.h
@@ -117,6 +117,8 @@ class DownloadHistory : public AllDownloadItemNotifier::Observer {
content::DownloadItem* item) override;
void OnDownloadRemoved(content::DownloadManager* manager,
content::DownloadItem* item) override;
+ void OnDownloadRevived(content::DownloadManager* manager,
+ content::DownloadItem* item) override;
// Schedule a record to be removed from |history_| the next time
// RemoveDownloadsBatch() runs. Schedule RemoveDownloadsBatch() to be run soon

Powered by Google App Engine
This is Rietveld 408576698