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

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

Issue 2699253003: Abstracting over Notification.Builder + NotificationCompat.Builder (Closed)
Patch Set: Abstracting over Notification.Builder + NotificationCompat.Builder Created 3 years, 10 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 366cb54213206ffa2d8a6cceff00616729325fef..a1e01feb0fed3f109edab934cdf027c9a238c0ba 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
@@ -77,4 +77,11 @@ public class NotificationConstants {
// 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:";
+
+ public static final String TYPE_ID_GENERAL = "general";
+ public static final String TYPE_NAME_GENERAL = "General"; // TODO Define this in GRD not here
+
+ public static final String TYPE_ID_INCOGNITO = "incognito";
+ public static final String TYPE_NAME_INCOGNITO =
+ "Incognito"; // TODO Define this in GRD not here
Peter Beverloo 2017/02/20 01:06:45 We should fulfil these TODOs in this CL.
awdf 2017/02/24 00:38:47 Done. (Added 'General' string to grd file, removed
}

Powered by Google App Engine
This is Rietveld 408576698