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

Unified Diff: chrome/common/pref_names.cc

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
« no previous file with comments | « chrome/common/pref_names.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index e23ab4c9227097a76d2663fe91b443fab7189d3f..25d643cd49eb93dc0f83c3f036fb7596bf955527 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1188,10 +1188,16 @@ const char kToolbarIconSurfacingBubbleLastShowTime[] =
"toolbar_icon_surfacing_bubble_show_time";
#endif
+#if defined(ENABLE_WEBRTC)
// Whether WebRTC should bind to individual NICs to explore all possible routing
// options. Default is true.
-#if defined(ENABLE_WEBRTC)
const char kWebRTCMultipleRoutesEnabled[] = "webrtc.multiple_routes_enabled";
+// Whether WebRTC should use non-proxied UDP. If false, WebRTC will not send UDP
+// unless it goes through a proxy (i.e RETURN when it's available). If no UDP
+// proxy is configured, it will not send UDP. If true, WebRTC will send UDP
+// regardless of whether or not a proxy is configured.
+const char kWebRTCNonProxiedUdpTransportEnabled[] =
+ "webrtc.nonproxied_udp_transport_enabled";
#endif
// *************** LOCAL STATE ***************
« no previous file with comments | « chrome/common/pref_names.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698