Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/WebKit/Source/core/timing/TaskAttributionTiming.h

Issue 2610063006: Create TaskAttributionTiming PerformanceEntry for attribution in PerformanceLongTaskTiming. Move cu… (Closed)
Patch Set: update layout test expectation Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698