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

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

Issue 2835123005: Send the decoded size when response completed and stop summing in ResourceLoader::DidReceiveData() (Closed)
Patch Set: Created 3 years, 8 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 7f925e27a34b3bf3abcdd5ec08fab4cfe00e0145..e51c68658443f8aa1f5f1e7d408851add3efb6d7 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -356,14 +356,6 @@ void WebURLResponse::SetEncodedDataLength(long long length) {
resource_response_->SetEncodedDataLength(length);
}
-void WebURLResponse::AddToEncodedBodyLength(long long length) {
- resource_response_->AddToEncodedBodyLength(length);
-}
-
-void WebURLResponse::AddToDecodedBodyLength(long long bytes) {
- resource_response_->AddToDecodedBodyLength(bytes);
-}
-
WebURLResponse::ExtraData* WebURLResponse::GetExtraData() const {
RefPtr<ResourceResponse::ExtraData> data = resource_response_->GetExtraData();
if (!data)

Powered by Google App Engine
This is Rietveld 408576698