OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 [ | |
6 { | |
7 "namespace": "settingsPrivate", | |
8 "description": "none", | |
9 "platforms": ["chromeos", "win", "mac", "linux"], | |
10 "properties": { | |
11 }, | |
12 "functions": [ | |
13 { | |
14 "name": "setBooleanPref", | |
15 "description": "Sets a boolean settings value.", | |
16 "parameters": [ | |
17 { | |
18 "name": "name", | |
19 "type": "string" | |
20 }, | |
21 { | |
22 "name": "value", | |
23 "type": "boolean" | |
24 } | |
25 ] | |
26 }, | |
27 { | |
28 "name": "setNumericPref", | |
29 "description": "Sets a number settings value.", | |
30 "parameters": [ | |
31 { | |
32 "name": "name", | |
33 "type": "string" | |
34 }, | |
35 { | |
36 "name": "value", | |
37 "type": "number" | |
38 } | |
39 ] | |
40 }, | |
41 { | |
42 "name": "setStringPref", | |
43 "description": "Sets a string settings value.", | |
44 "parameters": [ | |
45 { | |
46 "name": "name", | |
47 "type": "string" | |
48 }, | |
49 { | |
50 "name": "value", | |
51 "type": "string" | |
52 } | |
53 ] | |
54 }, | |
55 { | |
56 "name": "getAllPrefs", | |
57 "description": "Gets all the prefs in one dictionary.", | |
stevenjb
2015/03/18 00:01:04
I think that rather than return an Object, the cal
| |
58 "parameters": [] | |
59 } | |
60 ] | |
61 } | |
62 ] | |
OLD | NEW |