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

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: 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/websockets/websocket_basic_stream_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6a8499cfb923b3179583d0d8ced3abf5778b876e 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::RespectLimits::ENABLED,
+ CompletionCallback(), &pool_, BoundNetLog());
return socket_handle;
}
« no previous file with comments | « net/websockets/websocket_basic_stream_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698