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

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

Issue 676403002: Sync wallpaper based on sync themes setting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: chrome/common/extensions/api/wallpaper_private.json
diff --git a/chrome/common/extensions/api/wallpaper_private.json b/chrome/common/extensions/api/wallpaper_private.json
index 23159062a8cbd548e454d4e6e4d87e11531dee7b..7ad50f6c6324951f2f8d4c0687cacfd03c3b23d0 100644
--- a/chrome/common/extensions/api/wallpaper_private.json
+++ b/chrome/common/extensions/api/wallpaper_private.json
@@ -38,6 +38,25 @@
]
},
{
+ "name": "getSyncSetting",
+ "type": "function",
+ "description": "Gets the sync themes(and wallpaper on ChromeOS) setting value.",
+ "nodoc": "true",
+ "parameters": [
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": [
+ {
+ "name": "result",
+ "type": "object",
+ "additionalProperties": {"type": "any"}
+ }
+ ]
+ }
+ ]
+ },
+ {
"name": "setWallpaperIfExists",
"type": "function",
"description": "Sets wallpaper if it exists in the local file system with specified layout",

Powered by Google App Engine
This is Rietveld 408576698