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

Unified Diff: webkit/glue/multipart_response_delegate_unittest.cc

Issue 5619002: Revert 68094 - Refactoring BufferedDataSource to work with WebURLLoader inste... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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
« no previous file with comments | « webkit/glue/multipart_response_delegate.cc ('k') | webkit/glue/plugins/webplugin_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/multipart_response_delegate_unittest.cc
===================================================================
--- webkit/glue/multipart_response_delegate_unittest.cc (revision 68125)
+++ webkit/glue/multipart_response_delegate_unittest.cc (working copy)
@@ -550,12 +550,10 @@
int content_range_lower_bound = 0;
int content_range_upper_bound = 0;
- int content_range_instance_size = 0;
bool result = MultipartResponseDelegate::ReadContentRanges(
response1, &content_range_lower_bound,
- &content_range_upper_bound,
- &content_range_instance_size);
+ &content_range_upper_bound);
EXPECT_EQ(result, true);
EXPECT_EQ(content_range_lower_bound, 1000);
@@ -569,12 +567,10 @@
content_range_lower_bound = 0;
content_range_upper_bound = 0;
- content_range_instance_size = 0;
result = MultipartResponseDelegate::ReadContentRanges(
response2, &content_range_lower_bound,
- &content_range_upper_bound,
- &content_range_instance_size);
+ &content_range_upper_bound);
EXPECT_EQ(result, false);
@@ -586,12 +582,10 @@
content_range_lower_bound = 0;
content_range_upper_bound = 0;
- content_range_instance_size = 0;
result = MultipartResponseDelegate::ReadContentRanges(
response3, &content_range_lower_bound,
- &content_range_upper_bound,
- &content_range_instance_size);
+ &content_range_upper_bound);
EXPECT_EQ(result, true);
EXPECT_EQ(content_range_lower_bound, 1000);
@@ -604,12 +598,10 @@
content_range_lower_bound = 0;
content_range_upper_bound = 0;
- content_range_instance_size = 0;
result = MultipartResponseDelegate::ReadContentRanges(
response4, &content_range_lower_bound,
- &content_range_upper_bound,
- &content_range_instance_size);
+ &content_range_upper_bound);
EXPECT_EQ(result, false);
}
« no previous file with comments | « webkit/glue/multipart_response_delegate.cc ('k') | webkit/glue/plugins/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698