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

Unified Diff: net/http/http_proxy_client_socket_pool_spdy3_unittest.cc

Issue 15784005: Merge ConstructSpdyConnect (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 7 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/http/http_proxy_client_socket_pool_spdy2_unittest.cc ('k') | net/spdy/spdy_test_util_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_proxy_client_socket_pool_spdy3_unittest.cc
diff --git a/net/http/http_proxy_client_socket_pool_spdy3_unittest.cc b/net/http/http_proxy_client_socket_pool_spdy3_unittest.cc
index e90dbb9e6ddd3dd434e3797db865255770146702..a0edc674b9e844dcebeb2ea2a03218f1aa069795 100644
--- a/net/http/http_proxy_client_socket_pool_spdy3_unittest.cc
+++ b/net/http/http_proxy_client_socket_pool_spdy3_unittest.cc
@@ -247,7 +247,8 @@ TEST_P(HttpProxyClientSocketPoolSpdy3Test, NeedAuth) {
MockRead(ASYNC, 3, "Content-Length: 10\r\n\r\n"),
MockRead(ASYNC, 4, "0123456789"),
};
- scoped_ptr<SpdyFrame> req(ConstructSpdyConnect(NULL, 0, 1));
+ scoped_ptr<SpdyFrame> req(
+ spdy_util_.ConstructSpdyConnect(NULL, 0, 1));
scoped_ptr<SpdyFrame> rst(
spdy_util_.ConstructSpdyRstStream(1, RST_STREAM_CANCEL));
MockWrite spdy_writes[] = {
@@ -345,8 +346,8 @@ TEST_P(HttpProxyClientSocketPoolSpdy3Test, AsyncHaveAuth) {
MockRead(ASYNC, 1, "HTTP/1.1 200 Connection Established\r\n\r\n"),
};
- scoped_ptr<SpdyFrame> req(ConstructSpdyConnect(kAuthHeaders,
- kAuthHeadersSize, 1));
+ scoped_ptr<SpdyFrame> req(
+ spdy_util_.ConstructSpdyConnect(kAuthHeaders, kAuthHeadersSize, 1));
MockWrite spdy_writes[] = {
CreateMockWrite(*req, 0, ASYNC)
};
@@ -457,8 +458,8 @@ TEST_P(HttpProxyClientSocketPoolSpdy3Test, TunnelUnexpectedClose) {
MockRead(ASYNC, 1, "HTTP/1.1 200 Conn"),
MockRead(ASYNC, ERR_CONNECTION_CLOSED, 2),
};
- scoped_ptr<SpdyFrame> req(ConstructSpdyConnect(kAuthHeaders,
- kAuthHeadersSize, 1));
+ scoped_ptr<SpdyFrame> req(
+ spdy_util_.ConstructSpdyConnect(kAuthHeaders, kAuthHeadersSize, 1));
MockWrite spdy_writes[] = {
CreateMockWrite(*req, 0, ASYNC)
};
@@ -494,8 +495,8 @@ TEST_P(HttpProxyClientSocketPoolSpdy3Test, TunnelSetupError) {
MockRead reads[] = {
MockRead(ASYNC, 1, "HTTP/1.1 304 Not Modified\r\n\r\n"),
};
- scoped_ptr<SpdyFrame> req(ConstructSpdyConnect(kAuthHeaders,
- kAuthHeadersSize, 1));
+ scoped_ptr<SpdyFrame> req(
+ spdy_util_.ConstructSpdyConnect(kAuthHeaders, kAuthHeadersSize, 1));
scoped_ptr<SpdyFrame> rst(
spdy_util_.ConstructSpdyRstStream(1, RST_STREAM_CANCEL));
MockWrite spdy_writes[] = {
@@ -546,7 +547,7 @@ TEST_P(HttpProxyClientSocketPoolSpdy3Test, TunnelSetupRedirect) {
MockRead(ASYNC, 1, responseText.c_str()),
};
scoped_ptr<SpdyFrame> req(
- ConstructSpdyConnect(kAuthHeaders, kAuthHeadersSize, 1));
+ spdy_util_.ConstructSpdyConnect(kAuthHeaders, kAuthHeadersSize, 1));
scoped_ptr<SpdyFrame> rst(
spdy_util_.ConstructSpdyRstStream(1, RST_STREAM_CANCEL));
« no previous file with comments | « net/http/http_proxy_client_socket_pool_spdy2_unittest.cc ('k') | net/spdy/spdy_test_util_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698