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

Unified Diff: chrome/browser/renderer_preferences_util.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
« no previous file with comments | « no previous file | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_preferences_util.cc
diff --git a/chrome/browser/renderer_preferences_util.cc b/chrome/browser/renderer_preferences_util.cc
index a78c638ca57417cd76cfbad19c7fc9cfa9e8b656..6289b3d568b303c07e553b6d4aaa93c753a02809 100644
--- a/chrome/browser/renderer_preferences_util.cc
+++ b/chrome/browser/renderer_preferences_util.cc
@@ -44,6 +44,8 @@ void UpdateFromSystemSettings(content::RendererPreferences* prefs,
#if defined(ENABLE_WEBRTC)
prefs->enable_webrtc_multiple_routes =
pref_service->GetBoolean(prefs::kWebRTCMultipleRoutesEnabled);
+ prefs->enable_webrtc_nonproxied_udp_transport =
+ pref_service->GetBoolean(prefs::kWebRTCNonProxiedUdpTransportEnabled);
#endif
double default_zoom_level = 0;
« no previous file with comments | « no previous file | chrome/browser/ui/browser_ui_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698