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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java

Issue 2769713002: Android - UMA for notification click latency via NotificationJobService
Patch Set: Remove TODO Created 3 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/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java
index 84b5fff48401703942a2d45af3a1f0d5c8257a4e..09fc5cef464d7cd81b917bcb878a56e9ee475b6d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java
@@ -40,6 +40,9 @@ public class NotificationConstants {
static final String EXTRA_NOTIFICATION_REPLY = "notification_reply";
static final String EXTRA_NOTIFICATION_ACTION = "notification_action";
+ static final String NOTIFICATION_JOB_SCHEDULED_TIME_MS = "notification_job_scheduled_time_ms";
+ static final String NOTIFICATION_JOB_STARTED_TIME_MS = "notification_job_started_time_ms";
Peter Beverloo 2017/03/22 17:25:24 nit: these are extras, why not prefix them as such
awdf 2017/03/22 18:14:51 Done.
+
/**
* Unique identifier for a single sync notification. Since the notification ID is reused,
* old notifications will be overwritten.

Powered by Google App Engine
This is Rietveld 408576698