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

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: add comment Created 7 years, 7 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 | « no previous file | chrome/browser/resources/chromeos/wallpaper_manager/js/event_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
};
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/wallpaper_manager/js/event_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698