| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index e10872a97a3a816184c39adc5c5cf11e9f2c0474..660b40811a2450037ec27ffbb33cd8affb9c7c87 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -538,7 +538,18 @@ IPC_MESSAGE_ROUTED0(ViewMsg_WorkerScriptLoadFailed)
|
|
|
| // Sent when the worker has connected.
|
| // This message is sent only if the worker successfully loaded the script.
|
| -IPC_MESSAGE_ROUTED0(ViewMsg_WorkerConnected)
|
| +// |features| contains numbers of blink::UseCounter::Feature that are used on
|
| +// the worker global scope so far.
|
| +IPC_MESSAGE_ROUTED1(ViewMsg_WorkerConnected,
|
| + std::set<uint32_t> /* features */)
|
| +
|
| +// Sent when the worker is destroyed.
|
| +IPC_MESSAGE_ROUTED0(ViewMsg_WorkerDestroyed)
|
| +
|
| +// Sent when the worker calls API that should be recored in UseCounter.
|
| +// |feature| is a number of blink::UseCounter::Feature.
|
| +IPC_MESSAGE_ROUTED1(ViewMsg_CountFeatureOnSharedWorker,
|
| + uint32_t /* feature */)
|
|
|
| // Sent by the browser to synchronize with the next compositor frame. Used only
|
| // for tests.
|
|
|