| 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 15 matching lines...) Expand all Loading... |
| 26 virtual void didReceiveResponse(WebURLLoaderClient* originalClient, | 26 virtual void didReceiveResponse(WebURLLoaderClient* originalClient, |
| 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 virtual void didFinishLoading(WebURLLoaderClient* originalClient, | 38 virtual void didFinishLoading(WebURLLoaderClient* originalClient, |
| 38 WebURLLoader*, | 39 WebURLLoader*, |
| 39 double finishTime, | 40 double finishTime, |
| 40 int64_t totalEncodedDataLength); | 41 int64_t totalEncodedDataLength); |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 } // namespace blink | 44 } // namespace blink |
| 44 | 45 |
| 45 #endif | 46 #endif |
| OLD | NEW |