Ignore non-active fullscreen windows for shelf state.
[chromium-blink-merge.git] / extensions / common / constants.h
blob3113a17e9fdaee9936bd2c16d1fa13fc6c35f6cc
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 // The name of the manifest inside an extension.
16 extern const base::FilePath::CharType kManifestFilename[];
18 // The name of locale folder inside an extension.
19 extern const base::FilePath::CharType kLocaleFolder[];
21 // The name of the messages file inside an extension.
22 extern const base::FilePath::CharType kMessagesFilename[];
24 // The base directory for subdirectories with platform-specific code.
25 extern const base::FilePath::CharType kPlatformSpecificFolder[];
27 // The name of the directory inside the profile where extensions are
28 // installed to.
29 extern const char kInstallDirectoryName[];
31 // The name of a temporary directory to install an extension into for
32 // validation before finalizing install.
33 extern const char kTempExtensionName[];
35 // The file to write our decoded images to, relative to the extension_path.
36 extern const char kDecodedImagesFilename[];
38 // The file to write our decoded message catalogs to, relative to the
39 // extension_path.
40 extern const char kDecodedMessageCatalogsFilename[];
42 // The filename to use for a background page generated from
43 // background.scripts.
44 extern const char kGeneratedBackgroundPageFilename[];
46 // Path to imported modules.
47 extern const char kModulesDir[];
49 // The file extension (.crx) for extensions.
50 extern const base::FilePath::CharType kExtensionFileExtension[];
52 // The file extension (.pem) for private key files.
53 extern const base::FilePath::CharType kExtensionKeyFileExtension[];
55 // Default frequency for auto updates, if turned on.
56 extern const int kDefaultUpdateFrequencySeconds;
58 // The name of the directory inside the profile where per-app local settings
59 // are stored.
60 extern const char kLocalAppSettingsDirectoryName[];
62 // The name of the directory inside the profile where per-extension local
63 // settings are stored.
64 extern const char kLocalExtensionSettingsDirectoryName[];
66 // The name of the directory inside the profile where per-app synced settings
67 // are stored.
68 extern const char kSyncAppSettingsDirectoryName[];
70 // The name of the directory inside the profile where per-extension synced
71 // settings are stored.
72 extern const char kSyncExtensionSettingsDirectoryName[];
74 // The name of the directory inside the profile where per-extension persistent
75 // managed settings are stored.
76 extern const char kManagedSettingsDirectoryName[];
78 // The name of the database inside the profile where chrome-internal
79 // extension state resides.
80 extern const char kStateStoreName[];
82 // The name of the database inside the profile where declarative extension
83 // rules are stored.
84 extern const char kRulesStoreName[];
86 } // namespace extensions
88 #endif // EXTENSIONS_COMMON_CONSTANTS_H_