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

Unified Diff: content/browser/renderer_host/p2p/socket_host.cc

Issue 16516003: SSLTCP (pseudo-SSL with fake handshake and unencrypted data) support for p2p socket. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 | « content/browser/renderer_host/p2p/DEPS ('k') | content/browser/renderer_host/p2p/socket_host_tcp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « content/browser/renderer_host/p2p/DEPS ('k') | content/browser/renderer_host/p2p/socket_host_tcp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698