Index: content/common/worker_messages.h |
diff --git a/content/common/worker_messages.h b/content/common/worker_messages.h |
index e49ce80e525f1fe5fedcadb7d1d58df943155094..e040508735f360db9cb9de59c8d280bf46258e7e 100644 |
--- a/content/common/worker_messages.h |
+++ b/content/common/worker_messages.h |
@@ -89,6 +89,14 @@ IPC_MESSAGE_ROUTED0(WorkerMsg_WorkerObjectDestroyed) |
// WorkerHost messages |
// These are messages sent from the worker (renderer process) to the worker |
// host (browser process). |
+ |
+// Sent when the worker calls API that should be recored in UseCounter. |
+// |feature| must be one of the values from blink::UseCounter::Feature |
+// enum. |
+IPC_MESSAGE_CONTROL2(WorkerHostMsg_CountFeature, |
+ int /* worker_route_id */, |
+ uint32_t /* feature */) |
+ |
IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, |
int /* worker_route_id */) |