Index: ui/message_center/notification_list.h |
diff --git a/ui/message_center/notification_list.h b/ui/message_center/notification_list.h |
index 575f9ce6aef33f02d40686879734602f1c4c9751..87cf509dc5a7231b94c837496fee0430e5f60e72 100644 |
--- a/ui/message_center/notification_list.h |
+++ b/ui/message_center/notification_list.h |
@@ -57,6 +57,7 @@ class MESSAGE_CENTER_EXPORT NotificationList { |
// Images fetched asynchronously |
gfx::ImageSkia primary_icon; |
gfx::ImageSkia secondary_icon; |
+ gfx::ImageSkia image; |
bool is_read; // True if this has been seen in the message center |
bool shown_as_popup; // True if this has been shown as a popup notification |
@@ -132,6 +133,9 @@ class MESSAGE_CENTER_EXPORT NotificationList { |
bool SetNotificationSecondaryIcon(const std::string& id, |
const gfx::ImageSkia& image); |
+ // Returns true if the notification exists and was updated. |
+ bool SetNotificationImage(const std::string& id, const gfx::ImageSkia& image); |
+ |
bool HasNotification(const std::string& id); |
// Returns false if the first notification has been shown as a popup (which |