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 "$ref": "types.private.ChromeDirectSetting", | 12 "$ref": "types.private.ChromeDirectSetting", |
12 "value": ["googlegeolocationaccess.enabled", {"type":"boolean"}], | 13 "value": ["googlegeolocationaccess.enabled", {"type":"boolean"}], |
13 "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>." |
14 } | 15 } |
15 } | 16 }, |
17 "functions": [ | |
18 { | |
19 "name": "getSyncCategoriesWithoutPassphrase", | |
20 "description": "Returns a list of sync categories the user has enabled w ithout using a custom passphrase for encryption", | |
Jeffrey Yasskin
2013/12/19 23:47:24
Please document the list of possible category stri
| |
21 "type": "function", | |
22 "parameters": [ | |
23 { | |
24 "name": "callback", | |
25 "type": "function", | |
26 "parameters": [ | |
27 { | |
28 "name": "categories", | |
29 "type": "array", | |
30 "items": {"type": "string"} | |
31 } | |
32 ] | |
33 } | |
34 ] | |
35 } | |
36 ] | |
16 } | 37 } |
17 ] | 38 ] |
OLD | NEW |