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

Unified Diff: net/socket/ssl_client_socket.cc

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: Fixed nits Created 6 years, 4 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.cc
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
index 044368b011fb37c2aa32a48188476ea22ccebb46..4cce254f9ac4121aec71402614d4748afdd98e9c 100644
--- a/net/socket/ssl_client_socket.cc
+++ b/net/socket/ssl_client_socket.cc
@@ -89,16 +89,6 @@ NextProto SSLClientSocket::GetNegotiatedProtocol() const {
return protocol_negotiated_;
}
-// static
-std::string SSLClientSocket::CreateSessionCacheKey(
- const HostPortPair& host_and_port,
- const std::string& ssl_session_cache_shard) {
- std::string result = host_and_port.ToString();
- result.append("/");
- result.append(ssl_session_cache_shard);
- return result;
-}
-
bool SSLClientSocket::IgnoreCertError(int error, int load_flags) {
if (error == OK || load_flags & LOAD_IGNORE_ALL_CERT_ERRORS)
return true;

Powered by Google App Engine
This is Rietveld 408576698