Index: ui/message_center/notification.h |
diff --git a/ui/message_center/notification.h b/ui/message_center/notification.h |
index 491943d6e07529f1399d54440aef7c64a799d89f..b9cf1298f1658f2ea5debbbb8f4ad7bf8cffe88d 100644 |
--- a/ui/message_center/notification.h |
+++ b/ui/message_center/notification.h |
@@ -54,6 +54,7 @@ class MESSAGE_CENTER_EXPORT RichNotificationData { |
bool should_make_spoken_feedback_for_popup_updates; |
bool clickable; |
std::vector<int> vibration_pattern; |
+ bool renotify; |
bool silent; |
}; |
@@ -124,6 +125,12 @@ class MESSAGE_CENTER_EXPORT Notification { |
} |
// 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; } |
+ |
+ // This property currently has no effect on non-Android platforms. |
bool silent() const { return optional_fields_.silent; } |
void set_silent(bool silent) { optional_fields_.silent = silent; } |