| 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.", |
| 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 "webRTCIPHandlingPolicy": { |
| 26 "$ref": "types.ChromeSetting", | 35 "$ref": "types.ChromeSetting", |
| 27 "value": ["webRTCNonProxiedUdpEnabled", {"type":"boolean"}], | 36 "value": ["webRTCIPHandlingPolicy", {"$ref":"IPHandlingPolicy"}], |
| 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>." | 37 "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 } | 38 } |
| 30 } | 39 } |
| 31 }, | 40 }, |
| 32 "services": { | 41 "services": { |
| 33 "type": "object", | 42 "type": "object", |
| 34 "value": {}, | 43 "value": {}, |
| 35 "description": "Settings that enable or disable features that require th
ird-party network services provided by Google and your default search provider."
, | 44 "description": "Settings that enable or disable features that require th
ird-party network services provided by Google and your default search provider."
, |
| 36 "properties": { | 45 "properties": { |
| 37 "alternateErrorPagesEnabled": { | 46 "alternateErrorPagesEnabled": { |
| 38 "$ref": "types.ChromeSetting", | 47 "$ref": "types.ChromeSetting", |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 "$ref": "types.ChromeSetting", | 114 "$ref": "types.ChromeSetting", |
| 106 "value": ["protectedContentEnabled", {"type":"boolean"}], | 115 "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>.", | 116 "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"] | 117 "platforms": ["windows", "cros", "cros touch"] |
| 109 } | 118 } |
| 110 } | 119 } |
| 111 } | 120 } |
| 112 } | 121 } |
| 113 } | 122 } |
| 114 ] | 123 ] |
| OLD | NEW |