Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1539)

Unified Diff: content/browser/service_worker/service_worker_registration.cc

Issue 1795863006: service worker: Attribute purpose to start worker attempts for UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: patch for landing? Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_registration.cc
diff --git a/content/browser/service_worker/service_worker_registration.cc b/content/browser/service_worker/service_worker_registration.cc
index e1e6e5d1822761c4b0914478fdc93e89b7911232..d24c8c936108163f0ed77e733eb39c4ed92ff785 100644
--- a/content/browser/service_worker/service_worker_registration.cc
+++ b/content/browser/service_worker/service_worker_registration.cc
@@ -287,6 +287,7 @@ void ServiceWorkerRegistration::ActivateWaitingVersion() {
// "10. Queue a task to fire an event named activate..."
activating_version->RunAfterStartWorker(
+ ServiceWorkerMetrics::EventType::ACTIVATE,
base::Bind(&ServiceWorkerRegistration::DispatchActivateEvent, this,
activating_version),
base::Bind(&ServiceWorkerRegistration::OnActivateEventFinished, this,

Powered by Google App Engine
This is Rietveld 408576698