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

Unified Diff: content/renderer/shared_worker/embedded_shared_worker_stub.cc

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: simplify 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/renderer/shared_worker/embedded_shared_worker_stub.cc
diff --git a/content/renderer/shared_worker/embedded_shared_worker_stub.cc b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
index 7ceb3dd5062132e6c80ba007e9ea82f045f51021..60a035f955b96d00d24b277f40ffc1adaf746f09 100644
--- a/content/renderer/shared_worker/embedded_shared_worker_stub.cc
+++ b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
@@ -209,6 +209,10 @@ void EmbeddedSharedWorkerStub::workerScriptLoadFailed() {
Shutdown();
}
+void EmbeddedSharedWorkerStub::countFeature(uint32_t feature) {
+ Send(new WorkerHostMsg_CountFeature(route_id_, feature));
+}
+
void EmbeddedSharedWorkerStub::workerContextClosed() {
Send(new WorkerHostMsg_WorkerContextClosed(route_id_));
}

Powered by Google App Engine
This is Rietveld 408576698