| Index: net/socket/ssl_client_socket.cc
|
| diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
|
| index 1b2fe144304955bd0c423aca96d90226c45d7f4a..f9e6b7bc27946fb2fe22d243bc363a68b812e1bc 100644
|
| --- a/net/socket/ssl_client_socket.cc
|
| +++ b/net/socket/ssl_client_socket.cc
|
| @@ -103,6 +103,16 @@ NextProto SSLClientSocket::GetNegotiatedProtocol() const {
|
| return protocol_negotiated_;
|
| }
|
|
|
| +// static
|
| +std::string SSLClientSocket::FormatSessionCacheKey(
|
| + std::string host_and_port,
|
| + std::string ssl_session_cache_shard) {
|
| + std::string result = host_and_port;
|
| + 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;
|
|
|