summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_client_socket_pool.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 19:08:21 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 19:08:21 +0000
commit05ea9ff3cfb2b479b8897b512a71dea2ee86480d (patch)
tree1468ccd18b716c7f86d53f430556bc1755cf6138 /net/socket/tcp_client_socket_pool.h
parentc5aa5321a9bbc18daef554c8fe60030d193d1360 (diff)
downloadchromium_src-05ea9ff3cfb2b479b8897b512a71dea2ee86480d.zip
chromium_src-05ea9ff3cfb2b479b8897b512a71dea2ee86480d.tar.gz
chromium_src-05ea9ff3cfb2b479b8897b512a71dea2ee86480d.tar.bz2
Refactor how ClientSocketPoolBaseHelper avoids re-entrancy.
Specifically, we defer asynchronous user callbacks to tasks. BUG=48861 Review URL: http://codereview.chromium.org/2994003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/tcp_client_socket_pool.h')
-rw-r--r--net/socket/tcp_client_socket_pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/tcp_client_socket_pool.h b/net/socket/tcp_client_socket_pool.h
index 99513fd..1ee50d2 100644
--- a/net/socket/tcp_client_socket_pool.h
+++ b/net/socket/tcp_client_socket_pool.h
@@ -129,7 +129,7 @@ class TCPClientSocketPool : public ClientSocketPool {
const BoundNetLog& net_log);
virtual void CancelRequest(const std::string& group_name,
- const ClientSocketHandle* handle);
+ ClientSocketHandle* handle);
virtual void ReleaseSocket(const std::string& group_name,
ClientSocket* socket,