OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 EXTENSIONS_COMMON_CONSTANTS_H_ | 5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ |
6 #define EXTENSIONS_COMMON_CONSTANTS_H_ | 6 #define EXTENSIONS_COMMON_CONSTANTS_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
(...skipping 10 matching lines...) Expand all Loading... |
21 // The name of the messages file inside an extension. | 21 // The name of the messages file inside an extension. |
22 extern const base::FilePath::CharType kMessagesFilename[]; | 22 extern const base::FilePath::CharType kMessagesFilename[]; |
23 | 23 |
24 // The base directory for subdirectories with platform-specific code. | 24 // The base directory for subdirectories with platform-specific code. |
25 extern const base::FilePath::CharType kPlatformSpecificFolder[]; | 25 extern const base::FilePath::CharType kPlatformSpecificFolder[]; |
26 | 26 |
27 // The name of the directory inside the profile where extensions are | 27 // The name of the directory inside the profile where extensions are |
28 // installed to. | 28 // installed to. |
29 extern const char kInstallDirectoryName[]; | 29 extern const char kInstallDirectoryName[]; |
30 | 30 |
| 31 // The name of a temporary directory to install an extension into for |
| 32 // validation before finalizing install. |
| 33 extern const char kTempExtensionName[]; |
| 34 |
| 35 // The file to write our decoded images to, relative to the extension_path. |
| 36 extern const char kDecodedImagesFilename[]; |
| 37 |
| 38 // The file to write our decoded message catalogs to, relative to the |
| 39 // extension_path. |
| 40 extern const char kDecodedMessageCatalogsFilename[]; |
| 41 |
| 42 // The filename to use for a background page generated from |
| 43 // background.scripts. |
| 44 extern const char kGeneratedBackgroundPageFilename[]; |
| 45 |
| 46 // Path to imported modules. |
| 47 extern const char kModulesDir[]; |
| 48 |
| 49 // The file extension (.crx) for extensions. |
| 50 extern const base::FilePath::CharType kExtensionFileExtension[]; |
| 51 |
| 52 // The file extension (.pem) for private key files. |
| 53 extern const base::FilePath::CharType kExtensionKeyFileExtension[]; |
| 54 |
31 } // namespace extensions | 55 } // namespace extensions |
32 | 56 |
33 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 57 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
OLD | NEW |