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 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ | 5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ |
6 #define EXTENSIONS_COMMON_CONSTANTS_H_ | 6 #define EXTENSIONS_COMMON_CONSTANTS_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "ui/base/layout.h" | 9 #include "ui/base/layout.h" |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 // A directory reserved for metadata, generated either by the webstore | 28 // A directory reserved for metadata, generated either by the webstore |
29 // or chrome. | 29 // or chrome. |
30 extern const base::FilePath::CharType kMetadataFolder[]; | 30 extern const base::FilePath::CharType kMetadataFolder[]; |
31 | 31 |
32 // Name of the verified contents file within the metadata folder. | 32 // Name of the verified contents file within the metadata folder. |
33 extern const base::FilePath::CharType kVerifiedContentsFilename[]; | 33 extern const base::FilePath::CharType kVerifiedContentsFilename[]; |
34 | 34 |
35 // Name of the computed hashes file within the metadata folder. | 35 // Name of the computed hashes file within the metadata folder. |
36 extern const base::FilePath::CharType kComputedHashesFilename[]; | 36 extern const base::FilePath::CharType kComputedHashesFilename[]; |
37 | 37 |
| 38 // The filename to use for the indexed ruleset file using the Declarative Net |
| 39 // Request API. |
| 40 extern const base::FilePath::CharType kIndexedRulesetFilename[]; |
| 41 |
38 // The name of the directory inside the profile where extensions are | 42 // The name of the directory inside the profile where extensions are |
39 // installed to. | 43 // installed to. |
40 extern const char kInstallDirectoryName[]; | 44 extern const char kInstallDirectoryName[]; |
41 | 45 |
42 // The name of a temporary directory to install an extension into for | 46 // The name of a temporary directory to install an extension into for |
43 // validation before finalizing install. | 47 // validation before finalizing install. |
44 extern const char kTempExtensionName[]; | 48 extern const char kTempExtensionName[]; |
45 | 49 |
46 // The file to write our decoded images to, relative to the extension_path. | 50 // The file to write our decoded images to, relative to the extension_path. |
47 extern const char kDecodedImagesFilename[]; | 51 extern const char kDecodedImagesFilename[]; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 | 229 |
226 // Extension ids used by Hangouts. | 230 // Extension ids used by Hangouts. |
227 extern const char* const kHangoutsExtensionIds[6]; | 231 extern const char* const kHangoutsExtensionIds[6]; |
228 | 232 |
229 // Error message when enterprise policy blocks scripting of webpage. | 233 // Error message when enterprise policy blocks scripting of webpage. |
230 extern const char kPolicyBlockedScripting[]; | 234 extern const char kPolicyBlockedScripting[]; |
231 | 235 |
232 } // namespace extension_misc | 236 } // namespace extension_misc |
233 | 237 |
234 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 238 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
OLD | NEW |