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

Unified Diff: content/browser/push_messaging/push_messaging_router.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: 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/push_messaging/push_messaging_router.cc
diff --git a/content/browser/push_messaging/push_messaging_router.cc b/content/browser/push_messaging/push_messaging_router.cc
index 7bc469be5459f5397c502a2e721f858852a957d7..be0f04e22841d9595a451feec9a0a875c61e357b 100644
--- a/content/browser/push_messaging/push_messaging_router.cc
+++ b/content/browser/push_messaging/push_messaging_router.cc
@@ -95,7 +95,8 @@ void PushMessagingRouter::FindServiceWorkerRegistrationCallback(
make_scoped_refptr(version), service_worker_registration,
payload, deliver_message_callback),
base::Bind(&PushMessagingRouter::DeliverMessageEnd,
- deliver_message_callback, service_worker_registration));
+ deliver_message_callback, service_worker_registration),
+ ServiceWorkerMetrics::EventType::PUSH);
}
// static

Powered by Google App Engine
This is Rietveld 408576698