diff options
author | yoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-23 21:25:16 +0000 |
---|---|---|
committer | yoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-23 21:25:16 +0000 |
commit | 993da5e316353bf36dc27df8e01e91b36ad3cab1 (patch) | |
tree | 1962a24c54d212e1d459eb3f58c8f2e478cc2e6c /extensions/common/constants.h | |
parent | 5799a694a40b1c443788df56aa749d1c059577fd (diff) | |
download | chromium_src-993da5e316353bf36dc27df8e01e91b36ad3cab1.zip chromium_src-993da5e316353bf36dc27df8e01e91b36ad3cab1.tar.gz chromium_src-993da5e316353bf36dc27df8e01e91b36ad3cab1.tar.bz2 |
Move CrxFile, FileReader, ExtensionResource to src/extensions.
Also move ExtensionResource to extensions namespace.
Also clean up the GenerateId and ShouldLocalizeManfest interfaces.
BUG=159265
Review URL: https://chromiumcodereview.appspot.com/12578008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190078 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/constants.h')
-rw-r--r-- | extensions/common/constants.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extensions/common/constants.h b/extensions/common/constants.h index f601b38..31a4985 100644 --- a/extensions/common/constants.h +++ b/extensions/common/constants.h @@ -5,11 +5,25 @@ #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ #define EXTENSIONS_COMMON_CONSTANTS_H_ +#include "base/files/file_path.h" + namespace extensions { // Scheme we serve extension content from. extern const char kExtensionScheme[]; + // The name of the manifest inside an extension. +extern const base::FilePath::CharType kManifestFilename[]; + + // The name of locale folder inside an extension. +extern const base::FilePath::CharType kLocaleFolder[]; + + // The name of the messages file inside an extension. +extern const base::FilePath::CharType kMessagesFilename[]; + +// The base directory for subdirectories with platform-specific code. +extern const base::FilePath::CharType kPlatformSpecificFolder[]; + } // namespace extensions #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |