| Index: third_party/WebKit/public/platform/WebURLLoaderClient.h
|
| diff --git a/third_party/WebKit/public/platform/WebURLLoaderClient.h b/third_party/WebKit/public/platform/WebURLLoaderClient.h
|
| index e470bf461532cd1aeb3fa9a674e3686f418f1f2f..5478d14f0b90f6de5cccc1cba1ccee4449526eaa 100644
|
| --- a/third_party/WebKit/public/platform/WebURLLoaderClient.h
|
| +++ b/third_party/WebKit/public/platform/WebURLLoaderClient.h
|
| @@ -87,14 +87,10 @@ class BLINK_PLATFORM_EXPORT WebURLLoaderClient {
|
| // from cache, and -1 if this information is unavailable.
|
| // TODO(ricea): -1 is problematic for consumers maintaining a running
|
| // total. Investigate using 0 for all unavailable cases.
|
| - // |encodedBodyLength| is the number of bytes used to store this chunk,
|
| - // possibly encrypted, excluding headers or framing. It is set even if the
|
| - // response was served from cache.
|
| virtual void didReceiveData(WebURLLoader*,
|
| const char* data,
|
| int dataLength,
|
| - int encodedDataLength,
|
| - int encodedBodyLength) {}
|
| + int encodedDataLength) {}
|
|
|
| // Called when a chunk of renderer-generated metadata is received from the
|
| // cache.
|
| @@ -106,13 +102,15 @@ class BLINK_PLATFORM_EXPORT WebURLLoaderClient {
|
| // |totalEncodedDataLength| may be equal to kUnknownEncodedDataLength.
|
| virtual void didFinishLoading(WebURLLoader* loader,
|
| double finishTime,
|
| - int64_t totalEncodedDataLength) {}
|
| + int64_t totalEncodedDataLength,
|
| + int64_t totalEncodedBodyLength) {}
|
|
|
| // Called when the load completes with an error.
|
| // |totalEncodedDataLength| may be equal to kUnknownEncodedDataLength.
|
| virtual void didFail(WebURLLoader*,
|
| const WebURLError&,
|
| - int64_t totalEncodedDataLength) {}
|
| + int64_t totalEncodedDataLength,
|
| + int64_t totalEncodedBodyLength) {}
|
|
|
| // Value passed to didFinishLoading when total encoded data length isn't
|
| // known.
|
|
|