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

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: Initialise encoded_body_length for sync XHR to data: URLs Created 4 years, 5 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 f32971221b8cc353c30b140545ae065737d0d3f9..737fe52a3a2e6678db8c19fe52c150be584d5ffc 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -499,6 +499,26 @@ void WebURLResponse::setRemotePort(unsigned short remotePort)
m_resourceResponse->setRemotePort(remotePort);
}
+long long WebURLResponse::encodedBodyLength() const
+{
+ return m_resourceResponse->encodedBodyLength();
+}
+
+void WebURLResponse::addToEncodedBodyLength(long long length)
+{
+ m_resourceResponse->addToEncodedBodyLength(length);
+}
+
+long long WebURLResponse::decodedBodyLength() const
+{
+ return m_resourceResponse->decodedBodyLength();
+}
+
+void WebURLResponse::addToDecodedBodyLength(long long bytes)
+{
+ m_resourceResponse->addToDecodedBodyLength(bytes);
+}
+
WebURLResponse::ExtraData* WebURLResponse::getExtraData() const
{
RefPtr<ResourceResponse::ExtraData> data = m_resourceResponse->getExtraData();

Powered by Google App Engine
This is Rietveld 408576698