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

Unified Diff: net/socket/ssl_client_socket.h

Issue 384873002: This CL changes the lifespan of SSLConnectJobMessengers so that they are created only when needed, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@useloop
Patch Set: Removed FormatSessionCacheKey function. 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_client_socket.h
diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h
index e8e35385c8a552faf848dc9282259a9fd217aa10..97848a5246a568d6c56d9ef2ad6bdd251227e514 100644
--- a/net/socket/ssl_client_socket.h
+++ b/net/socket/ssl_client_socket.h
@@ -81,11 +81,7 @@ class NET_EXPORT SSLClientSocket : public SSLSocket {
virtual bool WasNpnNegotiated() const OVERRIDE;
virtual NextProto GetNegotiatedProtocol() const OVERRIDE;
- // Format a unique key for the SSL session cache. This method
- // is necessary so that all classes create cache keys in a consistent
- // manner.
- static std::string FormatSessionCacheKey(std::string host_and_port,
- std::string ssl_session_cache_shard);
+ virtual std::string GetSessionCacheKey() const = 0;
// Returns true if there is a cache entry in the ssl session cache
// for the given cache key.

Powered by Google App Engine
This is Rietveld 408576698