OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WebURLLoaderTestDelegate_h | 5 #ifndef WebURLLoaderTestDelegate_h |
6 #define WebURLLoaderTestDelegate_h | 6 #define WebURLLoaderTestDelegate_h |
7 | 7 |
8 #include "public/platform/WebCommon.h" | 8 #include "public/platform/WebCommon.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 12 matching lines...) Expand all Loading... |
23 virtual ~WebURLLoaderTestDelegate(); | 23 virtual ~WebURLLoaderTestDelegate(); |
24 | 24 |
25 virtual void DidReceiveResponse(WebURLLoaderClient* original_client, | 25 virtual void DidReceiveResponse(WebURLLoaderClient* original_client, |
26 const WebURLResponse&); | 26 const WebURLResponse&); |
27 virtual void DidReceiveData(WebURLLoaderClient* original_client, | 27 virtual void DidReceiveData(WebURLLoaderClient* original_client, |
28 const char* data, | 28 const char* data, |
29 int data_length); | 29 int data_length); |
30 virtual void DidFail(WebURLLoaderClient* original_client, | 30 virtual void DidFail(WebURLLoaderClient* original_client, |
31 const WebURLError&, | 31 const WebURLError&, |
32 int64_t total_encoded_data_length, | 32 int64_t total_encoded_data_length, |
33 int64_t total_encoded_body_length); | 33 int64_t total_encoded_body_length, |
| 34 int64_t total_decoded_body_length); |
34 virtual void DidFinishLoading(WebURLLoaderClient* original_client, | 35 virtual void DidFinishLoading(WebURLLoaderClient* original_client, |
35 double finish_time, | 36 double finish_time, |
36 int64_t total_encoded_data_length, | 37 int64_t total_encoded_data_length, |
37 int64_t total_encoded_body_length); | 38 int64_t total_encoded_body_length, |
| 39 int64_t total_decoded_body_length); |
38 }; | 40 }; |
39 | 41 |
40 } // namespace blink | 42 } // namespace blink |
41 | 43 |
42 #endif | 44 #endif |
OLD | NEW |