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

Unified Diff: net/curvecp/curvecp_server_socket.cc

Issue 8831001: base::Bind: Convert Socket::Write. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix alignment. 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.h ('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_server_socket.cc
diff --git a/net/curvecp/curvecp_server_socket.cc b/net/curvecp/curvecp_server_socket.cc
index 6e7934c13cae39c287d45c72cda2ab80a290944b..b48f82f9a950584f84ad49e252eba6e6cd4506be 100644
--- a/net/curvecp/curvecp_server_socket.cc
+++ b/net/curvecp/curvecp_server_socket.cc
@@ -63,6 +63,11 @@ int CurveCPServerSocket::Write(IOBuffer* buf,
OldCompletionCallback* callback) {
return messenger_.Write(buf, buf_len, callback);
}
+int CurveCPServerSocket::Write(IOBuffer* buf,
+ int buf_len,
+ const CompletionCallback& callback) {
+ return messenger_.Write(buf, buf_len, callback);
+}
bool CurveCPServerSocket::SetReceiveBufferSize(int32 size) {
return true;
« no previous file with comments | « net/curvecp/curvecp_server_socket.h ('k') | net/curvecp/messenger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698