diff options
author | Ben Murdoch <benm@google.com> | 2013-07-24 10:36:34 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2013-07-24 10:36:34 +0100 |
commit | a3f7b4e666c476898878fa745f637129375cd889 (patch) | |
tree | 1d78b48780e4c8603c226fd88d8f4b786f00bb81 /extensions | |
parent | d4336a7d5c149891bede0c3201c8e831520067af (diff) | |
download | chromium_org-a3f7b4e666c476898878fa745f637129375cd889.tar.gz |
Merge from Chromium at DEPS revision r213371
This commit was generated by merge_to_master.py.
Change-Id: I35a74205de4bff52a2dd6b15330f8a002a39efaf
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/common/constants.cc | 20 | ||||
-rw-r--r-- | extensions/common/constants.h | 24 |
2 files changed, 43 insertions, 1 deletions
diff --git a/extensions/common/constants.cc b/extensions/common/constants.cc index f84386a589..b73906121f 100644 --- a/extensions/common/constants.cc +++ b/extensions/common/constants.cc @@ -4,6 +4,8 @@ #include "extensions/common/constants.h" +#include "base/files/file_path.h" + namespace extensions { const char kExtensionScheme[] = "chrome-extension"; @@ -19,4 +21,20 @@ const base::FilePath::CharType kPlatformSpecificFolder[] = const char kInstallDirectoryName[] = "Extensions"; -} // namespace extensions +const char kTempExtensionName[] = "CRX_INSTALL"; + +const char kDecodedImagesFilename[] = "DECODED_IMAGES"; + +const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS"; + +const char kGeneratedBackgroundPageFilename[] = + "_generated_background_page.html"; + +const char kModulesDir[] = "_modules"; + +const base::FilePath::CharType kExtensionFileExtension[] = + FILE_PATH_LITERAL(".crx"); +const base::FilePath::CharType kExtensionKeyFileExtension[] = + FILE_PATH_LITERAL(".pem"); + +} // namespace extensions diff --git a/extensions/common/constants.h b/extensions/common/constants.h index aeb9e674ac..492ddbc27b 100644 --- a/extensions/common/constants.h +++ b/extensions/common/constants.h @@ -28,6 +28,30 @@ extern const base::FilePath::CharType kPlatformSpecificFolder[]; // installed to. extern const char kInstallDirectoryName[]; +// The name of a temporary directory to install an extension into for +// validation before finalizing install. +extern const char kTempExtensionName[]; + +// The file to write our decoded images to, relative to the extension_path. +extern const char kDecodedImagesFilename[]; + +// The file to write our decoded message catalogs to, relative to the +// extension_path. +extern const char kDecodedMessageCatalogsFilename[]; + +// The filename to use for a background page generated from +// background.scripts. +extern const char kGeneratedBackgroundPageFilename[]; + +// Path to imported modules. +extern const char kModulesDir[]; + +// The file extension (.crx) for extensions. +extern const base::FilePath::CharType kExtensionFileExtension[]; + +// The file extension (.pem) for private key files. +extern const base::FilePath::CharType kExtensionKeyFileExtension[]; + } // namespace extensions #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |