Index: public/platform/WebURLLoaderClient.h |
diff --git a/public/platform/WebURLLoaderClient.h b/public/platform/WebURLLoaderClient.h |
index 3313a9c03947d897d36b914539145d58f270591e..f75cc69f2cb5df280fe50cfdefbdc5642468a26b 100644 |
--- a/public/platform/WebURLLoaderClient.h |
+++ b/public/platform/WebURLLoaderClient.h |
@@ -55,7 +55,9 @@ public: |
// Called when a chunk of response data is downloaded. This is only called |
// if WebURLRequest's downloadToFile flag was set to true. |
- virtual void didDownloadData(WebURLLoader*, int dataLength) { } |
+ virtual void didDownloadData(WebURLLoader*, int dataLength, int encodedDataLength) { } |
+ // FIXME: Remove this stub function when Chrome-side change propagating the encodedDataLength is landed. |
tyoshino (SeeGerritForStatus)
2013/08/28 05:42:24
keep comments <= 80 cols
yusukesuzuki
2013/08/28 05:49:18
Done.
|
+ virtual void didDownloadData(WebURLLoader* loader, int dataLength) { didDownloadData(loader, dataLength, -1); } |
// Called when a chunk of response data is received. |
virtual void didReceiveData(WebURLLoader*, const char* data, int dataLength, int encodedDataLength) { } |