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

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..fc1f3dc4ff667c4cea9b5bb6bb08697940108837 100644
--- a/content/renderer/p2p/port_allocator.h
+++ b/content/renderer/p2p/port_allocator.h
@@ -38,6 +38,9 @@ class P2PPortAllocator : public cricket::BasicPortAllocator {
// Disable TCP-based transport when set to true.
bool disable_tcp_transport;
+ // Disable UPD-based transport when set to true.
+ bool disable_udp_transport;
+
// Disable binding to individual NICs when set to false.
bool enable_multiple_routes;
};

Powered by Google App Engine
This is Rietveld 408576698