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

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: update GYP file with right order. 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
« no previous file with comments | « content/public/common/BUILD.gn ('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 155950b80f1bfa8f159000a7de16460150f86cfb..a03b9c133f928d92c79a9f5ae8d1a5a477af20a4 100644
--- a/content/public/common/renderer_preferences.h
+++ b/content/public/common/renderer_preferences.h
@@ -93,14 +93,10 @@ 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. The allowed values are specified
+ // in webrtc_ip_handling_policy.h.
+ std::string webrtc_ip_handling_policy;
// Default page zoom level.
double default_zoom_level;
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698