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

Unified Diff: net/http/http_pipelined_network_transaction_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/http/http_pipelined_network_transaction_unittest.cc
===================================================================
--- net/http/http_pipelined_network_transaction_unittest.cc (revision 122403)
+++ net/http/http_pipelined_network_transaction_unittest.cc (working copy)
@@ -70,7 +70,7 @@
MockWrite* writes, size_t writes_count) {
DeterministicSocketData* data = new DeterministicSocketData(
reads, reads_count, writes, writes_count);
- data->set_connect_data(MockConnect(false, 0));
+ data->set_connect_data(MockConnect(SYNCHRONOUS, OK));
if (reads_count || writes_count) {
data->StopAfter(reads_count + writes_count);
}

Powered by Google App Engine
This is Rietveld 408576698