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

Unified Diff: content/browser/service_worker/service_worker_metrics.h

Issue 2209963002: Record some foreign fetch registration metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better histogram summaries Created 4 years, 4 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_metrics.h
diff --git a/content/browser/service_worker/service_worker_metrics.h b/content/browser/service_worker/service_worker_metrics.h
index 11522bd3324e680dff54bd659127ec6f12402fed..0909bcbc0672da6f7d661434b93c7a6500cdd353 100644
--- a/content/browser/service_worker/service_worker_metrics.h
+++ b/content/browser/service_worker/service_worker_metrics.h
@@ -195,6 +195,9 @@ class ServiceWorkerMetrics {
bool is_shutdown);
static void RecordInstallEventStatus(ServiceWorkerStatusCode status);
+ static void RecordForeignFetchRegistrationCount(size_t scope_count,
+ size_t origin_count);
+
// Records how much of dispatched events are handled while a Service
// Worker is awake (i.e. after it is woken up until it gets stopped).
static void RecordEventHandledRatio(EventType event,
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698