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

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

Issue 2765023002: [Android] Upstreaming notification channels part 2: Clean up (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser.notifications; 5 package org.chromium.chrome.browser.notifications;
6 6
7 import android.content.Intent; 7 import android.content.Intent;
8 8
9 /** 9 /**
10 * Constants used in more than a single Notification class, e.g. intents and ext ra names. 10 * Constants used in more than a single Notification class, e.g. intents and ext ra names.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 public static final String GROUP_MEDIA_PLAYBACK = "MediaPlayback"; 80 public static final String GROUP_MEDIA_PLAYBACK = "MediaPlayback";
81 public static final String GROUP_MEDIA_PRESENTATION = "MediaPresentation"; 81 public static final String GROUP_MEDIA_PRESENTATION = "MediaPresentation";
82 public static final String GROUP_MEDIA_REMOTE = "MediaRemote"; 82 public static final String GROUP_MEDIA_REMOTE = "MediaRemote";
83 public static final String GROUP_SYNC = "Sync"; 83 public static final String GROUP_SYNC = "Sync";
84 84
85 // Web notification group names are set dynamically as this prefix + notific ation origin. 85 // Web notification group names are set dynamically as this prefix + notific ation origin.
86 // For example, 'Web:chromium.org' for a notification from chromium.org. 86 // For example, 'Web:chromium.org' for a notification from chromium.org.
87 static final String GROUP_WEB_PREFIX = "Web:"; 87 static final String GROUP_WEB_PREFIX = "Web:";
88 88
89 // Notification channel ids. 89 // Notification channel ids.
90 public static final String CATEGORY_ID_BROWSER = "browser"; 90 public static final String CHANNEL_ID_BROWSER = "browser";
91 public static final String CATEGORY_ID_SITES = "sites"; 91 public static final String CHANNEL_ID_SITES = "sites";
92 public static final String CATEGORY_GROUP_ID_GENERAL = "general"; 92 public static final String CHANNEL_GROUP_ID_GENERAL = "general";
93 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698