Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Unified Diff: net/socket/ssl_session_cache_openssl.h

Issue 416683002: This CL corrects a bug in which the OnHandshakeComplete callback for an ssl session was never called (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@r2
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..9a78f7297063acde4b18150a02910baad6e54da3 100644
--- a/net/socket/ssl_session_cache_openssl.h
+++ b/net/socket/ssl_session_cache_openssl.h
@@ -121,6 +121,10 @@ class NET_EXPORT SSLSessionCacheOpenSSL {
// added to the cache.
void SetSessionAddedCallback(SSL* ssl, const base::Closure& callback);
+ // Determines if the session for |ssl| is in the cache, and calls the
+ // appropriate callback if that is the case.
+ void CheckIfSessionFinished(const SSL* ssl);
+
// Removes the entry for |ssl| from cache's callback map.
void RemoveSessionAddedCallback(SSL* ssl);

Powered by Google App Engine
This is Rietveld 408576698