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

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

Issue 2911653002: Remove unused method in the native display service (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
« no previous file with comments | « chrome/browser/notifications/native_notification_display_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/native_notification_display_service.cc
diff --git a/chrome/browser/notifications/native_notification_display_service.cc b/chrome/browser/notifications/native_notification_display_service.cc
index 2ffcd75fd3929c32998c54c28a73145fdbef9796..e791a8e1175a9a2ba1ec3451862f338494836a1d 100644
--- a/chrome/browser/notifications/native_notification_display_service.cc
+++ b/chrome/browser/notifications/native_notification_display_service.cc
@@ -171,11 +171,6 @@ void NativeNotificationDisplayService::AddNotificationHandler(
notification_handlers_[notification_type] = std::move(handler);
}
-void NativeNotificationDisplayService::RemoveNotificationHandler(
- NotificationCommon::Type notification_type) {
- notification_handlers_.erase(notification_type);
-}
-
NotificationHandler* NativeNotificationDisplayService::GetNotificationHandler(
NotificationCommon::Type notification_type) {
DCHECK(notification_handlers_.find(notification_type) !=
« no previous file with comments | « chrome/browser/notifications/native_notification_display_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698