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

Unified Diff: chrome/browser/download/notification/download_notification_item.h

Issue 1129023005: [Download Notification] Clean Up: Initialize properties in header file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/download/notification/download_notification_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..361243791a8e277db53720721612beecf87b1480 100644
--- a/chrome/browser/download/notification/download_notification_item.h
+++ b/chrome/browser/download/notification/download_notification_item.h
@@ -101,17 +101,14 @@ class DownloadNotificationItem : public content::DownloadItem::Observer {
scoped_ptr<std::vector<DownloadCommands::Command>> GetPossibleActions() const;
- bool openable_;
- bool downloading_;
- int image_resource_id_;
+ bool openable_ = false;
+ bool downloading_ = false;
+ int image_resource_id_ = 0;
Profile* profile_;
scoped_refptr<NotificationWatcher> watcher_;
-
scoped_ptr<Notification> notification_;
-
content::DownloadItem* item_;
scoped_ptr<std::vector<DownloadCommands::Command>> button_actions_;
-
Delegate* const delegate_;
DISALLOW_COPY_AND_ASSIGN(DownloadNotificationItem);
« no previous file with comments | « no previous file | chrome/browser/download/notification/download_notification_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698