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

Unified Diff: net/websockets/websocket_job_unittest.cc

Issue 9419032: Modify the MockConnect constructor to take an enum of ASYNC or SYNC, instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix Test Break Created 8 years, 10 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_job_unittest.cc
===================================================================
--- net/websockets/websocket_job_unittest.cc (revision 122403)
+++ net/websockets/websocket_job_unittest.cc (working copy)
@@ -258,7 +258,7 @@
public:
MockHttpTransactionFactory(net::OrderedSocketData* data) {
data_ = data;
- net::MockConnect connect_data(false, net::OK);
+ net::MockConnect connect_data(net::SYNCHRONOUS, net::OK);
data_->set_connect_data(connect_data);
session_deps_.reset(new net::SpdySessionDependencies);
session_deps_->socket_factory->AddSocketDataProvider(data_);
« net/http/http_proxy_client_socket_pool_unittest.cc ('K') | « net/spdy/spdy_stream_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698