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

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: sync wallpaper 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.local.storage.
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.sync
19 */
20 AccessWallpaperInfoKey: 'wallpaper-info-key',
21
22 /**
18 * Key to access last changed date of a surprise wallpaper. 23 * Key to access last changed date of a surprise wallpaper.
19 */ 24 */
20 AccessLastSurpriseWallpaperChangedDate: 'wallpaper-last-changed-date-key', 25 AccessLastSurpriseWallpaperChangedDate: 'wallpaper-last-changed-date-key',
21 26
22 /** 27 /**
23 * Key to access if surprise me feature is enabled or not in 28 * Key to access if surprise me feature is enabled or not in
24 * chrome.local.storage. 29 * chrome.local.storage.
25 */ 30 */
26 AccessSurpriseMeEnabledKey: 'surprise-me-enabled-key', 31 AccessSurpriseMeEnabledKey: 'surprise-me-enabled-key',
27 32
(...skipping 19 matching lines...) Expand all
47 */ 52 */
48 WallpaperSourceEnum: { 53 WallpaperSourceEnum: {
49 Online: 'ONLINE', 54 Online: 'ONLINE',
50 Custom: 'CUSTOM', 55 Custom: 'CUSTOM',
51 AddNew: 'ADDNEW' 56 AddNew: 'ADDNEW'
52 }, 57 },
53 58
54 /** 59 /**
55 * Local storage. 60 * Local storage.
56 */ 61 */
57 WallpaperLocalStorage: chrome.storage.local 62 WallpaperLocalStorage: chrome.storage.local,
63
64 /**
65 * Sync storage.
66 */
67 WallpaperSyncStorage: chrome.storage.sync
58 }; 68 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698