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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.h

Issue 2511313002: transferSize implementation (Closed)
Patch Set: added TODO 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/loader/DocumentLoader.h
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
index 21af660142a3493b92cd39e5a1f50910b72cedba..cc2294bcded3706eac63157dcb7703b2aa59e8d5 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
@@ -60,6 +60,7 @@ class ResourceFetcher;
class DocumentInit;
class LocalFrame;
class FrameLoader;
+class ResourceTimingInfo;
class WebDocumentSubresourceFilter;
struct ViewportDescriptionWrapper;
@@ -79,6 +80,8 @@ class CORE_EXPORT DocumentLoader
LocalFrame* frame() const { return m_frame; }
+ ResourceTimingInfo* getMainResourceTimingInfo() const;
+
virtual void detachFromFrame();
unsigned long mainResourceIdentifier() const;
@@ -258,6 +261,7 @@ class CORE_EXPORT DocumentLoader
bool m_isClientRedirect;
bool m_replacesCurrentHistoryItem;
bool m_dataReceived;
+ unsigned long m_mainResourceIdentifier;
NavigationType m_navigationType;

Powered by Google App Engine
This is Rietveld 408576698