| 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.storage.local. | 8 * Key to access wallpaper rss in chrome.storage.local. |
| 9 */ | 9 */ |
| 10 AccessLocalRssKey: 'wallpaper-picker-surprise-rss-key', | 10 AccessLocalRssKey: 'wallpaper-picker-surprise-rss-key', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 */ | 36 */ |
| 37 AccessLocalSurpriseMeEnabledKey: 'surprise-me-enabled-key', | 37 AccessLocalSurpriseMeEnabledKey: 'surprise-me-enabled-key', |
| 38 | 38 |
| 39 /** | 39 /** |
| 40 * Key to access if surprise me feature is enabled or not in | 40 * Key to access if surprise me feature is enabled or not in |
| 41 * chrome.storage.sync. | 41 * chrome.storage.sync. |
| 42 */ | 42 */ |
| 43 AccessSyncSurpriseMeEnabledKey: 'sync-surprise-me-enabled-key', | 43 AccessSyncSurpriseMeEnabledKey: 'sync-surprise-me-enabled-key', |
| 44 | 44 |
| 45 /** | 45 /** |
| 46 * Key to access the third party app name in chrome.storage.sync. |
| 47 */ |
| 48 AccessSyncThirdPartyAppName: 'sync-third-party-app-name-key', |
| 49 |
| 50 /** |
| 51 * Key to access the third party app name in chrome.storage.local. |
| 52 */ |
| 53 AccessLocalThirdPartyAppName: 'local-third-party-app-name-key', |
| 54 |
| 55 /** |
| 46 * Suffix to append to baseURL if requesting high resoultion wallpaper. | 56 * Suffix to append to baseURL if requesting high resoultion wallpaper. |
| 47 */ | 57 */ |
| 48 HighResolutionSuffix: '_high_resolution.jpg', | 58 HighResolutionSuffix: '_high_resolution.jpg', |
| 49 | 59 |
| 50 /** | 60 /** |
| 51 * URL to get latest wallpaper RSS feed. | 61 * URL to get latest wallpaper RSS feed. |
| 52 */ | 62 */ |
| 53 WallpaperRssURL: 'https://storage.googleapis.com/' + | 63 WallpaperRssURL: 'https://storage.googleapis.com/' + |
| 54 'chromeos-wallpaper-public/wallpaper.rss', | 64 'chromeos-wallpaper-public/wallpaper.rss', |
| 55 | 65 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 WallpaperDirNameEnum: { | 101 WallpaperDirNameEnum: { |
| 92 ORIGINAL: 'original', | 102 ORIGINAL: 'original', |
| 93 THUMBNAIL: 'thumbnail' | 103 THUMBNAIL: 'thumbnail' |
| 94 }, | 104 }, |
| 95 | 105 |
| 96 /** | 106 /** |
| 97 * The filename prefix for a third party wallpaper. | 107 * The filename prefix for a third party wallpaper. |
| 98 */ | 108 */ |
| 99 ThirdPartyWallpaperPrefix: 'third_party_' | 109 ThirdPartyWallpaperPrefix: 'third_party_' |
| 100 }; | 110 }; |
| OLD | NEW |