| Index: net/socket/client_socket_pool_manager.h
|
| diff --git a/net/socket/client_socket_pool_manager.h b/net/socket/client_socket_pool_manager.h
|
| index 1b78324f233a3c8ca5948303ffabb928b04d3c5c..12154809870240577c0faaa17ede820f7f7ad0b8 100644
|
| --- a/net/socket/client_socket_pool_manager.h
|
| +++ b/net/socket/client_socket_pool_manager.h
|
| @@ -147,6 +147,21 @@ NET_EXPORT int InitSocketHandleForRawConnect(
|
| ClientSocketHandle* socket_handle,
|
| const CompletionCallback& callback);
|
|
|
| +// A helper method that uses the passed in proxy information to initialize a
|
| +// ClientSocketHandle with the relevant socket pool. Use this method for
|
| +// a raw socket connection with TLS negotiation to a host-port pair (that needs
|
| +// to tunnel through the proxies).
|
| +NET_EXPORT int InitSocketHandleForTlsConnect(
|
| + const HostPortPair& host_port_pair,
|
| + HttpNetworkSession* session,
|
| + const ProxyInfo& proxy_info,
|
| + const SSLConfig& ssl_config_for_origin,
|
| + const SSLConfig& ssl_config_for_proxy,
|
| + PrivacyMode privacy_mode,
|
| + const BoundNetLog& net_log,
|
| + ClientSocketHandle* socket_handle,
|
| + const CompletionCallback& callback);
|
| +
|
| // Similar to InitSocketHandleForHttpRequest except that it initiates the
|
| // desired number of preconnect streams from the relevant socket pool.
|
| int PreconnectSocketsForHttpRequest(
|
|
|