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

Unified Diff: content/public/common/renderer_preferences.h

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
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/renderer_preferences.h
diff --git a/content/public/common/renderer_preferences.h b/content/public/common/renderer_preferences.h
index 73d215a6731caa2cb2f94126ddc9879b3a2b3121..6e6f1b47e6d32191b327aab460450b8ce620356b 100644
--- a/content/public/common/renderer_preferences.h
+++ b/content/public/common/renderer_preferences.h
@@ -102,6 +102,11 @@ struct CONTENT_EXPORT RendererPreferences {
// in webrtc_ip_handling_policy.h.
std::string webrtc_ip_handling_policy;
+ // This is the range of UDP ports allowed to be used by WebRTC. A value of
+ // zero in both fields means all ports are allowed.
+ uint16_t webrtc_udp_min_port;
+ uint16_t webrtc_udp_max_port;
+
// The user agent given to WebKit when it requests one and the user agent is
// being overridden for the current navigation.
std::string user_agent_override;
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698