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

Unified Diff: chrome/common/pref_names.cc

Issue 1413393003: Change WebRTC IP handling policy from multiple booleans to an enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update GYP file with right order. Created 5 years, 1 month 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') | chrome/test/data/extensions/api_test/preference/standard/test.js » ('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 b46e8b38c0bb33afbc55250068ce02b7913a9654..dcf33d78d592e2f9f53e8bba4c1aab1f038dd2ac 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1198,14 +1198,19 @@ const char kToolbarIconSurfacingBubbleLastShowTime[] =
#if defined(ENABLE_WEBRTC)
// Whether WebRTC should bind to individual NICs to explore all possible routing
-// options. Default is true.
+// options. Default is true. This has become obsoleted and replaced by
+// kWebRTCIPHandlingPolicy. TODO(guoweis): Remove this at M50.
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.
+// regardless of whether or not a proxy is configured. TODO(guoweis): Remove
+// this at M50.
const char kWebRTCNonProxiedUdpEnabled[] =
"webrtc.nonproxied_udp_enabled";
+// Define the IP handling policy override that WebRTC should follow. When not
+// set, it defaults to "default".
+const char kWebRTCIPHandlingPolicy[] = "webrtc.ip_handling_policy";
#endif
// *************** LOCAL STATE ***************
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/extensions/api_test/preference/standard/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698