Index: blimp/net/tcp_client_transport.cc |
diff --git a/blimp/net/tcp_client_transport.cc b/blimp/net/tcp_client_transport.cc |
index 75145eb90b70e8d22763be60e3d6127da72e6906..75e7337653a946437a8f0b0ad404fcda678bfb74 100644 |
--- a/blimp/net/tcp_client_transport.cc |
+++ b/blimp/net/tcp_client_transport.cc |
@@ -12,7 +12,7 @@ |
#include "base/memory/ptr_util.h" |
#include "base/message_loop/message_loop.h" |
#include "blimp/net/message_port.h" |
-#include "blimp/net/stream_socket_connection.h" |
+#include "blimp/net/tcp_connection.h" |
#include "net/log/net_log_source.h" |
#include "net/socket/client_socket_factory.h" |
#include "net/socket/stream_socket.h" |
@@ -58,6 +58,10 @@ std::unique_ptr<MessagePort> TCPClientTransport::TakeMessagePort() { |
return MessagePort::CreateForStreamSocketWithCompression(std::move(socket_)); |
} |
+std::unique_ptr<BlimpConnection> TCPClientTransport::MakeConnection() { |
Wez
2016/11/09 22:47:17
nit: Please reflect the header ordering in the .cc
|
+ return base::MakeUnique<TCPConnection>(TakeMessagePort()); |
+} |
+ |
const char* TCPClientTransport::GetName() const { |
return "TCP"; |
} |