| Index: third_party/WebKit/Source/core/frame/PerformanceMonitor.h
|
| diff --git a/third_party/WebKit/Source/core/frame/PerformanceMonitor.h b/third_party/WebKit/Source/core/frame/PerformanceMonitor.h
|
| index 07e018c3460edbb2c87b7eab429e4bf9ebc88ef0..da35d061459834a174fb7b235461e1315f120dc6 100644
|
| --- a/third_party/WebKit/Source/core/frame/PerformanceMonitor.h
|
| +++ b/third_party/WebKit/Source/core/frame/PerformanceMonitor.h
|
| @@ -31,7 +31,13 @@ class CORE_EXPORT PerformanceMonitor final
|
| WTF_MAKE_NONCOPYABLE(PerformanceMonitor);
|
|
|
| public:
|
| - enum Violation : size_t { kLongTask, kLongLayout, kBlockedEvent, kAfterLast };
|
| + enum Violation : size_t {
|
| + kLongTask,
|
| + kLongLayout,
|
| + kBlockedEvent,
|
| + kBlockedParser,
|
| + kAfterLast
|
| + };
|
|
|
| class CORE_EXPORT Client : public GarbageCollectedMixin {
|
| public:
|
| @@ -54,6 +60,7 @@ class CORE_EXPORT PerformanceMonitor final
|
| static void didUpdateLayout(Document*);
|
| static void willRecalculateStyle(Document*);
|
| static void didRecalculateStyle(Document*);
|
| + static void documentWriteFetchScript(Document*);
|
| static void reportGenericViolation(ExecutionContext*,
|
| Violation,
|
| const String& text,
|
| @@ -85,6 +92,10 @@ class CORE_EXPORT PerformanceMonitor final
|
| void didUpdateLayout();
|
| void willRecalculateStyle();
|
| void didRecalculateStyle();
|
| + void reportGenericViolation(Violation,
|
| + const String& text,
|
| + double time,
|
| + SourceLocation*);
|
|
|
| // WebThread::TaskObserver implementation.
|
| void willProcessTask() override;
|
|
|