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

Unified Diff: content/public/child/request_peer.h

Issue 2105713002: Render process changes for ResourceTiming sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@resource_timing_sizes_browser_process
Patch Set: Created 4 years, 6 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 2b054b38d77b62773b0d7dc7c9d3abab32d14a3a..3bbd922272be4ece54b754630b0189d63379d4a6 100644
--- a/content/public/child/request_peer.h
+++ b/content/public/child/request_peer.h
@@ -51,6 +51,10 @@ class CONTENT_EXPORT RequestPeer {
// over the network, which could be different from data length (e.g. for
// gzipped content).
virtual int encoded_length() const = 0;
+ // The encoded_body_length is the size of the body as transferred over the
+ // network or stored in the disk cache. This will be different from the data
+ // length if a content encoding was used.
+ virtual int encoded_body_length() const = 0;
kinuko 2016/06/28 15:35:07 It'd be probably nicer to clearly explain how enco
Adam Rice 2016/06/29 09:52:15 I have tried to make the comments clearer. I also
};
// A ThreadSafeReceivedData can be deleted on ANY thread.

Powered by Google App Engine
This is Rietveld 408576698