Index: content/public/child/fixed_received_data.h |
diff --git a/content/public/child/fixed_received_data.h b/content/public/child/fixed_received_data.h |
index c872c2df674a398702165b49a199749991c9262d..d9865ad73949121bc45d94a70847e8aaeece0769 100644 |
--- a/content/public/child/fixed_received_data.h |
+++ b/content/public/child/fixed_received_data.h |
@@ -18,18 +18,25 @@ namespace content { |
class CONTENT_EXPORT FixedReceivedData final |
: public RequestPeer::ThreadSafeReceivedData { |
public: |
- FixedReceivedData(const char* data, size_t length, int encoded_length); |
+ FixedReceivedData(const char* data, |
+ size_t length, |
+ int encoded_data_length, |
+ int encoded_body_length); |
explicit FixedReceivedData(ReceivedData* data); |
- FixedReceivedData(const std::vector<char>& data, int encoded_length); |
+ FixedReceivedData(const std::vector<char>& data, |
+ int encoded_data_length, |
+ int encoded_body_length); |
~FixedReceivedData() override; |
const char* payload() const override; |
int length() const override; |
- int encoded_length() const override; |
+ int encoded_data_length() const override; |
+ int encoded_body_length() const override; |
private: |
std::vector<char> data_; |
- int encoded_length_; |
+ int encoded_data_length_; |
+ int encoded_body_length_; |
DISALLOW_COPY_AND_ASSIGN(FixedReceivedData); |
}; |