summaryrefslogtreecommitdiffstats
path: root/net/socket/socks_client_socket_pool.cc
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/socks_client_socket_pool.cc
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/socks_client_socket_pool.cc')
-rw-r--r--net/socket/socks_client_socket_pool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/socks_client_socket_pool.cc b/net/socket/socks_client_socket_pool.cc
index f04af19..d1c75b6 100644
--- a/net/socket/socks_client_socket_pool.cc
+++ b/net/socket/socks_client_socket_pool.cc
@@ -205,7 +205,7 @@ int SOCKSClientSocketPool::RequestSocket(const std::string& group_name,
}
void SOCKSClientSocketPool::CancelRequest(const std::string& group_name,
- const ClientSocketHandle* handle) {
+ ClientSocketHandle* handle) {
base_.CancelRequest(group_name, handle);
}