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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 /** @const */ var Constants = { 6 /** @const */ var Constants = {
7 /** 7 /**
8 * Key to access wallpaper rss in chrome.local.storage. 8 * Key to access wallpaper rss in chrome.local.storage.
9 */ 9 */
10 AccessRssKey: 'wallpaper-picker-surprise-rss-key', 10 AccessRssKey: 'wallpaper-picker-surprise-rss-key',
11 11
12 /** 12 /**
13 * Key to access wallpaper manifest in chrome.local.storage. 13 * Key to access wallpaper manifest in chrome.storage.local.
14 */ 14 */
15 AccessManifestKey: 'wallpaper-picker-manifest-key', 15 AccessManifestKey: 'wallpaper-picker-manifest-key',
16 16
17 /** 17 /**
18 * Key to access user wallpaper info in chrome.storage.local.
19 */
20 AccessLocalWallpaperInfoKey: 'wallpaper-local-info-key',
21
22 /**
23 * Key to access user wallpaper info in chrome.storage.sync.
24 */
25 AccessSyncWallpaperInfoKey: 'wallpaper-sync-info-key',
26
27 /**
18 * Key to access last changed date of a surprise wallpaper. 28 * Key to access last changed date of a surprise wallpaper.
19 */ 29 */
20 AccessLastSurpriseWallpaperChangedDate: 'wallpaper-last-changed-date-key', 30 AccessLastSurpriseWallpaperChangedDate: 'wallpaper-last-changed-date-key',
21 31
22 /** 32 /**
23 * Key to access if surprise me feature is enabled or not in 33 * Key to access if surprise me feature is enabled or not in
24 * chrome.local.storage. 34 * chrome.local.storage.
25 */ 35 */
26 AccessSurpriseMeEnabledKey: 'surprise-me-enabled-key', 36 AccessSurpriseMeEnabledKey: 'surprise-me-enabled-key',
27 37
(...skipping 19 matching lines...) Expand all
47 */ 57 */
48 WallpaperSourceEnum: { 58 WallpaperSourceEnum: {
49 Online: 'ONLINE', 59 Online: 'ONLINE',
50 Custom: 'CUSTOM', 60 Custom: 'CUSTOM',
51 AddNew: 'ADDNEW' 61 AddNew: 'ADDNEW'
52 }, 62 },
53 63
54 /** 64 /**
55 * Local storage. 65 * Local storage.
56 */ 66 */
57 WallpaperLocalStorage: chrome.storage.local 67 WallpaperLocalStorage: chrome.storage.local,
68
69 /**
70 * Sync storage.
71 */
72 WallpaperSyncStorage: chrome.storage.sync
58 }; 73 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698