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

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

Issue 942103003: Handle notification preferences intent from gear icon. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. Created 5 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b5aa541e6484a8219fb7365bcae380a7f712e143..ff574db44f63bec95762599334f2b0b5e593530f 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
@@ -15,6 +15,7 @@
"org.chromium.chrome.browser.notifications.CLOSE_NOTIFICATION";
public static final String EXTRA_NOTIFICATION_ID = "notification_id";
+ public static final String EXTRA_NOTIFICATION_TAG = "notification_tag";
// TODO(peter): Remove these extras once Notifications are powered by a database on the
// native side, that contains all the additional information.
@@ -30,4 +31,10 @@
* Unique identifier for the "Signed in to Chrome" notification.
*/
public static final int NOTIFICATION_ID_SIGNED_IN = 2;
+
+ /**
+ * Separator used to separate the notification origin from additional data such as the
+ * developer specified tag.
+ */
+ public static final String NOTIFICATION_TAG_SEPARATOR = ";";
}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationUIManager.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698