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 "easyUnlockProximityRequired": { | 10 "easyUnlockProximityRequired": { |
11 "nocompile": true, | 11 "nocompile": true, |
12 "$ref": "types.private.ChromeDirectSetting", | 12 "$ref": "types.private.ChromeDirectSetting", |
13 "value": ["easy_unlock.proximity_required", {"type":"boolean"}], | 13 "value": ["easy_unlock.proximity_required", {"type":"boolean"}], |
14 "description": "If true, a remote Easy Unlock device can only unlock the
local device if it is in very close proximity (roughly, within a foot). This pr
eference's value is a boolean, defaulting to <code>false</code>." | 14 "description": "If true, a remote Easy Unlock device can only unlock the
local device if it is in very close proximity (roughly, within a foot). This pr
eference's value is a boolean, defaulting to <code>false</code>." |
15 }, | 15 }, |
16 "googleGeolocationAccessEnabled": { | 16 "googleGeolocationAccessEnabled": { |
17 "nocompile": true, | 17 "nocompile": true, |
18 "$ref": "types.private.ChromeDirectSetting", | 18 "$ref": "types.private.ChromeDirectSetting", |
19 "value": ["googlegeolocationaccess.enabled", {"type":"boolean"}], | 19 "value": ["googlegeolocationaccess.enabled", {"type":"boolean"}], |
20 "description": "If enabled, Google services can access the user's locati
on. This preference's value is a boolean, defaulting to <code>false</code>." | 20 "description": "If enabled, Google services can access the user's locati
on. This preference's value is a boolean, defaulting to <code>false</code>." |
21 }, | 21 }, |
22 "spdyProxyEnabled": { | |
23 "nocompile": true, | |
24 "$ref": "types.private.ChromeDirectSetting", | |
25 "value": ["spdy_proxy.enabled", {"type":"boolean"}], | |
26 "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>." | |
27 }, | |
28 "dataReductionDailyContentLength": { | |
29 "nocompile": true, | |
30 "$ref": "types.private.ChromeDirectSetting", | |
31 "value": ["data_reduction.daily_original_length", {"type":"array"}], | |
32 "description": "Each item contains the number uncompressed bytes through
data reduction proxy per day." | |
33 }, | |
34 "dataReductionDailyReceivedLength": { | |
35 "nocompile": true, | |
36 "$ref": "types.private.ChromeDirectSetting", | |
37 "value": ["data_reduction.daily_received_length", {"type":"array"}], | |
38 "description": "Each item contains the number of compressed bytes throug
h data reduction proxy per day." | |
39 }, | |
40 "dataReductionUpdateDailyLengths": { | 22 "dataReductionUpdateDailyLengths": { |
41 "nocompile": true, | 23 "nocompile": true, |
42 "$ref": "types.private.ChromeDirectSetting", | 24 "$ref": "types.private.ChromeDirectSetting", |
43 "value": ["data_reduction.update_daily_lengths", {"type":"boolean"}], | 25 "value": ["data_reduction.update_daily_lengths", {"type":"boolean"}], |
44 "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>." | 26 "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>." |
45 } | 27 } |
46 }, | 28 }, |
47 "functions": [ | 29 "functions": [ |
48 { | 30 { |
49 "name": "getSyncCategoriesWithoutPassphrase", | 31 "name": "getSyncCategoriesWithoutPassphrase", |
50 "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.", | 32 "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.", |
51 "type": "function", | 33 "type": "function", |
52 "parameters": [ | 34 "parameters": [ |
53 { | 35 { |
54 "name": "callback", | 36 "name": "callback", |
55 "type": "function", | 37 "type": "function", |
56 "parameters": [ | 38 "parameters": [ |
57 { | 39 { |
58 "name": "categories", | 40 "name": "categories", |
59 "type": "array", | 41 "type": "array", |
60 "items": {"type": "string"} | 42 "items": {"type": "string"} |
61 } | 43 } |
62 ] | 44 ] |
63 } | 45 } |
64 ] | 46 ] |
65 } | 47 } |
66 ] | 48 ] |
67 } | 49 } |
68 ] | 50 ] |
OLD | NEW |