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

Unified Diff: content/renderer/p2p/ipc_socket_factory.cc

Issue 17068014: Add the P2P_SOCKET_STUN_TCP_CLIENT and P2P_SOCKET_STUN_SSLTCP_CLIENT to IsTcpClientSocket. (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/p2p/ipc_socket_factory.cc
===================================================================
--- content/renderer/p2p/ipc_socket_factory.cc (revision 207856)
+++ content/renderer/p2p/ipc_socket_factory.cc (working copy)
@@ -21,7 +21,9 @@
bool IsTcpClientSocket(P2PSocketType type) {
return (type == P2P_SOCKET_STUN_TCP_CLIENT) ||
- (type == P2P_SOCKET_TCP_CLIENT);
+ (type == P2P_SOCKET_TCP_CLIENT) ||
+ (type == P2P_SOCKET_STUN_SSLTCP_CLIENT) ||
+ (type == P2P_SOCKET_SSLTCP_CLIENT);
}
// TODO(miu): This needs tuning. http://crbug.com/237960
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698