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..7db9eff46eda5451d922d38666d740c1859e8cf4 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| must be one of the |
+ // values from the UseCounter::Feature enum. |
+ [CallWith=ScriptState] void countFeature(unsigned long feature); |
+ [CallWith=ScriptState] void countDeprecation(unsigned long feature); |
}; |