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

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
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 9d21f958f0fa622a09711e80b9d3baea6b95d84c..b49dcc9ad71d5c3bcc6fddc203f75af1385ec8ac 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1193,10 +1193,15 @@ 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 can use nonproxied UDP to connect. When this is true, WebRTC
+// will use UDP transport which doesn't use proxy and might leak IP addresses
+// when no UDP-supporting proxy is configured. Default is true.
+const char kWebRTCNonProxiedUdpTransportEnabled[] =
pthatcher2 2015/08/26 21:09:59 Might be more clear as "Whether WebRTC should use
+ "webrtc.nonproxied_udp_transport_enabled";
#endif
// *************** LOCAL STATE ***************

Powered by Google App Engine
This is Rietveld 408576698