Chromium Code Reviews| 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 24 matching lines...) Expand all Loading... | |
| 35 * chrome.storage.local. | 35 * chrome.storage.local. |
| 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 /* | |
| 46 * Key to access the third party app name in chrome.storage.local. | |
| 47 */ | |
| 48 AccessLocalThirdPartyAppName: 'local-third-party-app-name-key', | |
|
tbarzic
2016/02/02 20:59:38
why don't you keep this with other wallpaper info,
xdai1
2016/02/04 01:46:33
Good point. Done.
| |
| 49 | |
| 50 /** | |
| 51 * Key to access the third party app name in chrome.storage.sync. | |
| 52 */ | |
| 53 AccessSyncThirdPartyAppName: 'sync-third-party-app-name-key', | |
| 54 | |
| 45 /** | 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', |
| (...skipping 36 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 |