summaryrefslogtreecommitdiffstats
path: root/net/http/http_basic_stream.cc
diff options
context:
space:
mode:
authorhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 05:50:11 +0000
committerhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 05:50:11 +0000
commitbf3eb00891aaa033bdaee57797e665eb71f28817 (patch)
tree72bda1e59fa1f379d578298272eb2e3729174c05 /net/http/http_basic_stream.cc
parent67d13d556a713a64e41c2ff76f58f4839296f37e (diff)
downloadchromium_src-bf3eb00891aaa033bdaee57797e665eb71f28817.zip
chromium_src-bf3eb00891aaa033bdaee57797e665eb71f28817.tar.gz
chromium_src-bf3eb00891aaa033bdaee57797e665eb71f28817.tar.bz2
net: Remove UploadDataStream* argument from HttpStream::SendRequest
HttpInfo::upload_data is used instead. BUG=156574 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/11361116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_basic_stream.cc')
-rw-r--r--net/http/http_basic_stream.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/http/http_basic_stream.cc b/net/http/http_basic_stream.cc
index 7077ee2..b39a4cd 100644
--- a/net/http/http_basic_stream.cc
+++ b/net/http/http_basic_stream.cc
@@ -46,7 +46,6 @@ int HttpBasicStream::InitializeStream(
int HttpBasicStream::SendRequest(const HttpRequestHeaders& headers,
- UploadDataStream* request_body,
HttpResponseInfo* response,
const CompletionCallback& callback) {
DCHECK(parser_.get());
@@ -58,8 +57,7 @@ int HttpBasicStream::SendRequest(const HttpRequestHeaders& headers,
request_info_->method.c_str(),
path.c_str());
response_ = response;
- return parser_->SendRequest(request_line_, headers, request_body,
- response, callback);
+ return parser_->SendRequest(request_line_, headers, response, callback);
}
UploadProgress HttpBasicStream::GetUploadProgress() const {