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

Unified Diff: content/renderer/service_worker/service_worker_context_client.cc

Issue 2658603003: ServiceWorker: Enable UseCounter for ServiceWorkerGlobalScope (Closed)
Patch Set: ready to review 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/service_worker/service_worker_context_client.cc
diff --git a/content/renderer/service_worker/service_worker_context_client.cc b/content/renderer/service_worker/service_worker_context_client.cc
index b07de5d43b1aee04581ad908938827603fc102c3..f558fcb2933a8b46723c067e35326bf2b94700ce 100644
--- a/content/renderer/service_worker/service_worker_context_client.cc
+++ b/content/renderer/service_worker/service_worker_context_client.cc
@@ -608,6 +608,11 @@ void ServiceWorkerContextClient::workerContextDestroyed() {
embedded_worker_id_));
}
+void ServiceWorkerContextClient::countFeature(uint32_t feature) {
+ Send(new EmbeddedWorkerHostMsg_CountFeature(service_worker_version_id_,
+ feature));
+}
+
void ServiceWorkerContextClient::reportException(
const blink::WebString& error_message,
int line_number,

Powered by Google App Engine
This is Rietveld 408576698