Index: content/browser/navigator_connect/navigator_connect_context_impl.cc |
diff --git a/content/browser/navigator_connect/navigator_connect_context_impl.cc b/content/browser/navigator_connect/navigator_connect_context_impl.cc |
index 5aaeba1a86b6c1d70325b2232a12fd5d493b96d8..e943aba72650a2a313fa7b592de2d879ce6a6891 100644 |
--- a/content/browser/navigator_connect/navigator_connect_context_impl.cc |
+++ b/content/browser/navigator_connect/navigator_connect_context_impl.cc |
@@ -5,6 +5,7 @@ |
#include "content/browser/navigator_connect/navigator_connect_context_impl.h" |
#include <stdint.h> |
+#include <vector> |
#include "base/stl_util.h" |
#include "content/browser/message_port_service.h" |
@@ -154,6 +155,7 @@ void NavigatorConnectContextImpl::GotServiceWorkerRegistration( |
registration->pattern().GetOrigin(); |
active_version->RunAfterStartWorker( |
+ ServiceWorkerMetrics::EventType::SERVICE_PORT_CONNECT, |
base::Bind(&NavigatorConnectContextImpl::DispatchConnectEvent, this, |
callback, client_port_id, service_port_id, registration, |
make_scoped_refptr(active_version)), |