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

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

Issue 1128823008: Use nonblocking IO mode as default for WebRTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/p2p/socket_host_udp.cc
diff --git a/content/browser/renderer_host/p2p/socket_host_udp.cc b/content/browser/renderer_host/p2p/socket_host_udp.cc
index f54dc787b7fbf33101c4aded928a84ca13837df0..5137972ebb0d9edb3d6f02cfd820135a39caaff1 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp.cc
+++ b/content/browser/renderer_host/p2p/socket_host_udp.cc
@@ -98,11 +98,7 @@ P2PSocketHostUdp::P2PSocketHostUdp(IPC::Sender* message_sender,
net::UDPServerSocket* socket = new net::UDPServerSocket(
GetContentClient()->browser()->GetNetLog(), net::NetLog::Source());
#if defined(OS_WIN)
- // If configured for finch experiment, use nonblocking IO.
- if (base::FieldTrialList::FindFullName("WebRTC-UDPSocketNonBlockingIO") ==
- "Enabled") {
- socket->UseNonBlockingIO();
- }
+ socket->UseNonBlockingIO();
#endif
socket_.reset(socket);
}
« 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