| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PerformanceLongTaskTiming_h | 5 #ifndef PerformanceLongTaskTiming_h |
| 6 #define PerformanceLongTaskTiming_h | 6 #define PerformanceLongTaskTiming_h |
| 7 | 7 |
| 8 #include "core/timing/PerformanceEntry.h" | 8 #include "core/timing/PerformanceEntry.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/Forward.h" | 10 #include "wtf/Forward.h" |
| 11 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class DOMWindow; | |
| 16 | |
| 17 class PerformanceLongTaskTiming final : public PerformanceEntry { | 15 class PerformanceLongTaskTiming final : public PerformanceEntry { |
| 18 DEFINE_WRAPPERTYPEINFO(); | 16 DEFINE_WRAPPERTYPEINFO(); |
| 19 | 17 |
| 20 public: | 18 public: |
| 21 static PerformanceLongTaskTiming* create(double startTime, | 19 static PerformanceLongTaskTiming* create(double startTime, |
| 22 double endTime, | 20 double endTime, |
| 23 String name, | 21 String name, |
| 24 String culpritFrameSrc, | 22 String culpritFrameSrc, |
| 25 String culpritFrameId, | 23 String culpritFrameId, |
| 26 String culpritFrameName) { | 24 String culpritFrameName) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 45 ~PerformanceLongTaskTiming() override; | 43 ~PerformanceLongTaskTiming() override; |
| 46 | 44 |
| 47 String m_culpritFrameSrc; | 45 String m_culpritFrameSrc; |
| 48 String m_culpritFrameId; | 46 String m_culpritFrameId; |
| 49 String m_culpritFrameName; | 47 String m_culpritFrameName; |
| 50 }; | 48 }; |
| 51 | 49 |
| 52 } // namespace blink | 50 } // namespace blink |
| 53 | 51 |
| 54 #endif // PerformanceLongTaskTiming_h | 52 #endif // PerformanceLongTaskTiming_h |
| OLD | NEW |