| Index: net/socket/ssl_client_socket.cc
|
| diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
|
| index 45e3fa9480e052e99d63aa73b18a530548fd7879..044368b011fb37c2aa32a48188476ea22ccebb46 100644
|
| --- a/net/socket/ssl_client_socket.cc
|
| +++ b/net/socket/ssl_client_socket.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/metrics/histogram.h"
|
| #include "base/strings/string_util.h"
|
| #include "crypto/ec_private_key.h"
|
| +#include "net/base/host_port_pair.h"
|
| #include "net/ssl/channel_id_service.h"
|
| #include "net/ssl/ssl_config_service.h"
|
|
|
| @@ -88,6 +89,16 @@ 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;
|
|
|