Index: net/socket/ssl_session_cache_openssl.h |
diff --git a/net/socket/ssl_session_cache_openssl.h b/net/socket/ssl_session_cache_openssl.h |
index 00f93e1949539a9540d444083673c5e6dd321303..ffc1e807bbe38385d75a573760b662103649cf1c 100644 |
--- a/net/socket/ssl_session_cache_openssl.h |
+++ b/net/socket/ssl_session_cache_openssl.h |
@@ -117,13 +117,6 @@ class NET_EXPORT SSLSessionCacheOpenSSL { |
// Return true iff a cached session was associated with the given |cache_key|. |
bool SSLSessionIsInCache(const std::string& cache_key) const; |
- // Informs the cache that it should run a callback when |ssl|'s session is |
- // added to the cache. |
- void SetSessionAddedCallback(SSL* ssl, const base::Closure& callback); |
- |
- // Removes the entry for |ssl| from cache's callback map. |
- void RemoveSessionAddedCallback(SSL* ssl); |
- |
// Indicates that the SSL session associated with |ssl| is "good" - that is, |
// that all associated cryptographic parameters that were negotiated, |
// including the peer's certificate, were successfully validated. Because |
@@ -132,6 +125,10 @@ class NET_EXPORT SSLSessionCacheOpenSSL { |
// only validated sessions are resumed. |
void MarkSSLSessionAsGood(SSL* ssl); |
+ // Returns true if the SSL session associated with |ssl| has been marked as |
+ // good. |
+ bool SessionIsGood(SSL* ssl); |
+ |
// Flush removes all entries from the cache. This is typically called when |
// the system's certificate store has changed. |
void Flush(); |