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

Unified Diff: content/child/resource_dispatcher_unittest.cc

Issue 2506363005: Send encoded_body_length to renderer when response completed (3/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/resource_dispatcher.cc ('k') | content/common/resource_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher_unittest.cc
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc
index 1bf9e349b2f896a7748d982e2f6633daf14de13e..0b4dc7e27b21e9898a51ffc0199decd8991d753e 100644
--- a/content/child/resource_dispatcher_unittest.cc
+++ b/content/child/resource_dispatcher_unittest.cc
@@ -275,14 +275,14 @@ class ResourceDispatcherTest : public testing::Test, public IPC::Sender {
data.length());
EXPECT_TRUE(dispatcher_->OnMessageReceived(ResourceMsg_DataReceived(
- request_id, 0, data.length(), data.length(), data.length())));
+ request_id, 0, data.length(), data.length())));
}
void NotifyInlinedDataChunkReceived(int request_id,
const std::vector<char>& data) {
auto size = data.size();
EXPECT_TRUE(dispatcher_->OnMessageReceived(
- ResourceMsg_InlinedDataChunkReceived(request_id, data, size, size)));
+ ResourceMsg_InlinedDataChunkReceived(request_id, data, size)));
}
void NotifyDataDownloaded(int request_id,
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698