summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket_win.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-07 02:03:33 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-07 02:03:33 +0000
commit3f55aa10587b3eaa629d7e95de87998b399fe3e2 (patch)
tree0f407a7e7fc837bed337a9a5af787edbd9473ef6 /net/socket/ssl_client_socket_win.h
parentb456003a580041d83e7f5a998c15f62ce380560f (diff)
downloadchromium_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/socket/ssl_client_socket_win.h')
-rw-r--r--net/socket/ssl_client_socket_win.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/socket/ssl_client_socket_win.h b/net/socket/ssl_client_socket_win.h
index 01a5509b..27ce300 100644
--- a/net/socket/ssl_client_socket_win.h
+++ b/net/socket/ssl_client_socket_win.h
@@ -73,6 +73,8 @@ class SSLClientSocketWin : public SSLClientSocket {
// Socket implementation.
virtual int Read(IOBuffer* buf, int buf_len, OldCompletionCallback* callback);
+ virtual int Read(IOBuffer* buf, int buf_len,
+ const CompletionCallback& callback);
virtual int Write(IOBuffer* buf, int buf_len, OldCompletionCallback* callback);
virtual bool SetReceiveBufferSize(int32 size);
@@ -126,7 +128,8 @@ class SSLClientSocketWin : public SSLClientSocket {
CompletionCallback user_connect_callback_;
// User function to callback when a Read() completes.
- OldCompletionCallback* user_read_callback_;
+ OldCompletionCallback* old_user_read_callback_;
+ CompletionCallback user_read_callback_;
scoped_refptr<IOBuffer> user_read_buf_;
int user_read_buf_len_;