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

Unified Diff: content/common/view_messages.h

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: ready to review Created 3 years, 11 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/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 0c0a4addafadbb963c7af48a5506c7085e2d20de..190ec32ac10bdfde3dac4530d4c48cba35788849 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -539,7 +539,15 @@ 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)
+IPC_MESSAGE_ROUTED1(ViewMsg_WorkerConnected,
horo 2017/01/25 03:45:10 Please write comment about |features|.
nhiroki 2017/01/25 10:16:11 Done.
+ std::vector<char> /* features */)
+
+// Sent when the worker is destroyed.
+IPC_MESSAGE_ROUTED0(ViewMsg_WorkerDestroyed)
+
+// Sent when the worker calls API that should be recored in UseCounter.
+IPC_MESSAGE_ROUTED1(ViewMsg_CountFeatureOnSharedWorker,
+ uint32_t /* feature */)
// Sent by the browser to synchronize with the next compositor frame. Used only
// for tests.

Powered by Google App Engine
This is Rietveld 408576698