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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2127653002: Add policy to control valid UDP port range in WebRTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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/browser/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index 634c10a79c3ae307c0106036d6d11bde99bdbec1..229ec45b350053dc25577d1acee9262b19a9bd6d 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -398,6 +398,11 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
prefs::kEnableMediaRouter,
base::Value::TYPE_BOOLEAN },
#endif // defined(ENABLE_MEDIA_ROUTER)
+#if defined(ENABLE_WEBRTC)
+ { key::kWebRtcUdpPortRange,
+ prefs::kWebRTCUDPPortRange,
+ base::Value::TYPE_STRING },
+#endif // defined(ENABLE_WEBRTC)
#if !defined(OS_MACOSX)
{ key::kFullscreenAllowed,
prefs::kFullscreenAllowed,

Powered by Google App Engine
This is Rietveld 408576698