Index: chrome/browser/notifications/non_persistent_notification_handler.cc |
diff --git a/chrome/browser/notifications/non_persistent_notification_handler.cc b/chrome/browser/notifications/non_persistent_notification_handler.cc |
index 091aff5635eac17a0e703028f128b7420dc00998..7211d461fc1474bf5383902a1bf6fd1c1aa2270a 100644 |
--- a/chrome/browser/notifications/non_persistent_notification_handler.cc |
+++ b/chrome/browser/notifications/non_persistent_notification_handler.cc |
@@ -11,6 +11,13 @@ |
NonPersistentNotificationHandler::NonPersistentNotificationHandler() = default; |
NonPersistentNotificationHandler::~NonPersistentNotificationHandler() = default; |
+void NonPersistentNotificationHandler::OnShow( |
+ Profile* profile, |
+ const std::string& notification_id) { |
+ content::NotificationEventDispatcher::GetInstance() |
+ ->DispatchNonPersistentShowEvent(notification_id); |
+} |
+ |
void NonPersistentNotificationHandler::OnClose( |
Profile* profile, |
const std::string& origin, |