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

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

Issue 2244813002: LongTaskTiming: add idl, Experiment flag, PerformanceEntry and basic implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge issue in flags Created 4 years, 3 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 2016 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 PerformanceLongTaskTiming_h
6 #define PerformanceLongTaskTiming_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 Document;
16
17 class PerformanceLongTaskTiming final : public PerformanceEntry {
18 DEFINE_WRAPPERTYPEINFO();
19 public:
20 static PerformanceLongTaskTiming* create(double startTime, double endTime, S tring frameContextUrl)
21 {
22 return new PerformanceLongTaskTiming(startTime, endTime, frameContextUrl );
23 }
24
25 DECLARE_VIRTUAL_TRACE();
26
27 private:
28 PerformanceLongTaskTiming(double startTime, double endTime, String frameCont extUrl);
29 ~PerformanceLongTaskTiming() override;
30 };
31
32 } // namespace blink
33
34 #endif // PerformanceLongTaskTiming_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698