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

Unified Diff: content/common/service_worker/embedded_worker_messages.h

Issue 2658603003: ServiceWorker: Enable UseCounter for ServiceWorkerGlobalScope (Closed)
Patch Set: int32_t -> uint32_t Created 3 years, 10 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/common/service_worker/embedded_worker_messages.h
diff --git a/content/common/service_worker/embedded_worker_messages.h b/content/common/service_worker/embedded_worker_messages.h
index 17c594aeb727fe3848de2b8e60e75e8754302f44..8cc8c2802b9e0dfc3a0af37f4928dae77affbea5 100644
--- a/content/common/service_worker/embedded_worker_messages.h
+++ b/content/common/service_worker/embedded_worker_messages.h
@@ -90,6 +90,12 @@ IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStarted,
IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStopped,
int /* embedded_worker_id */)
+// Renderer -> Browser message to count an API use. |feature| must be one of the
+// values from blink::UseCounter::Feature enum.
+IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_CountFeature,
+ int64_t /* service_worker_version_id */,
+ uint32_t /* feature */)
+
// Renderer -> Browser message to report an exception.
IPC_MESSAGE_CONTROL5(EmbeddedWorkerHostMsg_ReportException,
int /* embedded_worker_id */,

Powered by Google App Engine
This is Rietveld 408576698