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

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

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: Address Devlin comments. 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
Index: content/public/common/renderer_preferences.h
diff --git a/content/public/common/renderer_preferences.h b/content/public/common/renderer_preferences.h
index 155950b80f1bfa8f159000a7de16460150f86cfb..2a8020d1391fd8a6390ea6c99bb4a04e2fbe3096 100644
--- a/content/public/common/renderer_preferences.h
+++ b/content/public/common/renderer_preferences.h
@@ -93,14 +93,9 @@ struct CONTENT_EXPORT RendererPreferences {
// Set to true to indicate that the preference to set DNT to 1 is enabled.
bool enable_do_not_track;
- // Set to false to indicate that WebRTC should use the OS default routing.
- bool enable_webrtc_multiple_routes;
-
- // Set to false to indicate that WebRTC should not use non-proxied UDP to
- // connect to peers and TURN servers, which effectively disables all WebRTC's
- // UDP traffic for now, until UDP-based proxy support is available in
- // Chromium. Default is true.
- bool enable_webrtc_nonproxied_udp;
+ // This is the IP handling policy override for WebRTC. The value must be one
+ // of the strings defined in privacy.json. Default is in brower_ui_prefs.cc.
+ std::string webrtc_ip_handling_policy;
// Default page zoom level.
double default_zoom_level;

Powered by Google App Engine
This is Rietveld 408576698