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

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: 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..c7a146f815e758f59c7ac55a3541003b95600fb3 100644
--- a/chrome/common/extensions/api/preferences_private.json
+++ b/chrome/common/extensions/api/preferences_private.json
@@ -12,6 +12,26 @@
"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",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "categories",
+ "type": "array",
+ "items": {"type": "string"}
+ }
+ ]
+ }
+ ]
+ }
+ ]
}
]

Powered by Google App Engine
This is Rietveld 408576698