Index: content/browser/notifications/notification_event_dispatcher_impl.cc |
diff --git a/content/browser/notifications/notification_event_dispatcher_impl.cc b/content/browser/notifications/notification_event_dispatcher_impl.cc |
index ca125fa584f72a2b69200f8bb06381d684351903..e19a1f81aaaebf6826147a8f065a6576658853e3 100644 |
--- a/content/browser/notifications/notification_event_dispatcher_impl.cc |
+++ b/content/browser/notifications/notification_event_dispatcher_impl.cc |
@@ -228,6 +228,7 @@ void DoDispatchNotificationClickEvent( |
ServiceWorkerVersion::StatusCallback status_callback = base::Bind( |
&ServiceWorkerNotificationEventFinished, dispatch_complete_callback); |
service_worker_registration->active_version()->RunAfterStartWorker( |
+ ServiceWorkerMetrics::EventType::NOTIFICATION_CLICK, |
base::Bind( |
&DispatchNotificationClickEventOnWorker, |
make_scoped_refptr(service_worker_registration->active_version()), |
@@ -299,6 +300,7 @@ void DoDispatchNotificationCloseEvent( |
dispatch_complete_callback); |
if (by_user) { |
service_worker_registration->active_version()->RunAfterStartWorker( |
+ ServiceWorkerMetrics::EventType::NOTIFICATION_CLOSE, |
base::Bind( |
&DispatchNotificationCloseEventOnWorker, |
make_scoped_refptr(service_worker_registration->active_version()), |