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

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

Issue 118413003: Add hook for extension to check sync status. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: NULL check' Created 7 years 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
Index: chrome/common/extensions/api/preferences_private.json
diff --git a/chrome/common/extensions/api/preferences_private.json b/chrome/common/extensions/api/preferences_private.json
index 4ceeb5fafe3b011aeb4f0658da0b6b3f70b4bd66..b6830d9677e42db4360f8508b8943ba0ac7e3201 100644
--- a/chrome/common/extensions/api/preferences_private.json
+++ b/chrome/common/extensions/api/preferences_private.json
@@ -8,10 +8,31 @@
"description": "none",
"properties": {
"googleGeolocationAccessEnabled": {
+ "nocompile": true,
"$ref": "types.private.ChromeDirectSetting",
"value": ["googlegeolocationaccess.enabled", {"type":"boolean"}],
"description": "If enabled, Google services can access the user's location. This preference's value is a boolean, defaulting to <code>false</code>."
}
- }
+ },
+ "functions": [
+ {
+ "name": "getSyncCategoriesWithoutPassphrase",
+ "description": "Returns a list of sync categories the user has enabled without using a custom passphrase for encryption",
Jeffrey Yasskin 2013/12/19 23:47:24 Please document the list of possible category stri
+ "type": "function",
+ "parameters": [
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "categories",
+ "type": "array",
+ "items": {"type": "string"}
+ }
+ ]
+ }
+ ]
+ }
+ ]
}
]
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/test/data/extensions/api_test/preferences_private/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698