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

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

Issue 2540023003: Dispatch encoded_data_length separately in content/child (Closed)
Patch Set: fix Created 4 years 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/fixed_received_data.h
diff --git a/content/public/child/fixed_received_data.h b/content/public/child/fixed_received_data.h
index 102ff369711d4805971d4877fbd6b9d34b119481..0869ed075c4fe8739f7d3211d4f40b4978b63932 100644
--- a/content/public/child/fixed_received_data.h
+++ b/content/public/child/fixed_received_data.h
@@ -18,18 +18,16 @@ namespace content {
class CONTENT_EXPORT FixedReceivedData final
: public RequestPeer::ThreadSafeReceivedData {
public:
- FixedReceivedData(const char* data, size_t length, int encoded_data_length);
+ FixedReceivedData(const char* data, size_t length);
explicit FixedReceivedData(ReceivedData* data);
- FixedReceivedData(const std::vector<char>& data, int encoded_data_length);
+ FixedReceivedData(const std::vector<char>& data);
~FixedReceivedData() override;
const char* payload() const override;
int length() const override;
- int encoded_data_length() const override;
private:
std::vector<char> data_;
- int encoded_data_length_;
DISALLOW_COPY_AND_ASSIGN(FixedReceivedData);
};

Powered by Google App Engine
This is Rietveld 408576698