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 */, |