summaryrefslogtreecommitdiffstats
path: root/webkit/glue/weburlloader_impl.cc
diff options
context:
space:
mode:
authorvsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-13 19:57:25 +0000
committervsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-13 19:57:25 +0000
commitdfd68217f29368caff98a05afb06d86430cf7707 (patch)
treeca02da287323bf785e8ff719987737cc9b8845fe /webkit/glue/weburlloader_impl.cc
parent41e889432dacf1044c38d23a49b7edbc44d273b6 (diff)
downloadchromium_src-dfd68217f29368caff98a05afb06d86430cf7707.zip
chromium_src-dfd68217f29368caff98a05afb06d86430cf7707.tar.gz
chromium_src-dfd68217f29368caff98a05afb06d86430cf7707.tar.bz2
Renamed raw_data_length to encoded_data_length
BUG=None TEST=None Review URL: http://codereview.chromium.org/6838021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81464 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/weburlloader_impl.cc')
-rw-r--r--webkit/glue/weburlloader_impl.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index bb7bf68..96042dc 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -159,7 +159,7 @@ bool GetInfoFromDataURL(const GURL& url,
info->charset.swap(charset);
info->security_info.clear();
info->content_length = -1;
- info->raw_data_length = 0;
+ info->encoded_data_length = 0;
info->load_timing.base_time = Time::Now();
return true;
@@ -300,7 +300,7 @@ class WebURLLoaderImpl::Context : public base::RefCounted<Context>,
virtual void OnDownloadedData(int len);
virtual void OnReceivedData(const char* data,
int data_length,
- int raw_data_length);
+ int encoded_data_length);
virtual void OnReceivedCachedMetadata(const char* data, int len);
virtual void OnCompletedRequest(const net::URLRequestStatus& status,
const std::string& security_info,
@@ -598,7 +598,7 @@ void WebURLLoaderImpl::Context::OnDownloadedData(int len) {
void WebURLLoaderImpl::Context::OnReceivedData(const char* data,
int data_length,
- int raw_data_length) {
+ int encoded_data_length) {
if (!client_)
return;
@@ -612,9 +612,9 @@ void WebURLLoaderImpl::Context::OnReceivedData(const char* data,
} else if (multipart_delegate_.get()) {
// The multipart delegate will make the appropriate calls to
// client_->didReceiveData and client_->didReceiveResponse.
- multipart_delegate_->OnReceivedData(data, data_length, raw_data_length);
+ multipart_delegate_->OnReceivedData(data, data_length, encoded_data_length);
} else {
- client_->didReceiveData(loader_, data, data_length, raw_data_length);
+ client_->didReceiveData(loader_, data, data_length, encoded_data_length);
}
}