diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-25 16:31:59 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-25 16:31:59 +0000 |
commit | 25f47353818b7360eadae5867a6de8a550ecf628 (patch) | |
tree | c89364e01ee37a1a89f51299eb6af2b54aa3aaaf /jingle/notifier | |
parent | 9d1ae7314aa40c8cfbf426d0388045f1da5c85da (diff) | |
download | chromium_src-25f47353818b7360eadae5867a6de8a550ecf628.zip chromium_src-25f47353818b7360eadae5867a6de8a550ecf628.tar.gz chromium_src-25f47353818b7360eadae5867a6de8a550ecf628.tar.bz2 |
Add a new method of ClientSocketFactory for clearing the cache used for SSL session resumption.
Review URL: http://codereview.chromium.org/6580006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle/notifier')
-rw-r--r-- | jingle/notifier/base/xmpp_client_socket_factory.cc | 4 | ||||
-rw-r--r-- | jingle/notifier/base/xmpp_client_socket_factory.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/jingle/notifier/base/xmpp_client_socket_factory.cc b/jingle/notifier/base/xmpp_client_socket_factory.cc index 5b390c2f..8515f80 100644 --- a/jingle/notifier/base/xmpp_client_socket_factory.cc +++ b/jingle/notifier/base/xmpp_client_socket_factory.cc @@ -42,4 +42,8 @@ net::SSLClientSocket* XmppClientSocketFactory::CreateSSLClientSocket( cert_verifier, dns_cert_checker); } +void XmppClientSocketFactory::ClearSSLSessionCache() { + client_socket_factory_->ClearSSLSessionCache(); +} + } // namespace diff --git a/jingle/notifier/base/xmpp_client_socket_factory.h b/jingle/notifier/base/xmpp_client_socket_factory.h index db11b90..48c683d 100644 --- a/jingle/notifier/base/xmpp_client_socket_factory.h +++ b/jingle/notifier/base/xmpp_client_socket_factory.h @@ -35,6 +35,7 @@ class XmppClientSocketFactory : public net::ClientSocketFactory { const net::HostPortPair& host_and_port, const net::SSLConfig& ssl_config, net::SSLHostInfo* ssl_host_info, net::CertVerifier* cert_verifier, net::DnsCertProvenanceChecker* dns_cert_checker); + virtual void ClearSSLSessionCache(); private: net::ClientSocketFactory* const client_socket_factory_; |