Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: net/socket/client_socket_factory.h

Issue 6930014: Rename ClientSocket to StreamSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/net.gyp ('k') | net/socket/client_socket_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « net/net.gyp ('k') | net/socket/client_socket_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698