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. |