| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 extern const char* kInvalidOmniboxKeyword; | 165 extern const char* kInvalidOmniboxKeyword; |
| 166 extern const char* kOmniboxExperimental; | 166 extern const char* kOmniboxExperimental; |
| 167 } // namespace extension_manifest_errors | 167 } // namespace extension_manifest_errors |
| 168 | 168 |
| 169 namespace extension_urls { | 169 namespace extension_urls { |
| 170 // The greatest common prefixes of the main extensions gallery's browse and | 170 // The greatest common prefixes of the main extensions gallery's browse and |
| 171 // download URLs. | 171 // download URLs. |
| 172 extern const char* kGalleryBrowsePrefix; | 172 extern const char* kGalleryBrowsePrefix; |
| 173 extern const char* kGalleryDownloadPrefix; | 173 extern const char* kGalleryDownloadPrefix; |
| 174 | 174 |
| 175 // The update url used by gallery/webstore extensions. |
| 176 extern const char* kGalleryUpdateURL; |
| 177 |
| 175 // Same thing for the "minigallery". The minigallery is the temporary static | 178 // Same thing for the "minigallery". The minigallery is the temporary static |
| 176 // themes gallery that we put up when we launched themes. | 179 // themes gallery that we put up when we launched themes. |
| 177 extern const char* kMiniGalleryBrowsePrefix; | 180 extern const char* kMiniGalleryBrowsePrefix; |
| 178 extern const char* kMiniGalleryDownloadPrefix; | 181 extern const char* kMiniGalleryDownloadPrefix; |
| 179 } // namespace extension_urls | 182 } // namespace extension_urls |
| 180 | 183 |
| 181 namespace extension_filenames { | 184 namespace extension_filenames { |
| 182 // The name of a temporary directory to install an extension into for | 185 // The name of a temporary directory to install an extension into for |
| 183 // validation before finalizing install. | 186 // validation before finalizing install. |
| 184 extern const char* kTempExtensionName; | 187 extern const char* kTempExtensionName; |
| 185 | 188 |
| 186 // The file to write our decoded images to, relative to the extension_path. | 189 // The file to write our decoded images to, relative to the extension_path. |
| 187 extern const char* kDecodedImagesFilename; | 190 extern const char* kDecodedImagesFilename; |
| 188 | 191 |
| 189 // The file to write our decoded message catalogs to, relative to the | 192 // The file to write our decoded message catalogs to, relative to the |
| 190 // extension_path. | 193 // extension_path. |
| 191 extern const char* kDecodedMessageCatalogsFilename; | 194 extern const char* kDecodedMessageCatalogsFilename; |
| 192 } | 195 } |
| 193 | 196 |
| 194 namespace extension_misc { | 197 namespace extension_misc { |
| 195 const int kUnknownWindowId = -1; | 198 const int kUnknownWindowId = -1; |
| 196 } // extension_misc | 199 } // extension_misc |
| 197 | 200 |
| 198 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 201 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |