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

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

Issue 2105713002: Render process changes for ResourceTiming sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@resource_timing_sizes_browser_process
Patch Set: Created 4 years, 6 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 2dda37aad69b8a5edba21466de29ddb3327ae1a2..a347f9f15cd58b5c30835870fea84782dbd7fcb9 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -494,6 +494,21 @@ void WebURLResponse::setRemotePort(unsigned short remotePort)
m_private->m_resourceResponse->setRemotePort(remotePort);
}
+long long WebURLResponse::encodedBodyLength() const
+{
+ return m_private->m_resourceResponse->encodedBodyLength();
+}
+
+void WebURLResponse::addToEncodedBodyLength(long long length)
+{
+ m_private->m_resourceResponse->addToEncodedBodyLength(length);
+}
+
+void WebURLResponse::addToResponseBodySize(long long bytes)
+{
+ m_private->m_resourceResponse->addToResponseBodySize(bytes);
+}
+
WebURLResponse::ExtraData* WebURLResponse::getExtraData() const
{
RefPtr<ResourceResponse::ExtraData> data = m_private->m_resourceResponse->getExtraData();

Powered by Google App Engine
This is Rietveld 408576698