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..15d9a111170b8d11c8b051257a68d79cb6576625 100644 |
--- a/content/browser/notifications/notification_event_dispatcher_impl.cc |
+++ b/content/browser/notifications/notification_event_dispatcher_impl.cc |
@@ -232,7 +232,7 @@ void DoDispatchNotificationClickEvent( |
&DispatchNotificationClickEventOnWorker, |
make_scoped_refptr(service_worker_registration->active_version()), |
notification_database_data, action_index, status_callback), |
- status_callback); |
+ status_callback, ServiceWorkerMetrics::EventType::NOTIFICATION_CLICK); |
} |
// ----------------------------------------------------------------------------- |
@@ -303,7 +303,8 @@ void DoDispatchNotificationCloseEvent( |
&DispatchNotificationCloseEventOnWorker, |
make_scoped_refptr(service_worker_registration->active_version()), |
notification_database_data, dispatch_event_callback), |
- dispatch_event_callback); |
+ dispatch_event_callback, |
+ ServiceWorkerMetrics::EventType::NOTIFICATION_CLOSE); |
} else { |
dispatch_event_callback.Run(ServiceWorkerStatusCode::SERVICE_WORKER_OK); |
} |