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

Unified Diff: chrome/browser/notifications/platform_notification_service_impl.cc

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: chrome/browser/notifications/platform_notification_service_impl.cc
diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc
index 38985cc5b5e66b0eb74015bca377fbe3982c63aa..8b8136942c41f37b3988226f8d5eb8a3a393cb3c 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.cc
+++ b/chrome/browser/notifications/platform_notification_service_impl.cc
@@ -271,6 +271,7 @@ Notification PlatformNotificationServiceImpl::CreateNotificationFromData(
display_source, notification_data.tag, delegate);
notification.set_context_message(display_source);
+ notification.set_silent(notification_data.silent);
// Web Notifications do not timeout.
notification.set_never_timeout(true);

Powered by Google App Engine
This is Rietveld 408576698