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

Unified Diff: net/websockets/websocket_basic_stream_test.cc

Issue 1580903002: Convert ignore_limits from a SocketParam to a socket request argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: RespectLimits Created 4 years, 11 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_test_util_common.cc ('k') | net/websockets/websocket_handshake_stream_create_helper_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_basic_stream_test.cc
diff --git a/net/websockets/websocket_basic_stream_test.cc b/net/websockets/websocket_basic_stream_test.cc
index d7796d3886cf67734a26e1190afad2c2bf3946a7..f60a1057ed85a23a1a918e79c21a3cf4fafb3f70 100644
--- a/net/websockets/websocket_basic_stream_test.cc
+++ b/net/websockets/websocket_basic_stream_test.cc
@@ -128,12 +128,9 @@ class WebSocketBasicStreamSocketTest : public WebSocketBasicStreamTest {
scoped_ptr<ClientSocketHandle> transport_socket(new ClientSocketHandle);
scoped_refptr<MockTransportSocketParams> params;
- transport_socket->Init("a",
- params,
- MEDIUM,
- CompletionCallback(),
- &pool_,
- bound_net_log_.bound());
+ transport_socket->Init(
+ "a", params, MEDIUM, ClientSocketPool::RespectLimits::ENABLED,
+ CompletionCallback(), &pool_, bound_net_log_.bound());
return transport_socket;
}
« no previous file with comments | « net/spdy/spdy_test_util_common.cc ('k') | net/websockets/websocket_handshake_stream_create_helper_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698