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

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

Issue 1388483002: Implement the Notification `timestamp` property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/notification_ui_manager_android.cc
diff --git a/chrome/browser/notifications/notification_ui_manager_android.cc b/chrome/browser/notifications/notification_ui_manager_android.cc
index 23c75c444a6177de1324d499992b4673da69e040..a281421cab737fbfa721623728c12541bd848f6c 100644
--- a/chrome/browser/notifications/notification_ui_manager_android.cc
+++ b/chrome/browser/notifications/notification_ui_manager_android.cc
@@ -152,6 +152,7 @@ void NotificationUIManagerAndroid::Add(const Notification& notification,
body.obj(),
icon.obj(),
vibration_pattern.obj(),
+ notification.timestamp().ToJavaTime(),
johnme 2015/10/20 17:12:21 FYI ToJavaTime can underflow for times in between
Peter Beverloo 2016/01/28 17:18:29 Acknowledged.
notification.silent(),
action_titles.obj());

Powered by Google App Engine
This is Rietveld 408576698