Index: chrome/browser/download/notification/download_notification_item.h |
diff --git a/chrome/browser/download/notification/download_notification_item.h b/chrome/browser/download/notification/download_notification_item.h |
index ab51542f7b6cffdaeb3bbd95b43fa231e1436f82..3c4d4353d6b6cfe000f3f0a45951dba0f7809d71 100644 |
--- a/chrome/browser/download/notification/download_notification_item.h |
+++ b/chrome/browser/download/notification/download_notification_item.h |
@@ -84,6 +84,7 @@ class DownloadNotificationItem : public content::DownloadItem::Observer { |
void OnDownloadDestroyed(content::DownloadItem* item) override; |
void CloseNotificationByUser(); |
+ void CloseNotificationByNonUser(); |
void UpdateNotificationData(NotificationUpdateType type); |
void SetNotificationImage(int resource_id); |
@@ -102,7 +103,8 @@ class DownloadNotificationItem : public content::DownloadItem::Observer { |
scoped_ptr<std::vector<DownloadCommands::Command>> GetPossibleActions() const; |
bool openable_; |
- bool downloading_; |
+ content::DownloadItem::DownloadState previous_download_state_ = |
+ content::DownloadItem::MAX_DOWNLOAD_STATE; // As uninitialized state |
int image_resource_id_; |
Profile* profile_; |
scoped_refptr<NotificationWatcher> watcher_; |