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

Unified Diff: net/flip/flip_network_transaction_unittest.cc

Issue 384024: There was confusion in the mock socket classes due to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « no previous file | net/ftp/ftp_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/flip/flip_network_transaction_unittest.cc
===================================================================
--- net/flip/flip_network_transaction_unittest.cc (revision 31569)
+++ net/flip/flip_network_transaction_unittest.cc (working copy)
@@ -156,8 +156,8 @@
scoped_ptr<FlipNetworkTransaction> trans(
new FlipNetworkTransaction(CreateSession(&session_deps)));
- StaticMockSocket data(reads, writes);
- session_deps.socket_factory.AddMockSocket(&data);
+ StaticSocketDataProvider data(reads, writes);
+ session_deps.socket_factory.AddSocketDataProvider(&data);
TestCompletionCallback callback;
@@ -428,8 +428,8 @@
scoped_ptr<FlipNetworkTransaction> trans(
new FlipNetworkTransaction(CreateSession(&session_deps)));
- StaticMockSocket data(reads, writes);
- session_deps.socket_factory.AddMockSocket(&data);
+ StaticSocketDataProvider data(reads, writes);
+ session_deps.socket_factory.AddSocketDataProvider(&data);
TestCompletionCallback callback;
« no previous file with comments | « no previous file | net/ftp/ftp_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698