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

Unified Diff: net/spdy/spdy_proxy_client_socket_unittest.cc

Issue 1357953002: Replace the existing SpdyHeaderBlock typedef with a class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add NET_EXPORT to fix compile error on win_chromium_compile_dbg_ng. Created 5 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/spdy/spdy_protocol.h ('k') | net/spdy/spdy_session.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_unittest.cc
diff --git a/net/spdy/spdy_proxy_client_socket_unittest.cc b/net/spdy/spdy_proxy_client_socket_unittest.cc
index 9d3e03e412745b94bf8e368aad87a0c8a20c76bc..b8f62cfb094e42b41776894db2a1a4c5a91a0d97 100644
--- a/net/spdy/spdy_proxy_client_socket_unittest.cc
+++ b/net/spdy/spdy_proxy_client_socket_unittest.cc
@@ -310,15 +310,15 @@ void SpdyProxyClientSocketTest::AssertAsyncWriteWithReadsSucceeds(
void SpdyProxyClientSocketTest::PopulateConnectRequestIR(
SpdyHeaderBlock* block) {
+ spdy_util_.MaybeAddVersionHeader(block);
(*block)[spdy_util_.GetMethodKey()] = "CONNECT";
if (spdy_util_.spdy_version() == HTTP2) {
(*block)[spdy_util_.GetHostKey()] = kOriginHostPort;
} else {
- (*block)[spdy_util_.GetPathKey()] = kOriginHostPort;
(*block)[spdy_util_.GetHostKey()] = kOriginHost;
+ (*block)[spdy_util_.GetPathKey()] = kOriginHostPort;
}
(*block)["user-agent"] = kUserAgent;
- spdy_util_.MaybeAddVersionHeader(block);
}
void SpdyProxyClientSocketTest::PopulateConnectReplyIR(SpdyHeaderBlock* block,
« no previous file with comments | « net/spdy/spdy_protocol.h ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698