diff options
Diffstat (limited to 'net/base/ssl_client_auth_cache.h')
-rw-r--r-- | net/base/ssl_client_auth_cache.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/base/ssl_client_auth_cache.h b/net/base/ssl_client_auth_cache.h index b37164a..6cc1d12 100644 --- a/net/base/ssl_client_auth_cache.h +++ b/net/base/ssl_client_auth_cache.h @@ -10,6 +10,7 @@ #include <map> #include "base/ref_counted.h" +#include "net/base/cert_database.h" namespace net { @@ -22,7 +23,7 @@ class X509Certificate; // // TODO(wtc): This class is based on FtpAuthCache. We can extract the common // code to a template class. -class SSLClientAuthCache { +class SSLClientAuthCache : public CertDatabase::Observer { public: SSLClientAuthCache(); ~SSLClientAuthCache(); @@ -44,8 +45,8 @@ class SSLClientAuthCache { // Remove the client certificate for |server| from the cache, if one exists. void Remove(const std::string& server); - // Removes all cache entries. - void Clear(); + // CertDatabase::Observer methods: + virtual void OnUserCertAdded(X509Certificate* cert); private: typedef std::string AuthCacheKey; |