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

Unified Diff: chrome/browser/notifications/notification_common.h

Issue 2703213004: Migrate extension notifications to the new NotificationDisplayService (Closed)
Patch Set: Finish functionality 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/browser/notifications/notification_common.h
diff --git a/chrome/browser/notifications/notification_common.h b/chrome/browser/notifications/notification_common.h
index 280c84df461e0fe43a28fa0c4751d4f758392a2b..9bf8d48a364e1c968c40b655abe8785ef19071d1 100644
--- a/chrome/browser/notifications/notification_common.h
+++ b/chrome/browser/notifications/notification_common.h
@@ -13,6 +13,7 @@ class BrowserContext;
class NotificationCommon {
public:
// Things as user can do to a notification.
+ // TODO(peter): Prefix these options with OPERATION_.
Miguel Garcia 2017/02/21 10:56:44 FWIW we discussed this during the initial review a
Peter Beverloo 2017/02/21 17:23:50 We didn't use the prefix when we used `enum classe
enum Operation {
CLICK = 0,
CLOSE = 1,
@@ -21,10 +22,12 @@ class NotificationCommon {
};
// Possible kinds of notifications
+ // TODO(peter): Prefix these options with TYPE_.
enum Type {
PERSISTENT = 0,
NON_PERSISTENT = 1,
- TYPE_MAX = NON_PERSISTENT
+ EXTENSION = 2,
+ TYPE_MAX = EXTENSION
};
// Open the Notification settings screen when clicking the right button.

Powered by Google App Engine
This is Rietveld 408576698