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

Side by Side Diff: content/public/common/renderer_preferences.h

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, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A struct for managing browser's settings that apply to the renderer or its 5 // A struct for managing browser's settings that apply to the renderer or its
6 // webview. These differ from WebPreferences since they apply to Chromium's 6 // webview. These differ from WebPreferences since they apply to Chromium's
7 // glue layer rather than applying to just WebKit. 7 // glue layer rather than applying to just WebKit.
8 // 8 //
9 // Adding new values to this class probably involves updating 9 // Adding new values to this class probably involves updating
10 // common/view_messages.h, browser/browser.cc, etc. 10 // common/view_messages.h, browser/browser.cc, etc.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // Set to false to not send referrers. 93 // Set to false to not send referrers.
94 bool enable_referrers; 94 bool enable_referrers;
95 95
96 // Set to true to indicate that the preference to set DNT to 1 is enabled. 96 // Set to true to indicate that the preference to set DNT to 1 is enabled.
97 bool enable_do_not_track; 97 bool enable_do_not_track;
98 98
99 // Set to false to indicate that WebRTC should use the OS default routing. 99 // Set to false to indicate that WebRTC should use the OS default routing.
100 bool enable_webrtc_multiple_routes; 100 bool enable_webrtc_multiple_routes;
101 101
102 // Set to true to indicate that WebRTC is allowed to use nonproxied UDP to
103 // connect to peer or TURN servers. Default is true.
pthatcher2 2015/08/26 21:09:59 to peer or => to peers and
104 bool enable_webrtc_nonproxied_udp_transport;
105
102 // Default page zoom level. 106 // Default page zoom level.
103 double default_zoom_level; 107 double default_zoom_level;
104 108
105 // The user agent given to WebKit when it requests one and the user agent is 109 // The user agent given to WebKit when it requests one and the user agent is
106 // being overridden for the current navigation. 110 // being overridden for the current navigation.
107 std::string user_agent_override; 111 std::string user_agent_override;
108 112
109 // The accept-languages of the browser, comma-separated. 113 // The accept-languages of the browser, comma-separated.
110 std::string accept_languages; 114 std::string accept_languages;
111 115
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 int32 arrow_bitmap_width_horizontal_scroll_bar_in_dips; 173 int32 arrow_bitmap_width_horizontal_scroll_bar_in_dips;
170 #endif 174 #endif
171 175
172 // The default font size used for rendering on Linux. 176 // The default font size used for rendering on Linux.
173 int default_font_size; 177 int default_font_size;
174 }; 178 };
175 179
176 } // namespace content 180 } // namespace content
177 181
178 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 182 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698