summaryrefslogtreecommitdiffstats
path: root/webkit/glue/multipart_response_delegate_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/multipart_response_delegate_unittest.cc')
-rw-r--r--webkit/glue/multipart_response_delegate_unittest.cc15
1 files changed, 13 insertions, 2 deletions
diff --git a/webkit/glue/multipart_response_delegate_unittest.cc b/webkit/glue/multipart_response_delegate_unittest.cc
index fbefaaa..c48c2de 100644
--- a/webkit/glue/multipart_response_delegate_unittest.cc
+++ b/webkit/glue/multipart_response_delegate_unittest.cc
@@ -66,12 +66,23 @@ class MockWebURLLoaderClient : public WebURLLoaderClient {
response_ = response;
data_.clear();
}
- virtual void didReceiveData(WebURLLoader* loader,
- const char* data, int data_length) {
+ // FIXME(vsevik): rename once renamed in webkit
+ virtual void didReceiveData2(
+ WebKit::WebURLLoader* loader,
+ const char* data,
+ int data_length,
+ int length_received) {
++received_data_;
data_.append(data, data_length);
}
+ // FIXME(vsevik): remove once removed in webkit
+ virtual void didReceiveData(
+ WebKit::WebURLLoader* loader,
+ const char* data,
+ int data_length) {
+ didReceiveData2(loader, data, data_length, -1);
+ }
virtual void didFinishLoading(WebURLLoader*, double finishTime) {}
virtual void didFail(WebURLLoader*, const WebURLError&) {}