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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.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/Source/platform/loader/fetch/ResourceLoader.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.h b/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.h
index cb271b9c451c8bfdd5375fa881a660caeef1fcb2..9d114e7c5617bb4ab4b9d7fcdec739ff18a9d5f4 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.h
@@ -101,10 +101,12 @@ class PLATFORM_EXPORT ResourceLoader final
void DidDownloadData(int, int) override;
void DidFinishLoading(double finish_time,
int64_t encoded_data_length,
- int64_t encoded_body_length) override;
+ int64_t encoded_body_length,
+ int64_t decoded_body_length) override;
void DidFail(const WebURLError&,
int64_t encoded_data_length,
- int64_t encoded_body_length) override;
+ int64_t encoded_body_length,
+ int64_t decoded_body_length) override;
void HandleError(const ResourceError&);
void DidFinishLoadingFirstPartInMultipart();

Powered by Google App Engine
This is Rietveld 408576698