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

Unified Diff: net/http/http_proxy_client_socket.cc

Issue 3079002: Refactor SpdyHttpStream to implement HttpStream. Required adding a new... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 5 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
Index: net/http/http_proxy_client_socket.cc
===================================================================
--- net/http/http_proxy_client_socket.cc (revision 53864)
+++ net/http/http_proxy_client_socket.cc (working copy)
@@ -319,9 +319,9 @@
request_headers_ = request_line + request_headers.ToString();
}
- http_stream_.reset(new HttpBasicStream(transport_.get(), net_log_));
-
- return http_stream_->SendRequest(&request_, request_headers_, NULL,
+ http_stream_.reset(new HttpBasicStream(transport_.get()));
+ http_stream_->InitializeStream(&request_, net_log_, NULL);
+ return http_stream_->SendRequest(request_headers_, NULL,
&response_, &io_callback_);
}

Powered by Google App Engine
This is Rietveld 408576698