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

Unified Diff: third_party/WebKit/public/web/WebSharedWorkerConnectListener.h

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
« no previous file with comments | « third_party/WebKit/public/web/WebSharedWorkerClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebSharedWorkerConnectListener.h
diff --git a/third_party/WebKit/public/web/WebSharedWorkerConnectListener.h b/third_party/WebKit/public/web/WebSharedWorkerConnectListener.h
index 078eb0282948f72ca0d166eb0084f5264a16f116..d896c18f170088d2df641a5cafe192efae537cf0 100644
--- a/third_party/WebKit/public/web/WebSharedWorkerConnectListener.h
+++ b/third_party/WebKit/public/web/WebSharedWorkerConnectListener.h
@@ -48,6 +48,10 @@ class WebSharedWorkerConnectListener {
// Called when a connection is established.
virtual void connected() = 0;
+
+ // Called when some API to be recorded in UseCounter is called on the worker
+ // global scope.
+ virtual void countFeature(uint32_t) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/public/web/WebSharedWorkerClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698