OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
haraken
2017/01/05 01:13:27
2017
panicker
2017/01/05 01:25:12
Done.
| |
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 TaskAttributionTiming_h | |
6 #define TaskAttributionTiming_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 TaskAttributionTiming final : public PerformanceEntry { | |
16 DEFINE_WRAPPERTYPEINFO(); | |
17 | |
18 public: | |
19 static TaskAttributionTiming* create(String type, | |
20 String frameSrc, | |
21 String frameId, | |
22 String frameName) { | |
23 return new TaskAttributionTiming(type, frameSrc, frameId, frameName); | |
24 } | |
25 | |
26 String frameSrc() const; | |
27 String frameId() const; | |
28 String frameName() const; | |
29 | |
30 DECLARE_VIRTUAL_TRACE(); | |
31 | |
32 ~TaskAttributionTiming() override; | |
33 | |
34 private: | |
35 TaskAttributionTiming(String type, | |
36 String frameSrc, | |
37 String frameId, | |
38 String frameName); | |
39 | |
40 String m_frameSrc; | |
41 String m_frameId; | |
42 String m_frameName; | |
43 }; | |
44 | |
45 } // namespace blink | |
46 | |
47 #endif // TaskAttributionTiming_h | |
OLD | NEW |