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

Unified Diff: third_party/WebKit/Source/core/testing/WorkerInternals.idl

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: replace ExecutionContext with ScriptState 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: third_party/WebKit/Source/core/testing/WorkerInternals.idl
diff --git a/third_party/WebKit/Source/core/testing/WorkerInternals.idl b/third_party/WebKit/Source/core/testing/WorkerInternals.idl
index 02866e69f6ecdbe1c169aa95c977b8a846dd18c2..dfcd7310d26143642154321b0cf57a1e0afef6dd 100644
--- a/third_party/WebKit/Source/core/testing/WorkerInternals.idl
+++ b/third_party/WebKit/Source/core/testing/WorkerInternals.idl
@@ -4,4 +4,9 @@
interface WorkerInternals {
OriginTrialsTest originTrialsTest();
+
+ // Records |feature| in worker's use counter. |feature| is
+ // UseCounter::Feature.
+ [CallWith=ScriptState] void countFeature(unsigned long feature);
+ [CallWith=ScriptState] void countDeprecation(unsigned long feature);
};

Powered by Google App Engine
This is Rietveld 408576698