Index: chrome/common/extensions/api/settings_private.json |
diff --git a/chrome/common/extensions/api/settings_private.json b/chrome/common/extensions/api/settings_private.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cbb6b0f63251ab6daa12fe5a9b754d6ffc9b1a32 |
--- /dev/null |
+++ b/chrome/common/extensions/api/settings_private.json |
@@ -0,0 +1,62 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[ |
+ { |
+ "namespace": "settingsPrivate", |
+ "description": "none", |
+ "platforms": ["chromeos", "win", "mac", "linux"], |
+ "properties": { |
+ }, |
+ "functions": [ |
+ { |
+ "name": "setBooleanPref", |
+ "description": "Sets a boolean settings value.", |
+ "parameters": [ |
+ { |
+ "name": "name", |
+ "type": "string" |
+ }, |
+ { |
+ "name": "value", |
+ "type": "boolean" |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "setNumericPref", |
+ "description": "Sets a number settings value.", |
+ "parameters": [ |
+ { |
+ "name": "name", |
+ "type": "string" |
+ }, |
+ { |
+ "name": "value", |
+ "type": "number" |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "setStringPref", |
+ "description": "Sets a string settings value.", |
+ "parameters": [ |
+ { |
+ "name": "name", |
+ "type": "string" |
+ }, |
+ { |
+ "name": "value", |
+ "type": "string" |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "getAllPrefs", |
+ "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
|
+ "parameters": [] |
+ } |
+ ] |
+ } |
+] |