Index: content/browser/renderer_host/p2p/socket_host.cc |
=================================================================== |
--- content/browser/renderer_host/p2p/socket_host.cc (revision 205587) |
+++ content/browser/renderer_host/p2p/socket_host.cc (working copy) |
@@ -86,10 +86,16 @@ |
message_sender, id, P2P_SOCKET_STUN_TCP_CLIENT); |
case P2P_SOCKET_TCP_CLIENT: |
- return new P2PSocketHostTcp(message_sender, id); |
+ return new P2PSocketHostTcp(message_sender, id, type); |
case P2P_SOCKET_STUN_TCP_CLIENT: |
- return new P2PSocketHostStunTcp(message_sender, id); |
+ return new P2PSocketHostStunTcp(message_sender, id, type); |
+ |
+ case P2P_SOCKET_SSLTCP_CLIENT: |
+ return new P2PSocketHostTcp(message_sender, id, type); |
+ |
+ case P2P_SOCKET_STUN_SSLTCP_CLIENT: |
+ return new P2PSocketHostStunTcp(message_sender, id, type); |
} |
NOTREACHED(); |