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

Unified Diff: net/socket/ssl_client_socket_unittest.cc

Issue 9425016: Change MockRead and MockWrite (et. al.) to take an IoMode enum, instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync 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
« no previous file with comments | « net/socket/ssl_client_socket_pool_unittest.cc ('k') | net/socket_stream/socket_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_unittest.cc
===================================================================
--- net/socket/ssl_client_socket_unittest.cc (revision 123143)
+++ net/socket/ssl_client_socket_unittest.cc (working copy)
@@ -616,9 +616,10 @@
// All reads and writes complete synchronously (async=false).
net::MockRead data_reads[] = {
- net::MockRead(false, reinterpret_cast<const char*>(application_data),
+ net::MockRead(net::SYNCHRONOUS,
+ reinterpret_cast<const char*>(application_data),
arraysize(application_data)),
- net::MockRead(false, net::OK),
+ net::MockRead(net::SYNCHRONOUS, net::OK),
};
net::StaticSocketDataProvider data(data_reads, arraysize(data_reads),
« no previous file with comments | « net/socket/ssl_client_socket_pool_unittest.cc ('k') | net/socket_stream/socket_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698