Chromium Code Reviews| Index: webkit/child/resource_loader_bridge.h |
| diff --git a/webkit/child/resource_loader_bridge.h b/webkit/child/resource_loader_bridge.h |
| index 160bc846a594cd4225e9f0703ec48ecdde1e01ae..dc01d44c43c91e808f521469b1b3e2850e5d1ad2 100644 |
| --- a/webkit/child/resource_loader_bridge.h |
| +++ b/webkit/child/resource_loader_bridge.h |
| @@ -153,7 +153,10 @@ class ResourceLoaderBridge { |
| // called multiple times or not at all if an error occurs. This method is |
| // only called if RequestInfo::download_to_file was set to true, and in |
| // that case, OnReceivedData will not be called. |
| - virtual void OnDownloadedData(int len) = 0; |
| + // The encoded_data_length is the length of the encoded data transferred |
| + // over the network, which could be different from data length (e.g. for |
| + // gzipped content), or -1 if if unknown. |
|
Nico
2013/09/02 03:50:25
s/if if/if/
So this will only be valid while devt
yusukesuzuki
2013/09/02 04:10:14
Done. I've mentioned it in the CL description and
|
| + virtual void OnDownloadedData(int len, int encoded_data_length) = 0; |
| // Called when a chunk of response data is available. This method may |
| // be called multiple times or not at all if an error occurs. |