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 16 matching lines...) Expand all Loading... |
27 WebURLLoader*, | 27 WebURLLoader*, |
28 const WebURLResponse&); | 28 const WebURLResponse&); |
29 virtual void didReceiveData(WebURLLoaderClient* originalClient, | 29 virtual void didReceiveData(WebURLLoaderClient* originalClient, |
30 WebURLLoader*, | 30 WebURLLoader*, |
31 const char* data, | 31 const char* data, |
32 int dataLength, | 32 int dataLength, |
33 int encodedDataLength); | 33 int encodedDataLength); |
34 virtual void didFail(WebURLLoaderClient* originalClient, | 34 virtual void didFail(WebURLLoaderClient* originalClient, |
35 WebURLLoader*, | 35 WebURLLoader*, |
36 const WebURLError&, | 36 const WebURLError&, |
37 int64_t totalEncodedDataLength); | 37 int64_t totalEncodedDataLength, |
| 38 int64_t totalEncodedBodyLength); |
38 virtual void didFinishLoading(WebURLLoaderClient* originalClient, | 39 virtual void didFinishLoading(WebURLLoaderClient* originalClient, |
39 WebURLLoader*, | 40 WebURLLoader*, |
40 double finishTime, | 41 double finishTime, |
41 int64_t totalEncodedDataLength); | 42 int64_t totalEncodedDataLength, |
| 43 int64_t totalEncodedBodyLength); |
42 }; | 44 }; |
43 | 45 |
44 } // namespace blink | 46 } // namespace blink |
45 | 47 |
46 #endif | 48 #endif |
OLD | NEW |