Index: net/socket/client_socket_factory.h |
diff --git a/net/socket/client_socket_factory.h b/net/socket/client_socket_factory.h |
index ef40ed36346c09cdb002f52bbb8848344f3a6460..31f117fa1c3a4aafeacfc8881564d989a466a43b 100644 |
--- a/net/socket/client_socket_factory.h |
+++ b/net/socket/client_socket_factory.h |
@@ -15,15 +15,15 @@ namespace net { |
class AddressList; |
class CertVerifier; |
-class ClientSocket; |
class ClientSocketHandle; |
class DnsCertProvenanceChecker; |
class HostPortPair; |
class SSLClientSocket; |
struct SSLConfig; |
class SSLHostInfo; |
+class StreamSocket; |
-// An interface used to instantiate ClientSocket objects. Used to facilitate |
+// An interface used to instantiate StreamSocket objects. Used to facilitate |
// testing code with mock socket implementations. |
class ClientSocketFactory { |
public: |
@@ -31,7 +31,7 @@ class ClientSocketFactory { |
// |source| is the NetLog::Source for the entity trying to create the socket, |
// if it has one. |
- virtual ClientSocket* CreateTransportClientSocket( |
+ virtual StreamSocket* CreateTransportClientSocket( |
const AddressList& addresses, |
NetLog* net_log, |
const NetLog::Source& source) = 0; |
@@ -44,9 +44,9 @@ class ClientSocketFactory { |
CertVerifier* cert_verifier, |
DnsCertProvenanceChecker* dns_cert_checker) = 0; |
- // Deprecated function (http://crbug.com/37810) that takes a ClientSocket. |
+ // Deprecated function (http://crbug.com/37810) that takes a StreamSocket. |
virtual SSLClientSocket* CreateSSLClientSocket( |
- ClientSocket* transport_socket, |
+ StreamSocket* transport_socket, |
const HostPortPair& host_and_port, |
const SSLConfig& ssl_config, |
SSLHostInfo* ssl_host_info, |