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

Unified Diff: chrome/browser/notifications/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/notification_handler.h
diff --git a/chrome/browser/notifications/notification_handler.h b/chrome/browser/notifications/notification_handler.h
index 851e76bfebe4b19dddb0dde7dfd490c67758b203..e30f7aec97afd773aeefe14db192f262f9adcfb2 100644
--- a/chrome/browser/notifications/notification_handler.h
+++ b/chrome/browser/notifications/notification_handler.h
@@ -12,7 +12,6 @@ namespace base {
class NullableString16;
}
-class NotificationDelegate;
class Profile;
// Interface that enables the different kind of notifications to process
@@ -37,10 +36,6 @@ class NotificationHandler {
// 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_

Powered by Google App Engine
This is Rietveld 408576698