OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
7 | 7 |
8 // Keys used in JSON representation of extensions. | 8 // Keys used in JSON representation of extensions. |
9 namespace extension_manifest_keys { | 9 namespace extension_manifest_keys { |
10 extern const wchar_t* kAllFrames; | 10 extern const wchar_t* kAllFrames; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 extern const char* kInvalidThemeTints; | 137 extern const char* kInvalidThemeTints; |
138 extern const char* kInvalidWebContentEnabled; | 138 extern const char* kInvalidWebContentEnabled; |
139 extern const char* kInvalidWebOrigin; | 139 extern const char* kInvalidWebOrigin; |
140 extern const char* kInvalidWebPaths; | 140 extern const char* kInvalidWebPaths; |
141 extern const char* kInvalidWebPath; | 141 extern const char* kInvalidWebPath; |
142 extern const char* kOneUISurfaceOnly; | 142 extern const char* kOneUISurfaceOnly; |
143 extern const char* kThemesCannotContainExtensions; | 143 extern const char* kThemesCannotContainExtensions; |
144 extern const char* kManifestParseError; | 144 extern const char* kManifestParseError; |
145 extern const char* kManifestUnreadable; | 145 extern const char* kManifestUnreadable; |
146 extern const char* kMissingFile; | 146 extern const char* kMissingFile; |
| 147 extern const char* kMultipleOverrides; |
147 extern const char* kInvalidUpdateURL; | 148 extern const char* kInvalidUpdateURL; |
148 extern const char* kInvalidDefaultLocale; | 149 extern const char* kInvalidDefaultLocale; |
149 extern const char* kLaunchContainerWithoutURL; | 150 extern const char* kLaunchContainerWithoutURL; |
150 extern const char* kLaunchPathAndURLAreExclusive; | 151 extern const char* kLaunchPathAndURLAreExclusive; |
151 extern const char* kLocalesNoDefaultLocaleSpecified; | 152 extern const char* kLocalesNoDefaultLocaleSpecified; |
152 extern const char* kLocalesNoDefaultMessages; | 153 extern const char* kLocalesNoDefaultMessages; |
153 extern const char* kLocalesNoValidLocaleNamesListed; | 154 extern const char* kLocalesNoValidLocaleNamesListed; |
154 extern const char* kLocalesTreeMissing; | 155 extern const char* kLocalesTreeMissing; |
155 extern const char* kLocalesMessagesFileMissing; | 156 extern const char* kLocalesMessagesFileMissing; |
156 extern const char* kInvalidOptionsPage; | 157 extern const char* kInvalidOptionsPage; |
157 extern const char* kReservedMessageFound; | 158 extern const char* kReservedMessageFound; |
158 extern const char* kCannotAccessPage; | 159 extern const char* kCannotAccessPage; |
159 extern const char* kCannotScriptGallery; | 160 extern const char* kCannotScriptGallery; |
160 extern const char* kWebContentMustBeEnabled; | 161 extern const char* kWebContentMustBeEnabled; |
161 } // namespace extension_manifest_errors | 162 } // namespace extension_manifest_errors |
162 | 163 |
163 namespace extension_urls { | 164 namespace extension_urls { |
164 // The greatest common prefixes of the main extensions gallery's browse and | 165 // The greatest common prefixes of the main extensions gallery's browse and |
165 // download URLs. | 166 // download URLs. |
166 extern const char* kGalleryBrowsePrefix; | 167 extern const char* kGalleryBrowsePrefix; |
167 extern const char* kGalleryDownloadPrefix; | 168 extern const char* kGalleryDownloadPrefix; |
168 | 169 |
169 // Same thing for the "minigallery". The minigallery is the temporary static | 170 // Same thing for the "minigallery". The minigallery is the temporary static |
170 // themes gallery that we put up when we launched themes. | 171 // themes gallery that we put up when we launched themes. |
171 extern const char* kMiniGalleryBrowsePrefix; | 172 extern const char* kMiniGalleryBrowsePrefix; |
172 extern const char* kMiniGalleryDownloadPrefix; | 173 extern const char* kMiniGalleryDownloadPrefix; |
173 } // namespace extension_urls | 174 } // namespace extension_urls |
174 | 175 |
175 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 176 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |