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

Unified Diff: content/public/child/request_peer.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: content/public/child/request_peer.h
diff --git a/content/public/child/request_peer.h b/content/public/child/request_peer.h
index 7e6ee33e9ab7d9b31a15770e38730eb93745e454..5402ddb2d79201ff443d3993244cee4b0e8c1510 100644
--- a/content/public/child/request_peer.h
+++ b/content/public/child/request_peer.h
@@ -98,7 +98,8 @@ class CONTENT_EXPORT RequestPeer {
bool stale_copy_in_cache,
const base::TimeTicks& completion_time,
int64_t total_transfer_size,
- int64_t encoded_body_size) = 0;
+ int64_t encoded_body_size,
+ int64_t decoded_body_size) = 0;
virtual ~RequestPeer() {}
};
« no previous file with comments | « content/common/resource_request_completion_status.h ('k') | content/renderer/fetchers/resource_fetcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698