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

Unified Diff: content/common/resource_request_completion_status.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
« no previous file with comments | « content/common/resource_messages.h ('k') | content/public/child/request_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_request_completion_status.h
diff --git a/content/common/resource_request_completion_status.h b/content/common/resource_request_completion_status.h
index 92e48a864f91f6ac08886dddee355779cab98a19..594119a82a6be88f9a20e4bdc903f3b15fe5046e 100644
--- a/content/common/resource_request_completion_status.h
+++ b/content/common/resource_request_completion_status.h
@@ -36,6 +36,9 @@ struct CONTENT_EXPORT ResourceRequestCompletionStatus {
// The length of the response body before removing any content encodings.
int64_t encoded_body_length = 0;
+
+ // The length of the response body after decoding.
+ int64_t decoded_body_length = 0;
};
} // namespace content
« no previous file with comments | « content/common/resource_messages.h ('k') | content/public/child/request_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698