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

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: tnagel's comments Created 4 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/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 e75090be247b91bab75bd72514014b787af2fc2e..92b9ebc819f3f9fc8ee9753bac4014346214e1a5 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -399,6 +399,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,
« no previous file with comments | « chrome/browser/extensions/api/preference/preference_api.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698