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

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

Issue 302633012: Remove --enable-webrtc-tcp-server-socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/public/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/p2p/port_allocator.cc
diff --git a/content/renderer/p2p/port_allocator.cc b/content/renderer/p2p/port_allocator.cc
index 6c60f4717373ecc18f902b18a41f0659ed844436..61cfefd4901a61f6d738e1e33e7de3c05548867b 100644
--- a/content/renderer/p2p/port_allocator.cc
+++ b/content/renderer/p2p/port_allocator.cc
@@ -80,12 +80,7 @@ P2PPortAllocator::P2PPortAllocator(
if (config_.disable_tcp_transport)
flags |= cricket::PORTALLOCATOR_DISABLE_TCP;
set_flags(flags);
- // TODO(ronghuawu): crbug/138185 add ourselves to the firewall list in browser
- // process and then remove below line.
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableWebRtcTcpServerSocket)) {
- set_allow_tcp_listen(false);
- }
+ set_allow_tcp_listen(false);
}
P2PPortAllocator::~P2PPortAllocator() {
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698