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

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

Issue 1309543004: Create a new preference which disables UDP protocol for WebRTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
Index: content/renderer/p2p/port_allocator.h
diff --git a/content/renderer/p2p/port_allocator.h b/content/renderer/p2p/port_allocator.h
index 3d1ae5fa161a85cc81d6ea66a3e2f8ea9b1631f2..84f65b9c2f40b1f805a7f1c09b20961ce3864b1e 100644
--- a/content/renderer/p2p/port_allocator.h
+++ b/content/renderer/p2p/port_allocator.h
@@ -35,11 +35,14 @@ class P2PPortAllocator : public cricket::BasicPortAllocator {
std::vector<RelayServerConfig> relays;
- // Disable TCP-based transport when set to true.
- bool disable_tcp_transport;
+ // Disable TCP-based transport when set to false.
juberti1 2015/08/27 00:21:20 This is somewhat confusing because enable_tcp_tran
pthatcher2 2015/08/27 16:59:09 That's a good point. But since TCP to the relay w
+ bool enable_tcp_transport = true;
+
+ // Disable non-proxied UPD-based transport when set to false.
juberti1 2015/08/27 00:21:20 UDP
+ bool enable_nonproxied_udp_transport = true;
// Disable binding to individual NICs when set to false.
- bool enable_multiple_routes;
+ bool enable_multiple_routes = true;
};
P2PPortAllocator(P2PSocketDispatcher* socket_dispatcher,
« no previous file with comments | « content/renderer/media/webrtc/peer_connection_dependency_factory.cc ('k') | content/renderer/p2p/port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698