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

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: tnagel's comments 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 // Whether WebRTC should use non-proxied UDP. If false, WebRTC will not send UDP 1268 // Whether WebRTC should use non-proxied UDP. If false, WebRTC will not send UDP
1269 // unless it goes through a proxy (i.e RETURN when it's available). If no UDP 1269 // unless it goes through a proxy (i.e RETURN when it's available). If no UDP
1270 // proxy is configured, it will not send UDP. If true, WebRTC will send UDP 1270 // proxy is configured, it will not send UDP. If true, WebRTC will send UDP
1271 // regardless of whether or not a proxy is configured. TODO(guoweis): Remove 1271 // regardless of whether or not a proxy is configured. TODO(guoweis): Remove
1272 // this at M50. 1272 // this at M50.
1273 const char kWebRTCNonProxiedUdpEnabled[] = 1273 const char kWebRTCNonProxiedUdpEnabled[] =
1274 "webrtc.nonproxied_udp_enabled"; 1274 "webrtc.nonproxied_udp_enabled";
1275 // Define the IP handling policy override that WebRTC should follow. When not 1275 // Define the IP handling policy override that WebRTC should follow. When not
1276 // set, it defaults to "default". 1276 // set, it defaults to "default".
1277 const char kWebRTCIPHandlingPolicy[] = "webrtc.ip_handling_policy"; 1277 const char kWebRTCIPHandlingPolicy[] = "webrtc.ip_handling_policy";
1278 // Define range of UDP ports allowed to be used by WebRTC PeerConnections.
1279 const char kWebRTCUDPPortRange[] = "webrtc.udp_port_range";
1278 #endif 1280 #endif
1279 1281
1280 // *************** LOCAL STATE *************** 1282 // *************** LOCAL STATE ***************
1281 // These are attached to the machine/installation 1283 // These are attached to the machine/installation
1282 1284
1283 // A pref to configure networks device-wide. Its value must be a list of 1285 // A pref to configure networks device-wide. Its value must be a list of
1284 // NetworkConfigurations according to the OpenNetworkConfiguration 1286 // NetworkConfigurations according to the OpenNetworkConfiguration
1285 // specification. 1287 // specification.
1286 // Currently, this pref is only used to store the policy. The user's 1288 // Currently, this pref is only used to store the policy. The user's
1287 // configuration is still stored in Shill. 1289 // configuration is still stored in Shill.
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
2257 #endif 2259 #endif
2258 2260
2259 // The base64-encoded representation of the public key to use to validate origin 2261 // The base64-encoded representation of the public key to use to validate origin
2260 // trial token signatures. 2262 // trial token signatures.
2261 const char kOriginTrialPublicKey[] = "origin_trials.public_key"; 2263 const char kOriginTrialPublicKey[] = "origin_trials.public_key";
2262 2264
2263 // A list of origin trial features to disable by policy. 2265 // A list of origin trial features to disable by policy.
2264 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features"; 2266 const char kOriginTrialDisabledFeatures[] = "origin_trials.disabled_features";
2265 2267
2266 } // namespace prefs 2268 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698