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

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

Issue 2675973004: Update NT2 name to be the requested URL instead of 'document' (Closed)
Patch Set: fix failing wpt tests (imported after creation of this CL), and delete a redundant, old test Created 3 years, 10 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
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 PerformanceNavigationTiming_h 5 #ifndef PerformanceNavigationTiming_h
6 #define PerformanceNavigationTiming_h 6 #define PerformanceNavigationTiming_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/DOMHighResTimeStamp.h" 9 #include "core/dom/DOMHighResTimeStamp.h"
10 #include "core/timing/PerformanceResourceTiming.h" 10 #include "core/timing/PerformanceResourceTiming.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class CORE_EXPORT PerformanceNavigationTiming final 14 class CORE_EXPORT PerformanceNavigationTiming final
15 : public PerformanceResourceTiming { 15 : public PerformanceResourceTiming {
16 DEFINE_WRAPPERTYPEINFO(); 16 DEFINE_WRAPPERTYPEINFO();
17 17
18 public: 18 public:
19 enum class NavigationType { Navigate, Reload, BackForward, Prerender }; 19 enum class NavigationType { Navigate, Reload, BackForward, Prerender };
20 20
21 PerformanceNavigationTiming(double timeOrigin, 21 PerformanceNavigationTiming(double timeOrigin,
22 const String& requestedUrl,
22 double unloadEventStart, 23 double unloadEventStart,
23 double unloadEventEnd, 24 double unloadEventEnd,
24 double loadEventStart, 25 double loadEventStart,
25 double loadEventEnd, 26 double loadEventEnd,
26 unsigned short redirectCount, 27 unsigned short redirectCount,
27 double domInteractive, 28 double domInteractive,
28 double domContentLoadedEventStart, 29 double domContentLoadedEventStart,
29 double domContentLoadedEventEnd, 30 double domContentLoadedEventEnd,
30 double domComplete, 31 double domComplete,
31 NavigationType, 32 NavigationType,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 double m_redirectStart; 81 double m_redirectStart;
81 double m_redirectEnd; 82 double m_redirectEnd;
82 double m_fetchStart; 83 double m_fetchStart;
83 double m_responseEnd; 84 double m_responseEnd;
84 bool m_allowRedirectDetails; 85 bool m_allowRedirectDetails;
85 bool m_hasSameOriginAsPreviousDocument; 86 bool m_hasSameOriginAsPreviousDocument;
86 }; 87 };
87 } // namespace blink 88 } // namespace blink
88 89
89 #endif // PerformanceNavigationTiming_h 90 #endif // PerformanceNavigationTiming_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698