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

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

Issue 2510333002: Send encoded_body_length to renderer when response completed (2/3) (Closed)
Patch Set: rebase Created 4 years, 1 month 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/web_url_loader_impl_unittest.cc ('k') | content/public/child/fixed_received_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d9865ad73949121bc45d94a70847e8aaeece0769..102ff369711d4805971d4877fbd6b9d34b119481 100644
--- a/content/public/child/fixed_received_data.h
+++ b/content/public/child/fixed_received_data.h
@@ -18,25 +18,18 @@ namespace content {
class CONTENT_EXPORT FixedReceivedData final
: public RequestPeer::ThreadSafeReceivedData {
public:
- FixedReceivedData(const char* data,
- size_t length,
- int encoded_data_length,
- int encoded_body_length);
+ FixedReceivedData(const char* data, size_t length, int encoded_data_length);
explicit FixedReceivedData(ReceivedData* data);
- FixedReceivedData(const std::vector<char>& data,
- int encoded_data_length,
- int encoded_body_length);
+ FixedReceivedData(const std::vector<char>& data, int encoded_data_length);
~FixedReceivedData() override;
const char* payload() const override;
int length() const override;
int encoded_data_length() const override;
- int encoded_body_length() const override;
private:
std::vector<char> data_;
int encoded_data_length_;
- int encoded_body_length_;
DISALLOW_COPY_AND_ASSIGN(FixedReceivedData);
};
« no previous file with comments | « content/child/web_url_loader_impl_unittest.cc ('k') | content/public/child/fixed_received_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698