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

Unified Diff: net/spdy/spdy_proxy_client_socket.cc

Issue 2141993002: Remove many-many SpdyMajorVersion and NextProto arguments and members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove OnSynStream() and OnSynReply(). Created 4 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
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | net/spdy/spdy_proxy_client_socket_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_proxy_client_socket.cc
diff --git a/net/spdy/spdy_proxy_client_socket.cc b/net/spdy/spdy_proxy_client_socket.cc
index 36bdf392a1d9a94d6d574d38e7b50141c2b9cd7b..5ede10472ff7612d6ffee874cb3a3c1e70331333 100644
--- a/net/spdy/spdy_proxy_client_socket.cc
+++ b/net/spdy/spdy_proxy_client_socket.cc
@@ -365,8 +365,7 @@ int SpdyProxyClientSocket::DoSendRequest() {
base::Unretained(&request_.extra_headers), &request_line));
std::unique_ptr<SpdyHeaderBlock> headers(new SpdyHeaderBlock());
- CreateSpdyHeadersFromHttpRequest(request_, request_.extra_headers,
- spdy_stream_->GetProtocolVersion(), true,
+ CreateSpdyHeadersFromHttpRequest(request_, request_.extra_headers, true,
headers.get());
return spdy_stream_->SendRequestHeaders(std::move(headers),
@@ -451,8 +450,7 @@ SpdyResponseHeadersStatus SpdyProxyClientSocket::OnResponseHeadersUpdated(
return RESPONSE_HEADERS_ARE_COMPLETE;
// Save the response
- if (!SpdyHeadersToHttpResponse(
- response_headers, spdy_stream_->GetProtocolVersion(), &response_))
+ if (!SpdyHeadersToHttpResponse(response_headers, &response_))
return RESPONSE_HEADERS_ARE_INCOMPLETE;
OnIOComplete(OK);
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | net/spdy/spdy_proxy_client_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698