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

Unified Diff: net/curvecp/curvecp_transfer_unittest.cc

Issue 8824006: Migrate net/socket/socket.h, net/socket/stream_socket.h to base::Bind(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years 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/curvecp/curvecp_server_socket.cc ('k') | net/curvecp/messenger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/curvecp/curvecp_transfer_unittest.cc
diff --git a/net/curvecp/curvecp_transfer_unittest.cc b/net/curvecp/curvecp_transfer_unittest.cc
index 1c092f3c28bfa7c288a19b99800da1d0b40d3d7c..11c5d3f55d3527abe56e3027af94b72561053b08 100644
--- a/net/curvecp/curvecp_transfer_unittest.cc
+++ b/net/curvecp/curvecp_transfer_unittest.cc
@@ -30,8 +30,8 @@ void RunEchoTest(int bytes) {
EXPECT_TRUE(server.Start(1234));
HostPortPair server_address("localhost", 1234);
- TestOldCompletionCallback cb;
- EXPECT_TRUE(client.Start(server_address, bytes, &cb));
+ TestCompletionCallback cb;
+ EXPECT_TRUE(client.Start(server_address, bytes, cb.callback()));
int rv = cb.WaitForResult();
EXPECT_EQ(0, rv);
« no previous file with comments | « net/curvecp/curvecp_server_socket.cc ('k') | net/curvecp/messenger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698