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

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

Issue 2888303004: Minimize the delegate dependencies for non persistent notifications. (Closed)
Patch Set: review 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 577f8ba45807c80a4d1ff1b883d60af968707a0b..5532097b9be8ba6c0a2f7ff5587bae5d945b956d 100644
--- a/chrome/browser/notifications/persistent_notification_handler.h
+++ b/chrome/browser/notifications/persistent_notification_handler.h
@@ -8,8 +8,6 @@
#include "base/macros.h"
#include "chrome/browser/notifications/notification_handler.h"
-class NotificationDelegate;
-
// NotificationHandler implementation for persistent, service worker backed,
// notifications.
class PersistentNotificationHandler : public NotificationHandler {
@@ -28,8 +26,6 @@ class PersistentNotificationHandler : public NotificationHandler {
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