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

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: Fix lint error: ASSERT -> DCHECK 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..6285c059b6c9fc3ee20b63cdd21fe6a07eac8e1a 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -494,6 +494,26 @@ 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);
+}
+
+long long WebURLResponse::decodedBodyLength() const
+{
+ return m_private->m_resourceResponse->decodedBodyLength();
+}
+
+void WebURLResponse::addToDecodedBodyLength(long long bytes)
+{
+ m_private->m_resourceResponse->addToDecodedBodyLength(bytes);
+}
+
WebURLResponse::ExtraData* WebURLResponse::getExtraData() const
{
RefPtr<ResourceResponse::ExtraData> data = m_private->m_resourceResponse->getExtraData();

Powered by Google App Engine
This is Rietveld 408576698