Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: extensions/common/constants.h

Issue 19547009: Move ".crx"/".pem" constants and extension_filenames constants into extensions/common/constants.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: todo Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/utility/extensions/unpacker_unittest.cc ('k') | extensions/common/constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 9
10 namespace extensions { 10 namespace extensions {
(...skipping 10 matching lines...) Expand all
21 // The name of the messages file inside an extension. 21 // The name of the messages file inside an extension.
22 extern const base::FilePath::CharType kMessagesFilename[]; 22 extern const base::FilePath::CharType kMessagesFilename[];
23 23
24 // The base directory for subdirectories with platform-specific code. 24 // The base directory for subdirectories with platform-specific code.
25 extern const base::FilePath::CharType kPlatformSpecificFolder[]; 25 extern const base::FilePath::CharType kPlatformSpecificFolder[];
26 26
27 // The name of the directory inside the profile where extensions are 27 // The name of the directory inside the profile where extensions are
28 // installed to. 28 // installed to.
29 extern const char kInstallDirectoryName[]; 29 extern const char kInstallDirectoryName[];
30 30
31 // The name of a temporary directory to install an extension into for
32 // validation before finalizing install.
33 extern const char kTempExtensionName[];
34
35 // The file to write our decoded images to, relative to the extension_path.
36 extern const char kDecodedImagesFilename[];
37
38 // The file to write our decoded message catalogs to, relative to the
39 // extension_path.
40 extern const char kDecodedMessageCatalogsFilename[];
41
42 // The filename to use for a background page generated from
43 // background.scripts.
44 extern const char kGeneratedBackgroundPageFilename[];
45
46 // Path to imported modules.
47 extern const char kModulesDir[];
48
49 // The file extension (.crx) for extensions.
50 extern const base::FilePath::CharType kExtensionFileExtension[];
51
52 // The file extension (.pem) for private key files.
53 extern const base::FilePath::CharType kExtensionKeyFileExtension[];
54
31 } // namespace extensions 55 } // namespace extensions
32 56
33 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ 57 #endif // EXTENSIONS_COMMON_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/utility/extensions/unpacker_unittest.cc ('k') | extensions/common/constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698