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

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

Issue 2511313002: transferSize implementation (Closed)
Patch Set: addressed comments Created 4 years 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.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index c264aa70e61d854b124a7713dee1358429a496bf..c9880baaaf519445794803953f76f829c2836ea8 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -148,6 +148,10 @@ unsigned long DocumentLoader::mainResourceIdentifier() const {
return m_mainResource ? m_mainResource->identifier() : 0;
}
+ResourceTimingInfo* DocumentLoader::getMainResourceTimingInfo() const {
+ return fetcher()->getMainResourceTimingInfo();
+}
+
const ResourceRequest& DocumentLoader::originalRequest() const {
return m_originalRequest;
}

Powered by Google App Engine
This is Rietveld 408576698