Index: chrome/browser/notifications/notification_handler.h |
diff --git a/chrome/browser/notifications/notification_handler.h b/chrome/browser/notifications/notification_handler.h |
index e30f7aec97afd773aeefe14db192f262f9adcfb2..851e76bfebe4b19dddb0dde7dfd490c67758b203 100644 |
--- a/chrome/browser/notifications/notification_handler.h |
+++ b/chrome/browser/notifications/notification_handler.h |
@@ -12,6 +12,7 @@ |
class NullableString16; |
} |
+class NotificationDelegate; |
class Profile; |
// Interface that enables the different kind of notifications to process |
@@ -36,6 +37,10 @@ |
// Open notification settings. |
virtual void OpenSettings(Profile* profile) = 0; |
+ |
+ // Registers a |delegate| object with this handler. |
+ virtual void RegisterNotification(const std::string& notification_id, |
+ NotificationDelegate* delegate) = 0; |
}; |
#endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_HANDLER_H_ |