| 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 "platform/wtf/Forward.h" |
| 11 #include "wtf/text/WTFString.h" | 11 #include "platform/wtf/text/WTFString.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class TaskAttributionTiming; | 15 class TaskAttributionTiming; |
| 16 using TaskAttributionVector = HeapVector<Member<TaskAttributionTiming>>; | 16 using TaskAttributionVector = HeapVector<Member<TaskAttributionTiming>>; |
| 17 | 17 |
| 18 class PerformanceLongTaskTiming final : public PerformanceEntry { | 18 class PerformanceLongTaskTiming final : public PerformanceEntry { |
| 19 DEFINE_WRAPPERTYPEINFO(); | 19 DEFINE_WRAPPERTYPEINFO(); |
| 20 | 20 |
| 21 public: | 21 public: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 38 String frame_id, | 38 String frame_id, |
| 39 String frame_name); | 39 String frame_name); |
| 40 ~PerformanceLongTaskTiming() override; | 40 ~PerformanceLongTaskTiming() override; |
| 41 | 41 |
| 42 TaskAttributionVector attribution_; | 42 TaskAttributionVector attribution_; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // PerformanceLongTaskTiming_h | 47 #endif // PerformanceLongTaskTiming_h |
| OLD | NEW |