Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(697)

Unified Diff: chrome/common/extensions/api/settings_private.json

Issue 1015623005: chrome.settingsPrivate: Basic stub implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to initial comments. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/api/schemas.gypi ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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": []
+ }
+ ]
+ }
+]
« no previous file with comments | « chrome/common/extensions/api/schemas.gypi ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698