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

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

Issue 977473002: downloads: break downloads.js into more classes/files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: thestig@ review Created 5 years, 9 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 | « chrome/browser/browser_resources.grd ('k') | chrome/browser/download/download_item_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_item_model.h
diff --git a/chrome/browser/download/download_item_model.h b/chrome/browser/download/download_item_model.h
index 68444ec7b4ec85fc4a61f85a7f04a9f7ef73dbb1..ee6fb0c332d7e6692096f4ad4f4f126534edcab5 100644
--- a/chrome/browser/download/download_item_model.h
+++ b/chrome/browser/download/download_item_model.h
@@ -152,6 +152,12 @@ class DownloadItemModel {
// ShouldPreferOpeningInBrowser().
void OpenUsingPlatformHandler();
+ // Whether the download was removed and this is currently being undone.
+ bool IsBeingRevived() const;
+
+ // Set whether the download is being revived.
+ void SetIsBeingRevived(bool is_being_revived);
+
content::DownloadItem* download() { return download_; }
private:
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/download/download_item_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698