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

Unified Diff: third_party/WebKit/public/platform/WebURLLoaderClient.h

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/public/platform/WebURLLoaderClient.h
diff --git a/third_party/WebKit/public/platform/WebURLLoaderClient.h b/third_party/WebKit/public/platform/WebURLLoaderClient.h
index 578eb55569c221cc4710da390255551585bcca8a..b8fb54c80382933c276b2060aa14b61a71f20491 100644
--- a/third_party/WebKit/public/platform/WebURLLoaderClient.h
+++ b/third_party/WebKit/public/platform/WebURLLoaderClient.h
@@ -93,13 +93,15 @@ class BLINK_PLATFORM_EXPORT WebURLLoaderClient {
// |totalEncodedDataLength| may be equal to kUnknownEncodedDataLength.
virtual void DidFinishLoading(double finish_time,
int64_t total_encoded_data_length,
- int64_t total_encoded_body_length) {}
+ int64_t total_encoded_body_length,
+ int64_t total_decoded_body_length) {}
// Called when the load completes with an error.
// |totalEncodedDataLength| may be equal to kUnknownEncodedDataLength.
virtual void DidFail(const WebURLError&,
int64_t total_encoded_data_length,
- int64_t total_encoded_body_length) {}
+ int64_t total_encoded_body_length,
+ int64_t total_decoded_body_length) {}
// Value passed to didFinishLoading when total encoded data length isn't
// known.
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimRequest.cpp ('k') | third_party/WebKit/public/platform/WebURLLoaderTestDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698