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

Unified Diff: content/common/resource_request_completion_status.h

Issue 2514713002: Send encoded_body_length to renderer when response completed (1/3) (Closed)
Patch Set: merge https://codereview.chromium.org/2526653002/ Created 4 years, 1 month 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') | net/test/url_request/url_request_failed_job.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 3ef01cee1f3c90ed2f6991e2436830f45714c06a..92e48a864f91f6ac08886dddee355779cab98a19 100644
--- a/content/common/resource_request_completion_status.h
+++ b/content/common/resource_request_completion_status.h
@@ -33,6 +33,9 @@ struct CONTENT_EXPORT ResourceRequestCompletionStatus {
// Total amount of data received from the network.
int64_t encoded_data_length = 0;
+
+ // The length of the response body before removing any content encodings.
+ int64_t encoded_body_length = 0;
};
} // namespace content
« no previous file with comments | « content/common/resource_messages.h ('k') | net/test/url_request/url_request_failed_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698