diff options
author | vsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-08 18:52:10 +0000 |
---|---|---|
committer | vsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-08 18:52:10 +0000 |
commit | 8bd0de7e38b1f56b00e2ee8c2680b9306ede5eee (patch) | |
tree | fa146e5937db671b67ba8a425e0fcc9448d98a8d /webkit/plugins/ppapi | |
parent | 776c05d1347784290de3751bb753439204247591 (diff) | |
download | chromium_src-8bd0de7e38b1f56b00e2ee8c2680b9306ede5eee.zip chromium_src-8bd0de7e38b1f56b00e2ee8c2680b9306ede5eee.tar.gz chromium_src-8bd0de7e38b1f56b00e2ee8c2680b9306ede5eee.tar.bz2 |
Enabled actual transfer size in chromium
BUG=40502
TEST=Open DevTools, open site having gzip/chunked encoding, ensure transfer size is correct.
Review URL: http://codereview.chromium.org/6771043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80965 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi')
-rw-r--r-- | webkit/plugins/ppapi/ppb_url_loader_impl.cc | 2 | ||||
-rw-r--r-- | webkit/plugins/ppapi/ppb_url_loader_impl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/ppb_url_loader_impl.cc b/webkit/plugins/ppapi/ppb_url_loader_impl.cc index 7d0faed..31518d1 100644 --- a/webkit/plugins/ppapi/ppb_url_loader_impl.cc +++ b/webkit/plugins/ppapi/ppb_url_loader_impl.cc @@ -423,7 +423,7 @@ void PPB_URLLoader_Impl::didDownloadData(WebURLLoader* loader, void PPB_URLLoader_Impl::didReceiveData(WebURLLoader* loader, const char* data, int data_length, - int length_received) { + int raw_data_length) { bytes_received_ += data_length; buffer_.insert(buffer_.end(), data, data + data_length); diff --git a/webkit/plugins/ppapi/ppb_url_loader_impl.h b/webkit/plugins/ppapi/ppb_url_loader_impl.h index 4367114..cd21285 100644 --- a/webkit/plugins/ppapi/ppb_url_loader_impl.h +++ b/webkit/plugins/ppapi/ppb_url_loader_impl.h @@ -80,7 +80,7 @@ class PPB_URLLoader_Impl : public Resource, public WebKit::WebURLLoaderClient { virtual void didReceiveData(WebKit::WebURLLoader* loader, const char* data, int data_length, - int length_received); + int raw_data_length); virtual void didFinishLoading(WebKit::WebURLLoader* loader, double finish_time); virtual void didFail(WebKit::WebURLLoader* loader, |