summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ssl
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-09 01:01:51 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-09 01:01:51 +0000
commitfd300b841831ef505e4996fa02d9b54ae62a2c67 (patch)
tree835c90e18a4d6cadf420d5cc5d513fdf722956d8 /chrome/browser/ssl
parent4220edc570b77621d9832e86d6eb822a6fa14523 (diff)
downloadchromium_src-fd300b841831ef505e4996fa02d9b54ae62a2c67.zip
chromium_src-fd300b841831ef505e4996fa02d9b54ae62a2c67.tar.gz
chromium_src-fd300b841831ef505e4996fa02d9b54ae62a2c67.tar.bz2
Update the SSLClientAuthHandler to use the thread safe reference counter.
It does get invoked both on the ui and io threads. BUG=none TEST=none Review URL: http://codereview.chromium.org/267028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ssl')
-rw-r--r--chrome/browser/ssl/ssl_client_auth_handler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ssl/ssl_client_auth_handler.h b/chrome/browser/ssl/ssl_client_auth_handler.h
index 77b8aed..9c3b6db 100644
--- a/chrome/browser/ssl/ssl_client_auth_handler.h
+++ b/chrome/browser/ssl/ssl_client_auth_handler.h
@@ -19,7 +19,8 @@ class URLRequest;
// authentication by the user.
// It is self-owned and deletes itself when the UI reports the user selection or
// when the URLRequest is cancelled.
-class SSLClientAuthHandler : public base::RefCounted<SSLClientAuthHandler> {
+class SSLClientAuthHandler :
+ public base::RefCountedThreadSafe<SSLClientAuthHandler> {
public:
SSLClientAuthHandler(URLRequest* request,
net::SSLCertRequestInfo* cert_request_info,