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 3// found in the LICENSE file. 4 5#ifndef EXTENSIONS_COMMON_CONSTANTS_H_ 6#define EXTENSIONS_COMMON_CONSTANTS_H_ 7 8#include "base/files/file_path.h" 9 10namespace extensions { 11 12// Scheme we serve extension content from. 13extern const char kExtensionScheme[]; 14 15 // The name of the manifest inside an extension. 16extern const base::FilePath::CharType kManifestFilename[]; 17 18 // The name of locale folder inside an extension. 19extern const base::FilePath::CharType kLocaleFolder[]; 20 21 // The name of the messages file inside an extension. 22extern const base::FilePath::CharType kMessagesFilename[]; 23 24// The base directory for subdirectories with platform-specific code. 25extern const base::FilePath::CharType kPlatformSpecificFolder[]; 26 27// The name of the directory inside the profile where extensions are 28// installed to. 29extern const char kInstallDirectoryName[]; 30 31// The name of a temporary directory to install an extension into for 32// validation before finalizing install. 33extern const char kTempExtensionName[]; 34 35// The file to write our decoded images to, relative to the extension_path. 36extern const char kDecodedImagesFilename[]; 37 38// The file to write our decoded message catalogs to, relative to the 39// extension_path. 40extern const char kDecodedMessageCatalogsFilename[]; 41 42// The filename to use for a background page generated from 43// background.scripts. 44extern const char kGeneratedBackgroundPageFilename[]; 45 46// Path to imported modules. 47extern const char kModulesDir[]; 48 49// The file extension (.crx) for extensions. 50extern const base::FilePath::CharType kExtensionFileExtension[]; 51 52// The file extension (.pem) for private key files. 53extern const base::FilePath::CharType kExtensionKeyFileExtension[]; 54 55} // namespace extensions 56 57#endif // EXTENSIONS_COMMON_CONSTANTS_H_ 58