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

Unified Diff: net/websockets/websocket_handshake_stream_create_helper_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: Missed one 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
Index: net/websockets/websocket_handshake_stream_create_helper_test.cc
diff --git a/net/websockets/websocket_handshake_stream_create_helper_test.cc b/net/websockets/websocket_handshake_stream_create_helper_test.cc
index ffdbfe2ebfabb476ce775b84daa658d076c6eb27..4c8da62b34957bfcc1f2cfa6eeb867d6a370cc8c 100644
--- a/net/websockets/websocket_handshake_stream_create_helper_test.cc
+++ b/net/websockets/websocket_handshake_stream_create_helper_test.cc
@@ -41,13 +41,9 @@ class MockClientSocketHandleFactory {
const std::string& return_to_read) {
socket_factory_maker_.SetExpectations(expect_written, return_to_read);
scoped_ptr<ClientSocketHandle> socket_handle(new ClientSocketHandle);
- socket_handle->Init(
- "a",
- scoped_refptr<MockTransportSocketParams>(),
- MEDIUM,
- CompletionCallback(),
- &pool_,
- BoundNetLog());
+ socket_handle->Init("a", scoped_refptr<MockTransportSocketParams>(), MEDIUM,
+ ClientSocketPool::IgnoreLimits::DISABLED,
+ CompletionCallback(), &pool_, BoundNetLog());
return socket_handle;
}

Powered by Google App Engine
This is Rietveld 408576698