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

Unified Diff: ui/message_center/notification_list.h

Issue 14299007: Sends Updated when message center is closed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: ui/message_center/notification_list.h
diff --git a/ui/message_center/notification_list.h b/ui/message_center/notification_list.h
index 852107d3a5907c97de4c9d90463c217d23c20a07..f69b18894c701e021cec06a406357587fca101a1 100644
--- a/ui/message_center/notification_list.h
+++ b/ui/message_center/notification_list.h
@@ -49,8 +49,11 @@ class MESSAGE_CENTER_EXPORT NotificationList {
explicit NotificationList();
virtual ~NotificationList();
- // Affects whether or not a message has been "read".
- void SetMessageCenterVisible(bool visible);
+ // Affects whether or not a message has been "read". Collects the set of
+ // ids whose state have changed and set to |udpated_ids|. NULL if updated
+ // ids don't matter.
+ void SetMessageCenterVisible(bool visible,
+ std::set<std::string>* updated_ids);
void AddNotification(NotificationType type,
const std::string& id,

Powered by Google App Engine
This is Rietveld 408576698