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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.h

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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/extensions/wallpaper_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/wallpaper_private_api.h
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.h b/chrome/browser/chromeos/extensions/wallpaper_private_api.h
index 4b3fb0c1b143d6974f3a1131ec037faada8e307b..a5b1c3fae6f4a40d3ab9fc8bee40f6401d978654 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.h
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.h
@@ -27,6 +27,19 @@ class WallpaperPrivateGetStringsFunction : public SyncExtensionFunction {
virtual bool RunSync() override;
};
+// Check if sync themes setting is enabled.
+class WallpaperPrivateGetSyncSettingFunction : public SyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("wallpaperPrivate.getSyncSetting",
+ WALLPAPERPRIVATE_GETSYNCSETTING)
+
+ protected:
+ virtual ~WallpaperPrivateGetSyncSettingFunction() {}
+
+ // SyncExtensionFunction overrides.
+ virtual bool RunSync() override;
+};
+
class WallpaperPrivateSetWallpaperIfExistsFunction
: public WallpaperFunctionBase {
public:
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/extensions/wallpaper_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698