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

Side by Side Diff: chrome/common/pref_names.cc

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: rebase + some fixes 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 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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/common/pref_font_webkit_names.h" 9 #include "chrome/common/pref_font_webkit_names.h"
10 10
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 // Whether WebRTC should use non-proxied UDP. If false, WebRTC will not send UDP 1254 // Whether WebRTC should use non-proxied UDP. If false, WebRTC will not send UDP
1255 // unless it goes through a proxy (i.e RETURN when it's available). If no UDP 1255 // unless it goes through a proxy (i.e RETURN when it's available). If no UDP
1256 // proxy is configured, it will not send UDP. If true, WebRTC will send UDP 1256 // proxy is configured, it will not send UDP. If true, WebRTC will send UDP
1257 // regardless of whether or not a proxy is configured. TODO(guoweis): Remove 1257 // regardless of whether or not a proxy is configured. TODO(guoweis): Remove
1258 // this at M50. 1258 // this at M50.
1259 const char kWebRTCNonProxiedUdpEnabled[] = 1259 const char kWebRTCNonProxiedUdpEnabled[] =
1260 "webrtc.nonproxied_udp_enabled"; 1260 "webrtc.nonproxied_udp_enabled";
1261 // Define the IP handling policy override that WebRTC should follow. When not 1261 // Define the IP handling policy override that WebRTC should follow. When not
1262 // set, it defaults to "default". 1262 // set, it defaults to "default".
1263 const char kWebRTCIPHandlingPolicy[] = "webrtc.ip_handling_policy"; 1263 const char kWebRTCIPHandlingPolicy[] = "webrtc.ip_handling_policy";
1264 // Define range of UDP ports allowed to be used by WebRTC PeerConnections.
1265 const char kWebRTCUDPPortRange[] = "webrtc.udp_port_range";
1264 #endif 1266 #endif
1265 1267
1266 // *************** LOCAL STATE *************** 1268 // *************** LOCAL STATE ***************
1267 // These are attached to the machine/installation 1269 // These are attached to the machine/installation
1268 1270
1269 // A pref to configure networks device-wide. Its value must be a list of 1271 // A pref to configure networks device-wide. Its value must be a list of
1270 // NetworkConfigurations according to the OpenNetworkConfiguration 1272 // NetworkConfigurations according to the OpenNetworkConfiguration
1271 // specification. 1273 // specification.
1272 // Currently, this pref is only used to store the policy. The user's 1274 // Currently, this pref is only used to store the policy. The user's
1273 // configuration is still stored in Shill. 1275 // configuration is still stored in Shill.
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
2242 #endif 2244 #endif
2243 2245
2244 // The base64-encoded representation of the public key to use to validate origin 2246 // The base64-encoded representation of the public key to use to validate origin
2245 // trial token signatures. 2247 // trial token signatures.
2246 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2248 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2247 2249
2248 // A list of origin trial features to disable by policy. 2250 // A list of origin trial features to disable by policy.
2249 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2251 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2250 2252
2251 } // namespace prefs 2253 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698