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

Unified Diff: chrome/browser/download/all_download_item_notifier.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/all_download_item_notifier.h
diff --git a/chrome/browser/download/all_download_item_notifier.h b/chrome/browser/download/all_download_item_notifier.h
index 86d4d68753058975b008c7a20dadc6e033edbb28..03334f437fe4435ea1b15c7018c30964e143e06c 100644
--- a/chrome/browser/download/all_download_item_notifier.h
+++ b/chrome/browser/download/all_download_item_notifier.h
@@ -51,6 +51,8 @@ class AllDownloadItemNotifier : public content::DownloadManager::Observer,
content::DownloadManager* manager, content::DownloadItem* item) {}
virtual void OnDownloadRemoved(
content::DownloadManager* manager, content::DownloadItem* item) {}
+ virtual void OnDownloadRevived(
+ content::DownloadManager* manager, content::DownloadItem* item) {}
private:
DISALLOW_COPY_AND_ASSIGN(Observer);
@@ -69,6 +71,8 @@ class AllDownloadItemNotifier : public content::DownloadManager::Observer,
void ManagerGoingDown(content::DownloadManager* manager) override;
void OnDownloadCreated(content::DownloadManager* manager,
content::DownloadItem* item) override;
+ void OnDownloadRevived(content::DownloadManager* manager,
+ content::DownloadItem* item) override;
// content::DownloadItem::Observer
void OnDownloadUpdated(content::DownloadItem* item) override;
« no previous file with comments | « no previous file | chrome/browser/download/all_download_item_notifier.cc » ('j') | content/browser/download/download_item_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698