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

Unified Diff: content/child/web_url_loader_impl_unittest.cc

Issue 2483793002: Mark WebURLResponse data size getters as ForTesting (Closed)
Patch Set: 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 | « no previous file | third_party/WebKit/Source/platform/exported/WebURLResponse.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl_unittest.cc
diff --git a/content/child/web_url_loader_impl_unittest.cc b/content/child/web_url_loader_impl_unittest.cc
index 2f377caf9a31ef03c6007f9fc6e6dfbb2f53793c..e6a2b7a75587997795934ce37c41da2adbb97606 100644
--- a/content/child/web_url_loader_impl_unittest.cc
+++ b/content/child/web_url_loader_impl_unittest.cc
@@ -714,10 +714,11 @@ TEST_F(WebURLLoaderImplTest, SyncLengths) {
client()->loader()->loadSynchronously(request, response, error, data,
encoded_data_length);
- EXPECT_EQ(kEncodedBodyLength, response.encodedBodyLength());
+ EXPECT_EQ(kEncodedBodyLength, response.encodedBodyLengthForTesting());
EXPECT_EQ(kEncodedDataLength, encoded_data_length);
int expected_decoded_body_length = strlen(kBodyData);
- EXPECT_EQ(expected_decoded_body_length, response.decodedBodyLength());
+ EXPECT_EQ(expected_decoded_body_length,
+ response.decodedBodyLengthForTesting());
}
} // namespace
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/exported/WebURLResponse.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698