OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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": "preferencesPrivate", | 7 "namespace": "preferencesPrivate", |
8 "description": "none", | 8 "description": "none", |
9 "properties": { | 9 "properties": { |
10 "googleGeolocationAccessEnabled": { | 10 "googleGeolocationAccessEnabled": { |
11 "nocompile": true, | 11 "nocompile": true, |
12 "$ref": "types.private.ChromeDirectSetting", | 12 "$ref": "types.private.ChromeDirectSetting", |
13 "value": ["googlegeolocationaccess.enabled", {"type":"boolean"}], | 13 "value": ["googlegeolocationaccess.enabled", {"type":"boolean"}], |
14 "description": "If enabled, Google services can access the user's locati
on. This preference's value is a boolean, defaulting to <code>false</code>." | 14 "description": "If enabled, Google services can access the user's locati
on. This preference's value is a boolean, defaulting to <code>false</code>." |
15 }, | 15 }, |
16 "spdyProxyEnabled": { | 16 "spdyProxyEnabled": { |
17 "nocompile": true, | 17 "nocompile": true, |
18 "$ref": "types.private.ChromeDirectSetting", | 18 "$ref": "types.private.ChromeDirectSetting", |
19 "value": ["spdy_proxy.enabled", {"type":"boolean"}], | 19 "value": ["spdy_proxy.enabled", {"type":"boolean"}], |
20 "description": "Flag to enable data usage reduction by sending requests
via data reduction proxy. This preference's value is a boolean, defaulting to <c
ode>false</code>." | 20 "description": "Flag to enable data usage reduction by sending requests
via data reduction proxy. This preference's value is a boolean, defaulting to <c
ode>false</code>." |
| 21 }, |
| 22 "dataReductionDailyContentLength": { |
| 23 "nocompile": true, |
| 24 "$ref": "types.private.ChromeDirectSetting", |
| 25 "value": ["data_reduction.daily_original_length", {"type":"array"}], |
| 26 "description": "Each item contains the number uncompressed bytes through
data reduction proxy per day." |
| 27 }, |
| 28 "dataReductionDailyReceivedLength": { |
| 29 "nocompile": true, |
| 30 "$ref": "types.private.ChromeDirectSetting", |
| 31 "value": ["data_reduction.daily_received_length", {"type":"array"}], |
| 32 "description": "Each item contains the number of compressed bytes throug
h data reduction proxy per day." |
| 33 }, |
| 34 "dataReductionUpdateDailyLengths": { |
| 35 "nocompile": true, |
| 36 "$ref": "types.private.ChromeDirectSetting", |
| 37 "value": ["data_reduction.update_daily_lengths", {"type":"boolean"}], |
| 38 "description": "Flag to indicate that dataReductionDailyContentLength an
d dataReductionDailyReceivedLength must be updated with their latest values. Thi
s preference's value is a boolean, defaulting to <code>false</code>." |
21 } | 39 } |
22 }, | 40 }, |
23 "functions": [ | 41 "functions": [ |
24 { | 42 { |
25 "name": "getSyncCategoriesWithoutPassphrase", | 43 "name": "getSyncCategoriesWithoutPassphrase", |
26 "description": "Returns a list of sync categories the user has enabled w
ithout using a custom passphrase for encryption. The possible values are those t
hat can be returned from syncer::ModelTypeToString in sync/syncable/model_type.c
c.", | 44 "description": "Returns a list of sync categories the user has enabled w
ithout using a custom passphrase for encryption. The possible values are those t
hat can be returned from syncer::ModelTypeToString in sync/syncable/model_type.c
c.", |
27 "type": "function", | 45 "type": "function", |
28 "parameters": [ | 46 "parameters": [ |
29 { | 47 { |
30 "name": "callback", | 48 "name": "callback", |
31 "type": "function", | 49 "type": "function", |
32 "parameters": [ | 50 "parameters": [ |
33 { | 51 { |
34 "name": "categories", | 52 "name": "categories", |
35 "type": "array", | 53 "type": "array", |
36 "items": {"type": "string"} | 54 "items": {"type": "string"} |
37 } | 55 } |
38 ] | 56 ] |
39 } | 57 } |
40 ] | 58 ] |
41 } | 59 } |
42 ] | 60 ] |
43 } | 61 } |
44 ] | 62 ] |
OLD | NEW |