Chromium Code Reviews| 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..5cd6b4fdac75496dfaf207af4bef7ea9153e9330 100644 |
| --- a/third_party/WebKit/Source/core/timing/PerformanceBase.h |
| +++ b/third_party/WebKit/Source/core/timing/PerformanceBase.h |
| @@ -46,7 +46,12 @@ |
| namespace blink { |
| class DOMWindow; |
| +class Document; |
| +class DocumentLoader; |
| +class DocumentLoadTiming; |
| +class DocumentTiming; |
|
Kunihiko Sakamoto
2016/11/10 03:31:49
Are these forward declarations necessary?
sunjian
2016/11/11 21:48:05
Done.
|
| class ExceptionState; |
| +class LocalFrame; |
| class PerformanceObserver; |
| class PerformanceTiming; |
| class ResourceTimingInfo; |
| @@ -99,6 +104,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 +141,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; |