Move render_view_context_menu.* and related files out of tab_contents.
[chromium-blink-merge.git] / extensions / common / constants.h
blobf55e5177b08e4bf0e3b526f40b6661ae7bad20e2
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
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_
6 #define EXTENSIONS_COMMON_CONSTANTS_H_
8 #include "base/files/file_path.h"
10 namespace extensions {
12 // Scheme we serve extension content from.
13 extern const char kExtensionScheme[];
15 // Canonical schemes you can use as input to GURL.SchemeIs().
16 extern const char kExtensionResourceScheme[];
18 // The name of the manifest inside an extension.
19 extern const base::FilePath::CharType kManifestFilename[];
21 // The name of locale folder inside an extension.
22 extern const base::FilePath::CharType kLocaleFolder[];
24 // The name of the messages file inside an extension.
25 extern const base::FilePath::CharType kMessagesFilename[];
27 // The base directory for subdirectories with platform-specific code.
28 extern const base::FilePath::CharType kPlatformSpecificFolder[];
30 // The name of the directory inside the profile where extensions are
31 // installed to.
32 extern const char kInstallDirectoryName[];
34 // The name of a temporary directory to install an extension into for
35 // validation before finalizing install.
36 extern const char kTempExtensionName[];
38 // The file to write our decoded images to, relative to the extension_path.
39 extern const char kDecodedImagesFilename[];
41 // The file to write our decoded message catalogs to, relative to the
42 // extension_path.
43 extern const char kDecodedMessageCatalogsFilename[];
45 // The filename to use for a background page generated from
46 // background.scripts.
47 extern const char kGeneratedBackgroundPageFilename[];
49 // Path to imported modules.
50 extern const char kModulesDir[];
52 // The file extension (.crx) for extensions.
53 extern const base::FilePath::CharType kExtensionFileExtension[];
55 // The file extension (.pem) for private key files.
56 extern const base::FilePath::CharType kExtensionKeyFileExtension[];
58 // Default frequency for auto updates, if turned on.
59 extern const int kDefaultUpdateFrequencySeconds;
61 // The name of the directory inside the profile where per-app local settings
62 // are stored.
63 extern const char kLocalAppSettingsDirectoryName[];
65 // The name of the directory inside the profile where per-extension local
66 // settings are stored.
67 extern const char kLocalExtensionSettingsDirectoryName[];
69 // The name of the directory inside the profile where per-app synced settings
70 // are stored.
71 extern const char kSyncAppSettingsDirectoryName[];
73 // The name of the directory inside the profile where per-extension synced
74 // settings are stored.
75 extern const char kSyncExtensionSettingsDirectoryName[];
77 // The name of the directory inside the profile where per-extension persistent
78 // managed settings are stored.
79 extern const char kManagedSettingsDirectoryName[];
81 // The name of the database inside the profile where chrome-internal
82 // extension state resides.
83 extern const char kStateStoreName[];
85 // The name of the database inside the profile where declarative extension
86 // rules are stored.
87 extern const char kRulesStoreName[];
89 } // namespace extensions
91 #endif // EXTENSIONS_COMMON_CONSTANTS_H_