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

Unified Diff: content/child/shared_memory_data_consumer_handle_unittest.cc

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
Index: content/child/shared_memory_data_consumer_handle_unittest.cc
diff --git a/content/child/shared_memory_data_consumer_handle_unittest.cc b/content/child/shared_memory_data_consumer_handle_unittest.cc
index e9ebe02371fb150979d3af3531060e7a6ed05362..7c976fd58b7cc865b7e7ffd51cbd1b576e22dcdb 100644
--- a/content/child/shared_memory_data_consumer_handle_unittest.cc
+++ b/content/child/shared_memory_data_consumer_handle_unittest.cc
@@ -86,9 +86,6 @@ class LoggingFixedReceivedData final : public RequestPeer::ReceivedData {
int encoded_data_length() const override {
return static_cast<int>(data_.size());
}
- int encoded_body_length() const override {
- return static_cast<int>(data_.size());
- }
private:
const std::string name_;
@@ -204,7 +201,7 @@ class SharedMemoryDataConsumerHandleTest
}
std::unique_ptr<FixedReceivedData> NewFixedData(const char* s) {
auto size = strlen(s);
- return base::MakeUnique<FixedReceivedData>(s, size, size, size);
+ return base::MakeUnique<FixedReceivedData>(s, size, size);
}
StrictMock<MockClient> client_;
« no previous file with comments | « content/child/shared_memory_data_consumer_handle.cc ('k') | content/child/shared_memory_received_data_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698