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

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

Issue 965573002: Implement support for silent notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 5 years, 9 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 241a5962567a75d5d167756e407b23411babc902..d744fa89e0460a4603322499a0d770d5fd8e1315 100644
--- a/content/public/common/platform_notification_data.h
+++ b/content/public/common/platform_notification_data.h
@@ -45,6 +45,10 @@ struct CONTENT_EXPORT PlatformNotificationData {
// URL of the icon which is to be displayed with the notification.
GURL icon;
+
+ // Whether default notification indicators (sound, vibration, light) should
+ // be suppressed.
+ bool silent;
};
} // namespace content
« no previous file with comments | « content/common/platform_notification_messages.h ('k') | content/public/common/platform_notification_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698