| 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 Document; |  | 
|  16 class DOMWindow; |  15 class DOMWindow; | 
|  17  |  16  | 
|  18 class PerformanceLongTaskTiming final : public PerformanceEntry { |  17 class PerformanceLongTaskTiming final : public PerformanceEntry { | 
|  19   DEFINE_WRAPPERTYPEINFO(); |  18   DEFINE_WRAPPERTYPEINFO(); | 
|  20  |  19  | 
|  21  public: |  20  public: | 
|  22   static PerformanceLongTaskTiming* create(double startTime, |  21   static PerformanceLongTaskTiming* create(double startTime, | 
|  23                                            double endTime, |  22                                            double endTime, | 
|  24                                            String name, |  23                                            String name, | 
|  25                                            DOMWindow* culpritWindow) { |  24                                            DOMWindow* culpritWindow) { | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
|  37                             String name, |  36                             String name, | 
|  38                             DOMWindow* culpritWindow); |  37                             DOMWindow* culpritWindow); | 
|  39   ~PerformanceLongTaskTiming() override; |  38   ~PerformanceLongTaskTiming() override; | 
|  40  |  39  | 
|  41   Member<DOMWindow> m_culpritWindow; |  40   Member<DOMWindow> m_culpritWindow; | 
|  42 }; |  41 }; | 
|  43  |  42  | 
|  44 }  // namespace blink |  43 }  // namespace blink | 
|  45  |  44  | 
|  46 #endif  // PerformanceLongTaskTiming_h |  45 #endif  // PerformanceLongTaskTiming_h | 
| OLD | NEW |