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

Unified Diff: net/http/http_pipelined_connection_impl_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_connection_impl_unittest.cc
===================================================================
--- net/http/http_pipelined_connection_impl_unittest.cc (revision 122403)
+++ net/http/http_pipelined_connection_impl_unittest.cc (working copy)
@@ -81,7 +81,7 @@
MockWrite* writes, size_t writes_count) {
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