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

Unified Diff: net/spdy/spdy_stream_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/spdy/spdy_stream_unittest.cc
===================================================================
--- net/spdy/spdy_stream_unittest.cc (revision 122403)
+++ net/spdy/spdy_stream_unittest.cc (working copy)
@@ -173,7 +173,7 @@
scoped_ptr<OrderedSocketData> data(
new OrderedSocketData(reads, arraysize(reads),
writes, arraysize(writes)));
- MockConnect connect_data(false, OK);
+ MockConnect connect_data(SYNCHRONOUS, OK);
data->set_connect_data(connect_data);
session_deps.socket_factory->AddSocketDataProvider(data.get());

Powered by Google App Engine
This is Rietveld 408576698