Index: third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.h |
diff --git a/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.h b/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.h |
index 870af370ee1e9cb9c896147f4af8537c40688aef..bde5b567ddd8b931eac46cd94c207481ae0893ab 100644 |
--- a/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.h |
+++ b/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.h |
@@ -16,6 +16,13 @@ class CORE_EXPORT PerformanceNavigationTiming final |
DEFINE_WRAPPERTYPEINFO(); |
public: |
+ enum PerformanceNavigationType { |
+ KTypeNavigate, |
+ KTypeReload, |
+ KTypeBackForward, |
+ KTypePrerender |
kinuko
2016/11/22 03:05:22
'PerformanceNavigationType' sounds a little odd (w
sunjian
2016/11/22 22:04:42
Done.
|
+ }; |
Yoav Weiss
2016/11/22 10:46:32
A nearly identical enum is already defined (but no
sunjian
2016/11/22 22:04:42
Agree. That's why i named this new enum differentl
|
+ |
PerformanceNavigationTiming(double timeOrigin, |
double unloadEventStart, |
double unloadEventEnd, |
@@ -26,7 +33,7 @@ class CORE_EXPORT PerformanceNavigationTiming final |
double domContentLoadedEventStart, |
double domContentLoadedEventEnd, |
double domComplete, |
- NavigationType, |
+ PerformanceNavigationType, |
double redirectStart, |
double redirectEnd, |
double fetchStart, |
@@ -74,7 +81,7 @@ class CORE_EXPORT PerformanceNavigationTiming final |
double m_domContentLoadedEventStart; |
double m_domContentLoadedEventEnd; |
double m_domComplete; |
- NavigationType m_type; |
+ PerformanceNavigationType m_type; |
double m_redirectStart; |
double m_redirectEnd; |
double m_fetchStart; |