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

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

Issue 2916383004: Revert of Minimize the delegate dependencies for non persistent notifications. (Closed)
Patch Set: Created 3 years, 7 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/persistent_notification_handler.h
diff --git a/chrome/browser/notifications/persistent_notification_handler.h b/chrome/browser/notifications/persistent_notification_handler.h
index 5532097b9be8ba6c0a2f7ff5587bae5d945b956d..577f8ba45807c80a4d1ff1b883d60af968707a0b 100644
--- a/chrome/browser/notifications/persistent_notification_handler.h
+++ b/chrome/browser/notifications/persistent_notification_handler.h
@@ -7,6 +7,8 @@
#include "base/macros.h"
#include "chrome/browser/notifications/notification_handler.h"
+
+class NotificationDelegate;
// NotificationHandler implementation for persistent, service worker backed,
// notifications.
@@ -26,6 +28,8 @@
int action_index,
const base::NullableString16& reply) override;
void OpenSettings(Profile* profile) override;
+ void RegisterNotification(const std::string& notification_id,
+ NotificationDelegate* delegate) override;
private:
DISALLOW_COPY_AND_ASSIGN(PersistentNotificationHandler);

Powered by Google App Engine
This is Rietveld 408576698