Index: third_party/WebKit/Source/core/timing/Performance.idl |
diff --git a/third_party/WebKit/Source/core/timing/Performance.idl b/third_party/WebKit/Source/core/timing/Performance.idl |
index 5950cfb60eecbe74c9cc292ddc903004d029dbc7..b4b884371d562465ccdeca03ba261f319b8d5178 100644 |
--- a/third_party/WebKit/Source/core/timing/Performance.idl |
+++ b/third_party/WebKit/Source/core/timing/Performance.idl |
@@ -76,6 +76,11 @@ |
[RuntimeEnabled=FrameTimingSupport, MeasureAs=PerformanceFrameTiming] void setFrameTimingBufferSize(unsigned long maxSize); |
[RuntimeEnabled=FrameTimingSupport] attribute EventHandler onframetimingbufferfull; |
+ // Long Task Timing |
+ [RuntimeEnabled=LongTaskObserver] void clearLongTaskTimings(); |
+ [RuntimeEnabled=LongTaskObserver] void setLongTaskTimingBufferSize(unsigned long maxSize); |
+ [RuntimeEnabled=LongTaskObserver] attribute EventHandler onlongtasktimingbufferfull; |
+ |
// TODO(foolip): There is no spec for the Memory Info API, see blink-dev: |
// https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJz71NmPwJ |
[Measure] readonly attribute MemoryInfo memory; |