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

Unified Diff: content/public/common/platform_notification_data.h

Issue 1656243002: Implementation of renotify flag for Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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: content/public/common/platform_notification_data.h
diff --git a/content/public/common/platform_notification_data.h b/content/public/common/platform_notification_data.h
index 45781bebd8c2792eda0f4e4e9303c55410883fff..defb7aa2e5deebda30669b7ca026eb332f7082e8 100644
--- a/content/public/common/platform_notification_data.h
+++ b/content/public/common/platform_notification_data.h
@@ -78,6 +78,10 @@ struct CONTENT_EXPORT PlatformNotificationData {
base::Time timestamp;
// Whether default notification indicators (sound, vibration, light) should
+ // be played again if the notification is replacing an older notification.
+ bool renotify = false;
+
+ // Whether default notification indicators (sound, vibration, light) should
// be suppressed.
bool silent = false;

Powered by Google App Engine
This is Rietveld 408576698