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

Side by Side Diff: chrome/browser/resources/chromeos/wallpaper_manager/js/constants.js

Issue 2944703004: Run clang-format on .js files in c/b/r/chromeos (Closed)
Patch Set: Created 3 years, 6 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
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.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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 /** 56 /**
57 * cros-wallpaper namespace URI. 57 * cros-wallpaper namespace URI.
58 */ 58 */
59 WallpaperNameSpaceURI: 'http://commondatastorage.googleapis.com/' + 59 WallpaperNameSpaceURI: 'http://commondatastorage.googleapis.com/' +
60 'chromeos-wallpaper-public/cros-wallpaper-uri', 60 'chromeos-wallpaper-public/cros-wallpaper-uri',
61 61
62 /** 62 /**
63 * Wallpaper sources enum. 63 * Wallpaper sources enum.
64 */ 64 */
65 WallpaperSourceEnum: { 65 WallpaperSourceEnum: {
66 Online: 'ONLINE', 66 Online: 'ONLINE',
67 Daily: 'DAILY', 67 Daily: 'DAILY',
68 OEM: 'OEM', 68 OEM: 'OEM',
69 Custom: 'CUSTOM', 69 Custom: 'CUSTOM',
70 ThirdParty: 'THIRDPARTY', 70 ThirdParty: 'THIRDPARTY',
71 AddNew: 'ADDNEW', 71 AddNew: 'ADDNEW',
72 Default: 'DEFAULT' 72 Default: 'DEFAULT'
73 }, 73 },
74 74
75 /** 75 /**
76 * Local storage. 76 * Local storage.
77 */ 77 */
78 WallpaperLocalStorage: chrome.storage.local, 78 WallpaperLocalStorage: chrome.storage.local,
79 79
80 /** 80 /**
81 * Sync storage. 81 * Sync storage.
82 */ 82 */
83 WallpaperSyncStorage: chrome.storage.sync, 83 WallpaperSyncStorage: chrome.storage.sync,
84 84
85 /** 85 /**
86 * Suffix to append to file name if it is a thumbnail. 86 * Suffix to append to file name if it is a thumbnail.
87 */ 87 */
88 CustomWallpaperThumbnailSuffix: '_thumbnail', 88 CustomWallpaperThumbnailSuffix: '_thumbnail',
89 89
90 /** 90 /**
91 * Wallpaper directory enum. 91 * Wallpaper directory enum.
92 */ 92 */
93 WallpaperDirNameEnum: { 93 WallpaperDirNameEnum: {ORIGINAL: 'original', THUMBNAIL: 'thumbnail'},
94 ORIGINAL: 'original',
95 THUMBNAIL: 'thumbnail'
96 },
97 94
98 /** 95 /**
99 * The filename prefix for a third party wallpaper. 96 * The filename prefix for a third party wallpaper.
100 */ 97 */
101 ThirdPartyWallpaperPrefix: 'third_party_' 98 ThirdPartyWallpaperPrefix: 'third_party_'
102 }; 99 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698