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 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 const char kExtensionScheme[] = "chrome-extension"; | 9 const char kExtensionScheme[] = "chrome-extension"; |
10 | 10 |
11 const base::FilePath::CharType kManifestFilename[] = | 11 const base::FilePath::CharType kManifestFilename[] = |
12 FILE_PATH_LITERAL("manifest.json"); | 12 FILE_PATH_LITERAL("manifest.json"); |
13 const base::FilePath::CharType kLocaleFolder[] = | 13 const base::FilePath::CharType kLocaleFolder[] = |
14 FILE_PATH_LITERAL("_locales"); | 14 FILE_PATH_LITERAL("_locales"); |
15 const base::FilePath::CharType kMessagesFilename[] = | 15 const base::FilePath::CharType kMessagesFilename[] = |
16 FILE_PATH_LITERAL("messages.json"); | 16 FILE_PATH_LITERAL("messages.json"); |
17 const base::FilePath::CharType kPlatformSpecificFolder[] = | 17 const base::FilePath::CharType kPlatformSpecificFolder[] = |
18 FILE_PATH_LITERAL("_platform_specific"); | 18 FILE_PATH_LITERAL("_platform_specific"); |
19 const base::FilePath::CharType kMetadataFolder[] = | 19 const base::FilePath::CharType kMetadataFolder[] = |
20 FILE_PATH_LITERAL("_metadata"); | 20 FILE_PATH_LITERAL("_metadata"); |
21 const base::FilePath::CharType kVerifiedContentsFilename[] = | 21 const base::FilePath::CharType kVerifiedContentsFilename[] = |
22 FILE_PATH_LITERAL("verified_contents.json"); | 22 FILE_PATH_LITERAL("verified_contents.json"); |
23 const base::FilePath::CharType kComputedHashesFilename[] = | 23 const base::FilePath::CharType kComputedHashesFilename[] = |
24 FILE_PATH_LITERAL("computed_hashes.json"); | 24 FILE_PATH_LITERAL("computed_hashes.json"); |
| 25 const base::FilePath::CharType kIndexedRulesetFilename[] = |
| 26 FILE_PATH_LITERAL("_generated_indexed_ruleset.fbs"); |
25 | 27 |
26 const char kInstallDirectoryName[] = "Extensions"; | 28 const char kInstallDirectoryName[] = "Extensions"; |
27 | 29 |
28 const char kTempExtensionName[] = "CRX_INSTALL"; | 30 const char kTempExtensionName[] = "CRX_INSTALL"; |
29 | 31 |
30 const char kDecodedImagesFilename[] = "DECODED_IMAGES"; | 32 const char kDecodedImagesFilename[] = "DECODED_IMAGES"; |
31 | 33 |
32 const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS"; | 34 const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS"; |
33 | 35 |
34 const char kGeneratedBackgroundPageFilename[] = | 36 const char kGeneratedBackgroundPageFilename[] = |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug. | 114 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug. |
113 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod. | 115 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod. |
114 // Keep in sync with _api_features.json and _manifest_features.json. | 116 // Keep in sync with _api_features.json and _manifest_features.json. |
115 }; | 117 }; |
116 | 118 |
117 // Error returned when scripting of a page is denied due to enterprise policy. | 119 // Error returned when scripting of a page is denied due to enterprise policy. |
118 const char kPolicyBlockedScripting[] = | 120 const char kPolicyBlockedScripting[] = |
119 "This page cannot be scripted due to an ExtensionsSettings policy."; | 121 "This page cannot be scripted due to an ExtensionsSettings policy."; |
120 | 122 |
121 } // namespace extension_misc | 123 } // namespace extension_misc |
OLD | NEW |