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

Unified Diff: jingle/notifier/base/proxy_resolving_client_socket_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: jingle/notifier/base/proxy_resolving_client_socket_unittest.cc
===================================================================
--- jingle/notifier/base/proxy_resolving_client_socket_unittest.cc (revision 122403)
+++ jingle/notifier/base/proxy_resolving_client_socket_unittest.cc (working copy)
@@ -90,7 +90,7 @@
net::StaticSocketDataProvider socket_data1;
socket_data1.set_connect_data(
- net::MockConnect(true, net::ERR_ADDRESS_UNREACHABLE));
+ net::MockConnect(net::ASYNC, net::ERR_ADDRESS_UNREACHABLE));
socket_factory.AddSocketDataProvider(&socket_data1);
net::MockRead reads[] = {
@@ -103,7 +103,7 @@
};
net::StaticSocketDataProvider socket_data2(reads, arraysize(reads),
writes, arraysize(writes));
- socket_data2.set_connect_data(net::MockConnect(true, net::OK));
+ socket_data2.set_connect_data(net::MockConnect(net::ASYNC, net::OK));
socket_factory.AddSocketDataProvider(&socket_data2);
ProxyResolvingClientSocket proxy_resolving_socket(

Powered by Google App Engine
This is Rietveld 408576698