Index: content/browser/notifications/notification_message_filter.cc |
diff --git a/content/browser/notifications/notification_message_filter.cc b/content/browser/notifications/notification_message_filter.cc |
index b41b3781bac8ea36b69236c066ff45ff98b877c1..9d2976ba8e6006fee2a574818d62056c7f29f076 100644 |
--- a/content/browser/notifications/notification_message_filter.cc |
+++ b/content/browser/notifications/notification_message_filter.cc |
@@ -129,6 +129,7 @@ void NotificationMessageFilter::OnClosePlatformNotification( |
} |
void NotificationMessageFilter::OnClosePersistentNotification( |
+ const GURL& origin, |
const std::string& persistent_notification_id) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
@@ -136,6 +137,9 @@ void NotificationMessageFilter::OnClosePersistentNotification( |
GetContentClient()->browser()->GetPlatformNotificationService(); |
DCHECK(service); |
+ // TODO(peter): Use |service_worker_registration_id| and |origin| when feeding |
+ // the close event through the notification database. |
+ |
service->ClosePersistentNotification(browser_context_, |
persistent_notification_id); |
} |