OLD | NEW |
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', |
(...skipping 25 matching lines...) Expand all Loading... |
36 AccessSurpriseMeEnabledKey: 'surprise-me-enabled-key', | 36 AccessSurpriseMeEnabledKey: 'surprise-me-enabled-key', |
37 | 37 |
38 /** | 38 /** |
39 * Suffix to append to baseURL if requesting high resoultion wallpaper. | 39 * Suffix to append to baseURL if requesting high resoultion wallpaper. |
40 */ | 40 */ |
41 HighResolutionSuffix: '_high_resolution.jpg', | 41 HighResolutionSuffix: '_high_resolution.jpg', |
42 | 42 |
43 /** | 43 /** |
44 * URL to get latest wallpaper RSS feed. | 44 * URL to get latest wallpaper RSS feed. |
45 */ | 45 */ |
46 WallpaperRssURL: 'https://commondatastorage.googleapis.com/' + | 46 WallpaperRssURL: 'https://storage.googleapis.com/' + |
47 'chromeos-wallpaper-public/wallpaper.rss', | 47 'chromeos-wallpaper-public/wallpaper.rss', |
48 | 48 |
49 /** | 49 /** |
50 * cros-wallpaper namespace URI. | 50 * cros-wallpaper namespace URI. |
51 */ | 51 */ |
52 WallpaperNameSpaceURI: 'http://commondatastorage.googleapis.com/' + | 52 WallpaperNameSpaceURI: 'http://commondatastorage.googleapis.com/' + |
53 'chromeos-wallpaper-public/cros-wallpaper-uri', | 53 'chromeos-wallpaper-public/cros-wallpaper-uri', |
54 | 54 |
55 /** | 55 /** |
56 * Wallpaper sources enum. | 56 * Wallpaper sources enum. |
57 */ | 57 */ |
58 WallpaperSourceEnum: { | 58 WallpaperSourceEnum: { |
59 Online: 'ONLINE', | 59 Online: 'ONLINE', |
60 OEM: 'OEM', | 60 OEM: 'OEM', |
61 Custom: 'CUSTOM', | 61 Custom: 'CUSTOM', |
62 AddNew: 'ADDNEW' | 62 AddNew: 'ADDNEW' |
63 }, | 63 }, |
64 | 64 |
65 /** | 65 /** |
66 * Local storage. | 66 * Local storage. |
67 */ | 67 */ |
68 WallpaperLocalStorage: chrome.storage.local, | 68 WallpaperLocalStorage: chrome.storage.local, |
69 | 69 |
70 /** | 70 /** |
71 * Sync storage. | 71 * Sync storage. |
72 */ | 72 */ |
73 WallpaperSyncStorage: chrome.storage.sync | 73 WallpaperSyncStorage: chrome.storage.sync |
74 }; | 74 }; |
OLD | NEW |