Index: remoting/jingle_glue/ssl_socket_adapter.h |
diff --git a/remoting/jingle_glue/ssl_socket_adapter.h b/remoting/jingle_glue/ssl_socket_adapter.h |
index c4111c84eb523aeea39943dab40f2dcc35d11de6..279e9e1693353e11dc8d4c6c0c83ad189df94b5c 100644 |
--- a/remoting/jingle_glue/ssl_socket_adapter.h |
+++ b/remoting/jingle_glue/ssl_socket_adapter.h |
@@ -10,8 +10,8 @@ |
#include "net/base/io_buffer.h" |
#include "net/base/net_errors.h" |
#include "net/base/net_log.h" |
-#include "net/socket/client_socket.h" |
#include "net/socket/ssl_client_socket.h" |
+#include "net/socket/stream_socket.h" |
#include "third_party/libjingle/source/talk/base/asyncsocket.h" |
#include "third_party/libjingle/source/talk/base/ssladapter.h" |
@@ -26,10 +26,10 @@ class SSLSocketAdapter; |
// TODO(sergeyu): Write unittests for this code! |
// This class provides a wrapper to libjingle's talk_base::AsyncSocket that |
-// implements Chromium's net::ClientSocket interface. It's used by |
+// implements Chromium's net::StreamSocket interface. It's used by |
// SSLSocketAdapter to enable Chromium's SSL implementation to work over |
// libjingle's socket class. |
-class TransportSocket : public net::ClientSocket, public sigslot::has_slots<> { |
+class TransportSocket : public net::StreamSocket, public sigslot::has_slots<> { |
public: |
TransportSocket(talk_base::AsyncSocket* socket, |
SSLSocketAdapter *ssl_adapter); |
@@ -39,7 +39,7 @@ class TransportSocket : public net::ClientSocket, public sigslot::has_slots<> { |
addr_ = addr; |
} |
- // net::ClientSocket implementation |
+ // net::StreamSocket implementation |
virtual int Connect(net::CompletionCallback* callback); |
virtual void Disconnect(); |