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

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

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 | « extensions/common/constants.h ('k') | no next file » | 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 #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
OLDNEW
« no previous file with comments | « extensions/common/constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698