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

Unified Diff: ui/message_center/notification.cc

Issue 1656243002: Implementation of renotify flag for Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TypeError for incorrect options and unit test Created 4 years, 11 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.cc
diff --git a/ui/message_center/notification.cc b/ui/message_center/notification.cc
index 9de5ccb36759a070141fd26e28d497438e4c71be..2aebe8f1aee40ddcab8d0fa24cb9de12d6729aea 100644
--- a/ui/message_center/notification.cc
+++ b/ui/message_center/notification.cc
@@ -34,7 +34,8 @@ RichNotificationData::RichNotificationData()
progress(0),
should_make_spoken_feedback_for_popup_updates(true),
clickable(true),
- silent(false) {}
+ silent(false),
+ renotify(false) {}
RichNotificationData::RichNotificationData(const RichNotificationData& other)
: priority(other.priority),
@@ -50,7 +51,8 @@ RichNotificationData::RichNotificationData(const RichNotificationData& other)
other.should_make_spoken_feedback_for_popup_updates),
clickable(other.clickable),
vibration_pattern(other.vibration_pattern),
- silent(other.silent) {}
+ silent(other.silent),
+ renotify(other.renotify) {}
RichNotificationData::~RichNotificationData() {}

Powered by Google App Engine
This is Rietveld 408576698