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/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 // The name of locale folder inside an extension. | 22 // The name of locale folder inside an extension. |
23 extern const base::FilePath::CharType kLocaleFolder[]; | 23 extern const base::FilePath::CharType kLocaleFolder[]; |
24 | 24 |
25 // The name of the messages file inside an extension. | 25 // The name of the messages file inside an extension. |
26 extern const base::FilePath::CharType kMessagesFilename[]; | 26 extern const base::FilePath::CharType kMessagesFilename[]; |
27 | 27 |
28 // The base directory for subdirectories with platform-specific code. | 28 // The base directory for subdirectories with platform-specific code. |
29 extern const base::FilePath::CharType kPlatformSpecificFolder[]; | 29 extern const base::FilePath::CharType kPlatformSpecificFolder[]; |
30 | 30 |
| 31 // A directory reserved for metadata, generated either by the webstore |
| 32 // or chrome. |
| 33 extern const base::FilePath::CharType kMetadataFolder[]; |
| 34 |
| 35 // Name of the verified contents file within the metadata folder. |
| 36 extern const base::FilePath::CharType kVerifiedContentsFilename[]; |
| 37 |
| 38 // Name of the computed hashes file within the metadata folder. |
| 39 extern const base::FilePath::CharType kComputedHashesFilename[]; |
| 40 |
31 // The name of the directory inside the profile where extensions are | 41 // The name of the directory inside the profile where extensions are |
32 // installed to. | 42 // installed to. |
33 extern const char kInstallDirectoryName[]; | 43 extern const char kInstallDirectoryName[]; |
34 | 44 |
35 // The name of a temporary directory to install an extension into for | 45 // The name of a temporary directory to install an extension into for |
36 // validation before finalizing install. | 46 // validation before finalizing install. |
37 extern const char kTempExtensionName[]; | 47 extern const char kTempExtensionName[]; |
38 | 48 |
39 // The file to write our decoded images to, relative to the extension_path. | 49 // The file to write our decoded images to, relative to the extension_path. |
40 extern const char kDecodedImagesFilename[]; | 50 extern const char kDecodedImagesFilename[]; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 extern const int kExtensionIconSizes[]; | 135 extern const int kExtensionIconSizes[]; |
126 extern const size_t kNumExtensionIconSizes; | 136 extern const size_t kNumExtensionIconSizes; |
127 | 137 |
128 // List of sizes for extension icons that can be defined in the manifest. | 138 // List of sizes for extension icons that can be defined in the manifest. |
129 extern const int kExtensionActionIconSizes[]; | 139 extern const int kExtensionActionIconSizes[]; |
130 extern const size_t kNumExtensionActionIconSizes; | 140 extern const size_t kNumExtensionActionIconSizes; |
131 | 141 |
132 } // namespace extension_misc | 142 } // namespace extension_misc |
133 | 143 |
134 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 144 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
OLD | NEW |