Index: ui/message_center/notification.h |
diff --git a/ui/message_center/notification.h b/ui/message_center/notification.h |
index 491943d6e07529f1399d54440aef7c64a799d89f..342a3ff345dc970740ac7e7784691ae81756bdd0 100644 |
--- a/ui/message_center/notification.h |
+++ b/ui/message_center/notification.h |
@@ -55,6 +55,7 @@ class MESSAGE_CENTER_EXPORT RichNotificationData { |
bool clickable; |
std::vector<int> vibration_pattern; |
bool silent; |
+ bool renotify; |
}; |
class MESSAGE_CENTER_EXPORT Notification { |
@@ -127,6 +128,12 @@ class MESSAGE_CENTER_EXPORT Notification { |
bool silent() const { return optional_fields_.silent; } |
void set_silent(bool silent) { optional_fields_.silent = silent; } |
+ // This property currently has no effect on non-Android platforms. |
+ // It determines whether the sound and vibration effects should signal |
+ // if the notification is replacing another notification. |
+ bool renotify() const { return optional_fields_.renotify; } |
+ void set_renotify(bool renotify) { optional_fields_.renotify = renotify; } |
+ |
base::Time timestamp() const { return optional_fields_.timestamp; } |
void set_timestamp(const base::Time& timestamp) { |
optional_fields_.timestamp = timestamp; |