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

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

Issue 2628723003: Android notifications: set group for push notifications (Closed)
Patch Set: rebase Created 3 years, 11 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 dd303e46ac1409e926f96a68d85feec0c1e96c4b..cdd6a643be3c3054b82774e90baf14ef7f0cab20 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
@@ -66,4 +66,8 @@ public class NotificationConstants {
public static final String GROUP_MEDIA_PRESENTATION = "MediaPresentation";
public static final String GROUP_MEDIA_REMOTE = "MediaRemote";
public static final String GROUP_SYNC = "Sync";
+
+ // Web notification group names are set dynamically as this prefix + notification origin.
+ // For example, 'Web:chromium.org' for a notification from chromium.org.
+ static final String GROUP_WEB_PREFIX = "Web:";
}

Powered by Google App Engine
This is Rietveld 408576698