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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceBase.h

Issue 2472583003: Navigation Timing Level 2 (Closed)
Patch Set: fixed layout tests failure Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/timing/PerformanceBase.h
diff --git a/third_party/WebKit/Source/core/timing/PerformanceBase.h b/third_party/WebKit/Source/core/timing/PerformanceBase.h
index 52a1c9f2dad64cd3255854dea5cc14dd62c462b0..2de9eb2a0cbc1eced0de6421e9daa838d1b5ee61 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceBase.h
+++ b/third_party/WebKit/Source/core/timing/PerformanceBase.h
@@ -47,6 +47,7 @@ namespace blink {
class DOMWindow;
class ExceptionState;
+class LocalFrame;
class PerformanceObserver;
class PerformanceTiming;
class ResourceTimingInfo;
@@ -99,6 +100,8 @@ class CORE_EXPORT PerformanceBase : public EventTargetWithInlineData {
void addResourceTiming(const ResourceTimingInfo&);
+ void addNavigationTiming(LocalFrame*);
+
void mark(const String& markName, ExceptionState&);
void clearMarks(const String& markName);
@@ -134,6 +137,7 @@ class CORE_EXPORT PerformanceBase : public EventTargetWithInlineData {
unsigned m_frameTimingBufferSize;
PerformanceEntryVector m_resourceTimingBuffer;
unsigned m_resourceTimingBufferSize;
+ Member<PerformanceEntry> m_navigationTiming;
Member<UserTiming> m_userTiming;
double m_timeOrigin;
« no previous file with comments | « third_party/WebKit/Source/core/timing/BUILD.gn ('k') | third_party/WebKit/Source/core/timing/PerformanceBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698