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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2506363005: Send encoded_body_length to renderer when response completed (3/3) (Closed)
Patch Set: rebase 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/child/resource_dispatcher.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 0ae3ab8b37841ca6beb70f28f263bbd5aaa8795e..e43f1b1f7c97ce9bb969ce207efff024f3caa60c 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -306,8 +306,7 @@ void ResourceDispatcher::OnSetDataBuffer(int request_id,
void ResourceDispatcher::OnReceivedInlinedDataChunk(
int request_id,
const std::vector<char>& data,
- int encoded_data_length,
- int encoded_body_length) {
+ int encoded_data_length) {
TRACE_EVENT0("loader", "ResourceDispatcher::OnReceivedInlinedDataChunk");
DCHECK(!data.empty());
DCHECK(base::FeatureList::IsEnabled(
@@ -334,8 +333,7 @@ void ResourceDispatcher::OnReceivedInlinedDataChunk(
void ResourceDispatcher::OnReceivedData(int request_id,
int data_offset,
int data_length,
- int encoded_data_length,
- int encoded_body_length) {
+ int encoded_data_length) {
TRACE_EVENT0("loader", "ResourceDispatcher::OnReceivedData");
DCHECK_GT(data_length, 0);
PendingRequestInfo* request_info = GetPendingRequestInfo(request_id);
« no previous file with comments | « content/child/resource_dispatcher.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698