summaryrefslogtreecommitdiffstats
path: root/net/curvecp/curvecp_client_socket.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-08 23:51:15 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-08 23:51:15 +0000
commit293f154b854a3507de8ed4116e8529f633060810 (patch)
tree63cc680a578707f0188e2615ebcd407906040166 /net/curvecp/curvecp_client_socket.cc
parent4c6df432834aa4541044a0890f774b25e15e7746 (diff)
downloadchromium_src-293f154b854a3507de8ed4116e8529f633060810.zip
chromium_src-293f154b854a3507de8ed4116e8529f633060810.tar.gz
chromium_src-293f154b854a3507de8ed4116e8529f633060810.tar.bz2
base::Bind: Convert Socket::Write.
BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8831001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/curvecp/curvecp_client_socket.cc')
-rw-r--r--net/curvecp/curvecp_client_socket.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/curvecp/curvecp_client_socket.cc b/net/curvecp/curvecp_client_socket.cc
index 6772e38..d6889cf 100644
--- a/net/curvecp/curvecp_client_socket.cc
+++ b/net/curvecp/curvecp_client_socket.cc
@@ -116,6 +116,11 @@ int CurveCPClientSocket::Write(IOBuffer* buf,
OldCompletionCallback* callback) {
return messenger_.Write(buf, buf_len, callback);
}
+int CurveCPClientSocket::Write(IOBuffer* buf,
+ int buf_len,
+ const CompletionCallback& callback) {
+ return messenger_.Write(buf, buf_len, callback);
+}
bool CurveCPClientSocket::SetReceiveBufferSize(int32 size) {
return true;