diff options
author | ronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-22 00:23:08 +0000 |
---|---|---|
committer | ronghuawu@chromium.org <ronghuawu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-22 00:23:08 +0000 |
commit | 50cb465dc78ff2a42b55c028bd0cb6207224024b (patch) | |
tree | e404f882dbac07856efab1436b7340e8beb53a2f | |
parent | a12393337a95be1b866466a8c18a234cb2e3e413 (diff) | |
download | chromium_src-50cb465dc78ff2a42b55c028bd0cb6207224024b.zip chromium_src-50cb465dc78ff2a42b55c028bd0cb6207224024b.tar.gz chromium_src-50cb465dc78ff2a42b55c028bd0cb6207224024b.tar.bz2 |
Add the P2P_SOCKET_STUN_TCP_CLIENT and P2P_SOCKET_STUN_SSLTCP_CLIENT to IsTcpClientSocket.
BUG=133742
R=sergeyu@chromium.org
Review URL: https://codereview.chromium.org/17068014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207967 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/renderer/p2p/ipc_socket_factory.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/renderer/p2p/ipc_socket_factory.cc b/content/renderer/p2p/ipc_socket_factory.cc index 3877740..0653247 100644 --- a/content/renderer/p2p/ipc_socket_factory.cc +++ b/content/renderer/p2p/ipc_socket_factory.cc @@ -21,7 +21,9 @@ namespace { 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 |