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); |
}; |