summaryrefslogtreecommitdiff
path: root/chromium/net/socket/client_socket_factory.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-16 09:59:13 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-20 10:28:53 +0000
commit6c11fb357ec39bf087b8b632e2b1e375aef1b38b (patch)
treec8315530db18a8ee566521c39ab8a6af4f72bc03 /chromium/net/socket/client_socket_factory.h
parent3ffaed019d0772e59d6cdb2d0d32fe4834c31f72 (diff)
downloadqtwebengine-chromium-6c11fb357ec39bf087b8b632e2b1e375aef1b38b.tar.gz
BASELINE: Update Chromium to 74.0.3729.159
Change-Id: I8d2497da544c275415aedd94dd25328d555de811 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/net/socket/client_socket_factory.h')
-rw-r--r--chromium/net/socket/client_socket_factory.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/chromium/net/socket/client_socket_factory.h b/chromium/net/socket/client_socket_factory.h
index 612316728b0..169825265ee 100644
--- a/chromium/net/socket/client_socket_factory.h
+++ b/chromium/net/socket/client_socket_factory.h
@@ -18,7 +18,6 @@
namespace net {
class AddressList;
-class ClientSocketHandle;
class DatagramClientSocket;
class HostPortPair;
class NetLog;
@@ -50,17 +49,16 @@ class NET_EXPORT ClientSocketFactory {
NetLog* net_log,
const NetLogSource& source) = 0;
- // It is allowed to pass in a |transport_socket| that is not obtained from a
- // socket pool. The caller could create a ClientSocketHandle directly and call
- // set_socket() on it to set a valid StreamSocket instance.
+ // It is allowed to pass in a StreamSocket that is not obtained from a
+ // socket pool. The caller could create a StreamSocket directly.
virtual std::unique_ptr<SSLClientSocket> CreateSSLClientSocket(
- std::unique_ptr<ClientSocketHandle> transport_socket,
+ std::unique_ptr<StreamSocket> stream_socket,
const HostPortPair& host_and_port,
const SSLConfig& ssl_config,
const SSLClientSocketContext& context) = 0;
virtual std::unique_ptr<ProxyClientSocket> CreateProxyClientSocket(
- std::unique_ptr<ClientSocketHandle> transport_socket,
+ std::unique_ptr<StreamSocket> stream_socket,
const std::string& user_agent,
const HostPortPair& endpoint,
const ProxyServer& proxy_server,
@@ -72,9 +70,6 @@ class NET_EXPORT ClientSocketFactory {
bool is_https_proxy,
const NetworkTrafficAnnotationTag& traffic_annotation) = 0;
- // Clears cache used for SSL session resumption.
- virtual void ClearSSLSessionCache() = 0;
-
// Returns the default ClientSocketFactory.
static ClientSocketFactory* GetDefaultFactory();
};