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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp

Issue 2316573002: PlzNavigate: Support ResourceTiming API (Closed)
Patch Set: Support resourceLoadInfo (encodedDataLength) Created 4 years, 3 months 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/platform/exported/WebURLResponse.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
index 09de4f04a11ac699fe28286b1012898de246acbf..74f659cf2a30b8bbdf0da67a9f68fca382002855 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -506,6 +506,16 @@ void WebURLResponse::setRemotePort(unsigned short remotePort)
m_resourceResponse->setRemotePort(remotePort);
}
+long long WebURLResponse::encodedDataLength() const
+{
+ return m_resourceResponse->encodedDataLength();
+}
+
+void WebURLResponse::addToEncodedDataLength(long long length)
+{
+ m_resourceResponse->addToEncodedDataLength(length);
+}
+
long long WebURLResponse::encodedBodyLength() const
{
return m_resourceResponse->encodedBodyLength();

Powered by Google App Engine
This is Rietveld 408576698