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

Unified Diff: chrome/browser/resources/chromeos/wallpaper_manager/js/constants.js

Issue 14416017: Sync online wallpaper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 7 years, 8 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/browser/resources/chromeos/wallpaper_manager/js/constants.js
diff --git a/chrome/browser/resources/chromeos/wallpaper_manager/js/constants.js b/chrome/browser/resources/chromeos/wallpaper_manager/js/constants.js
index 6c431c412686c9feb72f9909557b0b0765e078f1..9a6cb3818c342a24c58dda9fa9c3460c59afd491 100644
--- a/chrome/browser/resources/chromeos/wallpaper_manager/js/constants.js
+++ b/chrome/browser/resources/chromeos/wallpaper_manager/js/constants.js
@@ -10,11 +10,21 @@
AccessRssKey: 'wallpaper-picker-surprise-rss-key',
/**
- * Key to access wallpaper manifest in chrome.local.storage.
+ * Key to access wallpaper manifest in chrome.storage.local.
*/
AccessManifestKey: 'wallpaper-picker-manifest-key',
/**
+ * Key to access user wallpaper info in chrome.storage.local.
+ */
+ AccessLocalWallpaperInfoKey: 'wallpaper-local-info-key',
+
+ /**
+ * Key to access user wallpaper info in chrome.storage.sync.
+ */
+ AccessSyncWallpaperInfoKey: 'wallpaper-sync-info-key',
+
+ /**
* Key to access last changed date of a surprise wallpaper.
*/
AccessLastSurpriseWallpaperChangedDate: 'wallpaper-last-changed-date-key',
@@ -54,5 +64,10 @@
/**
* Local storage.
*/
- WallpaperLocalStorage: chrome.storage.local
+ WallpaperLocalStorage: chrome.storage.local,
+
+ /**
+ * Sync storage.
+ */
+ WallpaperSyncStorage: chrome.storage.sync
};

Powered by Google App Engine
This is Rietveld 408576698