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

Unified Diff: net/socket/socket_test_util.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/socket/socket_test_util.cc
===================================================================
--- net/socket/socket_test_util.cc (revision 122403)
+++ net/socket/socket_test_util.cc (working copy)
@@ -237,7 +237,7 @@
}
SSLSocketDataProvider::SSLSocketDataProvider(bool async, int result)
- : connect(async, result),
+ : connect(async ? ASYNC : SYNCHRONOUS, result),
next_proto_status(SSLClientSocket::kNextProtoUnsupported),
was_npn_negotiated(false),
protocol_negotiated(SSLClientSocket::kProtoUnknown),

Powered by Google App Engine
This is Rietveld 408576698