summaryrefslogtreecommitdiffstats
path: root/chrome_frame/urlmon_upload_data_stream.cc
diff options
context:
space:
mode:
authorhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-01 03:46:06 +0000
committerhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-01 03:46:06 +0000
commitad91dc59050338aab2fd258aea360f96dd7c1ab2 (patch)
treee4a09db9edf6982a2714d99f5221797ce9e6626e /chrome_frame/urlmon_upload_data_stream.cc
parent0f3a2d136bbe988ad5fa8b5585d2d1b6dfd40aff (diff)
downloadchromium_src-ad91dc59050338aab2fd258aea360f96dd7c1ab2.zip
chromium_src-ad91dc59050338aab2fd258aea360f96dd7c1ab2.tar.gz
chromium_src-ad91dc59050338aab2fd258aea360f96dd7c1ab2.tar.bz2
net: Move file operation code from UploadData to UploadDataStream
ResetOffset(), GetContentLength() and IsInMemory() are moved from UploadData to UploadDataStream. This is an intermediate step to make simlar change to UploadElement BUG=72001 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10878082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/urlmon_upload_data_stream.cc')
-rw-r--r--chrome_frame/urlmon_upload_data_stream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_upload_data_stream.cc b/chrome_frame/urlmon_upload_data_stream.cc
index 90dd458..2437554 100644
--- a/chrome_frame/urlmon_upload_data_stream.cc
+++ b/chrome_frame/urlmon_upload_data_stream.cc
@@ -96,6 +96,6 @@ STDMETHODIMP UrlmonUploadDataStream::Stat(STATSTG *stat_stg,
lstrcpy(stat_stg->pwcsName, kStreamBuffer);
}
stat_stg->type = STGTY_STREAM;
- stat_stg->cbSize.QuadPart = upload_data_->GetContentLengthSync();
+ stat_stg->cbSize.QuadPart = request_body_stream_->size();
return S_OK;
}