diff options
author | yutak@chromium.org <yutak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-01 06:47:32 +0000 |
---|---|---|
committer | yutak@chromium.org <yutak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-01 06:47:32 +0000 |
commit | 056df82a008ff3120c4fda5d84b0fbc645fd73e0 (patch) | |
tree | f808bd7db875ea06fd067d28b4244e954f2fb1e1 /net/websockets/websocket_job.h | |
parent | 41517b9911563e2a62647aba006118a2b9757718 (diff) | |
download | chromium_src-056df82a008ff3120c4fda5d84b0fbc645fd73e0.zip chromium_src-056df82a008ff3120c4fda5d84b0fbc645fd73e0.tar.gz chromium_src-056df82a008ff3120c4fda5d84b0fbc645fd73e0.tar.bz2 |
Replace OldCompletionCallback in SocketStream::Delegate.
BUG=105683
TEST=none
Review URL: http://codereview.chromium.org/8747013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/websockets/websocket_job.h')
-rw-r--r-- | net/websockets/websocket_job.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/websockets/websocket_job.h b/net/websockets/websocket_job.h index 1fcf256..61b1d8d 100644 --- a/net/websockets/websocket_job.h +++ b/net/websockets/websocket_job.h @@ -61,7 +61,7 @@ class NET_EXPORT WebSocketJob // SocketStream::Delegate methods. virtual int OnStartOpenConnection( - SocketStream* socket, OldCompletionCallback* callback) OVERRIDE; + SocketStream* socket, const CompletionCallback& callback) OVERRIDE; virtual void OnConnected(SocketStream* socket, int max_pending_send_allowed) OVERRIDE; virtual void OnSentData(SocketStream* socket, int amount_sent) OVERRIDE; @@ -119,7 +119,7 @@ class NET_EXPORT WebSocketJob State state_; bool waiting_; AddressList addresses_; - OldCompletionCallback* callback_; // for throttling. + CompletionCallback callback_; // for throttling. scoped_ptr<WebSocketHandshakeRequestHandler> handshake_request_; scoped_ptr<WebSocketHandshakeResponseHandler> handshake_response_; |