OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PerformanceLongTaskTiming_h |
| 6 #define PerformanceLongTaskTiming_h |
| 7 |
| 8 #include "core/timing/PerformanceEntry.h" |
| 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/Forward.h" |
| 11 #include "wtf/text/WTFString.h" |
| 12 |
| 13 namespace blink { |
| 14 |
| 15 class Document; |
| 16 |
| 17 class PerformanceLongTaskTiming final : public PerformanceEntry { |
| 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 public: |
| 20 static PerformanceLongTaskTiming* create(double startTime, double endTime, S
tring frameContextUrl) |
| 21 { |
| 22 return new PerformanceLongTaskTiming(startTime, endTime, frameContextUrl
); |
| 23 } |
| 24 |
| 25 DECLARE_VIRTUAL_TRACE(); |
| 26 |
| 27 private: |
| 28 PerformanceLongTaskTiming(double startTime, double endTime, String frameCont
extUrl); |
| 29 ~PerformanceLongTaskTiming() override; |
| 30 }; |
| 31 |
| 32 } // namespace blink |
| 33 |
| 34 #endif // PerformanceLongTaskTiming_h |
OLD | NEW |