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

Unified Diff: content/browser/geofencing/geofencing_manager.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/geofencing/geofencing_manager.cc
diff --git a/content/browser/geofencing/geofencing_manager.cc b/content/browser/geofencing/geofencing_manager.cc
index 242b588b80d3a033373942a5edbf2ec86e12f60e..1c315bad7971763467b615a66f35b42bde9c3d8f 100644
--- a/content/browser/geofencing/geofencing_manager.cc
+++ b/content/browser/geofencing/geofencing_manager.cc
@@ -399,7 +399,8 @@ void GeofencingManager::DeliverGeofencingEvent(
service_worker_registration, event_type,
registration->region_id, registration->region,
make_scoped_refptr(active_version)),
- base::Bind(&GeofencingManager::OnEventError, this));
+ base::Bind(&GeofencingManager::OnEventError, this),
+ ServiceWorkerMetrics::EventType::GEOFENCING);
}
void GeofencingManager::DeliverEventToRunningWorker(

Powered by Google App Engine
This is Rietveld 408576698