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

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

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.cc
diff --git a/chrome/browser/notifications/persistent_notification_handler.cc b/chrome/browser/notifications/persistent_notification_handler.cc
index 16b62654d2d925ffe2a566326c7d074ec0a9cbea..fa55ebc17bffb9dbbad8fbf559be26904b52d229 100644
--- a/chrome/browser/notifications/persistent_notification_handler.cc
+++ b/chrome/browser/notifications/persistent_notification_handler.cc
@@ -41,9 +41,3 @@ void PersistentNotificationHandler::OnClick(
void PersistentNotificationHandler::OpenSettings(Profile* profile) {
NotificationCommon::OpenNotificationSettings(profile);
}
-
-void PersistentNotificationHandler::RegisterNotification(
- const std::string& notification_id,
- NotificationDelegate* delegate) {
- // Nothing to do here since there is no state kept.
-}

Powered by Google App Engine
This is Rietveld 408576698