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

Unified Diff: content/child/test_request_peer.cc

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/child/test_request_peer.h ('k') | content/child/url_response_body_consumer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/test_request_peer.cc
diff --git a/content/child/test_request_peer.cc b/content/child/test_request_peer.cc
index 17f27adc9fae06916875d403b4b1f1168c6761bd..b487f64947ba8b5105cd269b4ffd630b6889a01e 100644
--- a/content/child/test_request_peer.cc
+++ b/content/child/test_request_peer.cc
@@ -85,7 +85,8 @@ void TestRequestPeer::OnCompletedRequest(int error_code,
bool stale_copy_in_cache,
const base::TimeTicks& completion_time,
int64_t total_transfer_size,
- int64_t encoded_body_size) {
+ int64_t encoded_body_size,
+ int64_t decoded_body_size) {
if (context_->cancelled)
return;
EXPECT_TRUE(context_->received_response);
« no previous file with comments | « content/child/test_request_peer.h ('k') | content/child/url_response_body_consumer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698