Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "privacy", | 7 "namespace": "privacy", |
| 8 "description": "Use the <code>chrome.privacy</code> API to control usage of the features in Chrome that can affect a user's privacy. This API relies on the <a href='types#ChromeSetting'>ChromeSetting prototype of the type API</a> for ge tting and setting Chrome's configuration.", | 8 "description": "Use the <code>chrome.privacy</code> API to control usage of the features in Chrome that can affect a user's privacy. This API relies on the <a href='types#ChromeSetting'>ChromeSetting prototype of the type API</a> for ge tting and setting Chrome's configuration.", |
| 9 "types": [ | |
| 10 { | |
| 11 "id": "IPHandlingPolicy", | |
| 12 "type": "string", | |
| 13 "enum": ["default", "default_public_interface_only", "disable_non_proxie d_udp"], | |
| 14 "description": "The IP handling policy of WebRTC." | |
| 15 } | |
| 16 ], | |
| 9 "properties": { | 17 "properties": { |
| 10 "network": { | 18 "network": { |
| 11 "type": "object", | 19 "type": "object", |
| 12 "value": {}, | 20 "value": {}, |
| 13 "description": "Settings that influence Chrome's handling of network con nections in general.", | 21 "description": "Settings that influence Chrome's handling of network con nections in general.", |
| 14 "properties": { | 22 "properties": { |
| 15 "networkPredictionEnabled": { | 23 "networkPredictionEnabled": { |
| 16 "$ref": "types.ChromeSetting", | 24 "$ref": "types.ChromeSetting", |
| 17 "value": ["networkPredictionEnabled", {"type":"boolean"}], | 25 "value": ["networkPredictionEnabled", {"type":"boolean"}], |
| 18 "description": "If enabled, Chrome attempts to speed up your web bro wsing experience by pre-resolving DNS entries, prerendering sites (<code><lin k rel='prefetch' ...></code>), and preemptively opening TCP and SSL connectio ns to servers. This preference's value is a boolean, defaulting to <code>true</ code>." | 26 "description": "If enabled, Chrome attempts to speed up your web bro wsing experience by pre-resolving DNS entries, prerendering sites (<code><lin k rel='prefetch' ...></code>), and preemptively opening TCP and SSL connectio ns to servers. This preference's value is a boolean, defaulting to <code>true</ code>." |
| 19 }, | 27 }, |
| 20 "webRTCMultipleRoutesEnabled": { | 28 "webRTCMultipleRoutesEnabled": { |
| 21 "$ref": "types.ChromeSetting", | 29 "$ref": "types.ChromeSetting", |
| 22 "value": ["webRTCMultipleRoutesEnabled", {"type":"boolean"}], | 30 "value": ["webRTCMultipleRoutesEnabled", {"type":"boolean"}], |
| 31 "deprecated": "Please use $(ref:privacy.webRTCIPHandlingPolicy). Thi s remains read-only for backward compatibility in this release and will be remov ed in the future.", | |
|
Devlin
2015/10/27 20:45:44
webRTCIPHandlingPolicy isn't defined on privacy, i
guoweis_left_chromium
2015/10/28 16:39:51
That was the first thing I ever tried. No, it didn
Devlin
2015/10/28 22:39:37
Dang. I guess we don't parse properties for cross
| |
| 23 "description": "If enabled, Chrome will explore all possible routing options when using WebRTC to find the most performant path, possibly exposing u ser's private IP address. Otherwise, WebRTC traffic will be routed the same way as regular HTTP. This preference's value is a boolean, defaulting to <code>true< /code>." | 32 "description": "If enabled, Chrome will explore all possible routing options when using WebRTC to find the most performant path, possibly exposing u ser's private IP address. Otherwise, WebRTC traffic will be routed the same way as regular HTTP. This preference's value is a boolean, defaulting to <code>true< /code>." |
| 24 }, | 33 }, |
| 25 "webRTCNonProxiedUdpEnabled": { | 34 "webRTCNonProxiedUdpEnabled": { |
| 26 "$ref": "types.ChromeSetting", | 35 "$ref": "types.ChromeSetting", |
| 27 "value": ["webRTCNonProxiedUdpEnabled", {"type":"boolean"}], | 36 "value": ["webRTCNonProxiedUdpEnabled", {"type":"boolean"}], |
| 37 "deprecated": "Please use $(ref:privacy.webRTCIPHandlingPolicy). Thi s remains read-only for backward compatibility in this release and will be remov ed in the future.", | |
|
Devlin
2015/10/27 20:45:44
It's not read-only, right?
guoweis_left_chromium
2015/10/28 16:39:51
Done.
| |
| 28 "description": "If enabled, Chrome is allowed to use non-proxied UDP to connect to peers or TURN servers when using WebRTC. Since most proxy servers don't handle UDP, using UDP possibly exposes user's IP address. Turning this of f effectively forces WebRTC to only use TCP for now, until UDP proxy support is available in Chrome and such proxies are widely deployed. As a result, it also m ight hurt media performance and increase the load for proxy servers. This prefer ence's value is a boolean, defaulting to <code>true</code>." | 38 "description": "If enabled, Chrome is allowed to use non-proxied UDP to connect to peers or TURN servers when using WebRTC. Since most proxy servers don't handle UDP, using UDP possibly exposes user's IP address. Turning this of f effectively forces WebRTC to only use TCP for now, until UDP proxy support is available in Chrome and such proxies are widely deployed. As a result, it also m ight hurt media performance and increase the load for proxy servers. This prefer ence's value is a boolean, defaulting to <code>true</code>." |
| 39 }, | |
| 40 "webRTCIPHandlingPolicy": { | |
| 41 "$ref": "types.ChromeSetting", | |
| 42 "value": ["webRTCIPHandlingPolicy", {"$ref":"IPHandlingPolicy"}], | |
| 43 "description": "Allow users to specify the media performance/privac y tradeoffs which impacts how WebRTC traffic will be routed and how much local a ddress information is exposed. This preference's value is of type IPHandlingPoli cy, defaulting to <code>default</code>." | |
| 29 } | 44 } |
| 30 } | 45 } |
| 31 }, | 46 }, |
| 32 "services": { | 47 "services": { |
| 33 "type": "object", | 48 "type": "object", |
| 34 "value": {}, | 49 "value": {}, |
| 35 "description": "Settings that enable or disable features that require th ird-party network services provided by Google and your default search provider." , | 50 "description": "Settings that enable or disable features that require th ird-party network services provided by Google and your default search provider." , |
| 36 "properties": { | 51 "properties": { |
| 37 "alternateErrorPagesEnabled": { | 52 "alternateErrorPagesEnabled": { |
| 38 "$ref": "types.ChromeSetting", | 53 "$ref": "types.ChromeSetting", |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 105 "$ref": "types.ChromeSetting", | 120 "$ref": "types.ChromeSetting", |
| 106 "value": ["protectedContentEnabled", {"type":"boolean"}], | 121 "value": ["protectedContentEnabled", {"type":"boolean"}], |
| 107 "description": "<strong>Available on Windows and ChromeOS only</stro ng>: If enabled, Chrome provides a unique ID to plugins in order to run protecte d content. The value of this preference is of type boolean, and the default valu e is <code>true</code>.", | 122 "description": "<strong>Available on Windows and ChromeOS only</stro ng>: If enabled, Chrome provides a unique ID to plugins in order to run protecte d content. The value of this preference is of type boolean, and the default valu e is <code>true</code>.", |
| 108 "platforms": ["windows", "cros", "cros touch"] | 123 "platforms": ["windows", "cros", "cros touch"] |
| 109 } | 124 } |
| 110 } | 125 } |
| 111 } | 126 } |
| 112 } | 127 } |
| 113 } | 128 } |
| 114 ] | 129 ] |
| OLD | NEW |