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

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

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: tweak 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: 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..36eaa8eae02ddc7723d39bf8271eddcf0bd0349c 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 |useCounterId| in worker's use counter. |useCounterId| must be
+ // one of the values from the UseCounter::Feature enum.
+ [CallWith=ScriptState] void countFeature(unsigned long useCounterId);
+ [CallWith=ScriptState] void countDeprecation(unsigned long useCounterId);
};

Powered by Google App Engine
This is Rietveld 408576698