Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2563)

Unified Diff: net/http/http_network_transaction.cc

Issue 10913179: net: Make UploadDataStream::Init() asynchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changed argument order Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/upload_file_element_reader.cc ('k') | net/http/http_stream_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.cc
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index 844fc34bb5f5051f0033b3c0ffce5b51344715d6..f9878067420c5c570c6326ebdd46bbe1589994f3 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -747,7 +747,7 @@ int HttpNetworkTransaction::DoBuildRequest() {
request_body_.reset(NULL);
if (request_->upload_data) {
request_body_.reset(new UploadDataStream(request_->upload_data));
- const int error_code = request_body_->Init();
+ const int error_code = request_body_->InitSync();
if (error_code != OK) {
request_body_.reset(NULL);
return error_code;
« no previous file with comments | « net/base/upload_file_element_reader.cc ('k') | net/http/http_stream_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698