| 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 #include "extensions/common/constants.h" | 5 #include "extensions/common/constants.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" |
| 8 |
| 7 namespace extensions { | 9 namespace extensions { |
| 8 | 10 |
| 9 const char kExtensionScheme[] = "chrome-extension"; | 11 const char kExtensionScheme[] = "chrome-extension"; |
| 10 | 12 |
| 11 const base::FilePath::CharType kManifestFilename[] = | 13 const base::FilePath::CharType kManifestFilename[] = |
| 12 FILE_PATH_LITERAL("manifest.json"); | 14 FILE_PATH_LITERAL("manifest.json"); |
| 13 const base::FilePath::CharType kLocaleFolder[] = | 15 const base::FilePath::CharType kLocaleFolder[] = |
| 14 FILE_PATH_LITERAL("_locales"); | 16 FILE_PATH_LITERAL("_locales"); |
| 15 const base::FilePath::CharType kMessagesFilename[] = | 17 const base::FilePath::CharType kMessagesFilename[] = |
| 16 FILE_PATH_LITERAL("messages.json"); | 18 FILE_PATH_LITERAL("messages.json"); |
| 17 const base::FilePath::CharType kPlatformSpecificFolder[] = | 19 const base::FilePath::CharType kPlatformSpecificFolder[] = |
| 18 FILE_PATH_LITERAL("_platform_specific"); | 20 FILE_PATH_LITERAL("_platform_specific"); |
| 19 | 21 |
| 20 const char kInstallDirectoryName[] = "Extensions"; | 22 const char kInstallDirectoryName[] = "Extensions"; |
| 21 | 23 |
| 22 } // namespace extensions | 24 const char kTempExtensionName[] = "CRX_INSTALL"; |
| 25 |
| 26 const char kDecodedImagesFilename[] = "DECODED_IMAGES"; |
| 27 |
| 28 const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS"; |
| 29 |
| 30 const char kGeneratedBackgroundPageFilename[] = |
| 31 "_generated_background_page.html"; |
| 32 |
| 33 const char kModulesDir[] = "_modules"; |
| 34 |
| 35 const base::FilePath::CharType kExtensionFileExtension[] = |
| 36 FILE_PATH_LITERAL(".crx"); |
| 37 const base::FilePath::CharType kExtensionKeyFileExtension[] = |
| 38 FILE_PATH_LITERAL(".pem"); |
| 39 |
| 40 } // namespace extensions |
| OLD | NEW |