diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-07 02:03:33 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-07 02:03:33 +0000 |
commit | 3f55aa10587b3eaa629d7e95de87998b399fe3e2 (patch) | |
tree | 0f407a7e7fc837bed337a9a5af787edbd9473ef6 /net/udp/udp_client_socket.cc | |
parent | b456003a580041d83e7f5a998c15f62ce380560f (diff) | |
download | chromium_src-3f55aa10587b3eaa629d7e95de87998b399fe3e2.zip chromium_src-3f55aa10587b3eaa629d7e95de87998b399fe3e2.tar.gz chromium_src-3f55aa10587b3eaa629d7e95de87998b399fe3e2.tar.bz2 |
base::Bind: Convert Socket::Read.
BUG=none
TEST=none
R=csilv
Review URL: http://codereview.chromium.org/8801005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/udp/udp_client_socket.cc')
-rw-r--r-- | net/udp/udp_client_socket.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/udp/udp_client_socket.cc b/net/udp/udp_client_socket.cc index e5cef3e..4bb3885 100644 --- a/net/udp/udp_client_socket.cc +++ b/net/udp/udp_client_socket.cc @@ -27,6 +27,11 @@ int UDPClientSocket::Read(IOBuffer* buf, OldCompletionCallback* callback) { return socket_.Read(buf, buf_len, callback); } +int UDPClientSocket::Read(IOBuffer* buf, + int buf_len, + const CompletionCallback& callback) { + return socket_.Read(buf, buf_len, callback); +} int UDPClientSocket::Write(IOBuffer* buf, int buf_len, |