[Android] Lint pylib/host_driven.
[chromium-blink-merge.git] / extensions / common / constants.cc
blobdced3101be935ac5588e2fa22afc136dd453c6b9
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 #include "extensions/common/constants.h"
7 #include "base/files/file_path.h"
9 namespace extensions {
11 const char kExtensionScheme[] = "chrome-extension";
12 const char kExtensionResourceScheme[] = "chrome-extension-resource";
14 const base::FilePath::CharType kManifestFilename[] =
15 FILE_PATH_LITERAL("manifest.json");
16 const base::FilePath::CharType kLocaleFolder[] =
17 FILE_PATH_LITERAL("_locales");
18 const base::FilePath::CharType kMessagesFilename[] =
19 FILE_PATH_LITERAL("messages.json");
20 const base::FilePath::CharType kPlatformSpecificFolder[] =
21 FILE_PATH_LITERAL("_platform_specific");
23 const char kInstallDirectoryName[] = "Extensions";
25 const char kTempExtensionName[] = "CRX_INSTALL";
27 const char kDecodedImagesFilename[] = "DECODED_IMAGES";
29 const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS";
31 const char kGeneratedBackgroundPageFilename[] =
32 "_generated_background_page.html";
34 const char kModulesDir[] = "_modules";
36 const base::FilePath::CharType kExtensionFileExtension[] =
37 FILE_PATH_LITERAL(".crx");
38 const base::FilePath::CharType kExtensionKeyFileExtension[] =
39 FILE_PATH_LITERAL(".pem");
41 // If auto-updates are turned on, default to running every 5 hours.
42 const int kDefaultUpdateFrequencySeconds = 60 * 60 * 5;
44 const char kLocalAppSettingsDirectoryName[] = "Local App Settings";
45 const char kLocalExtensionSettingsDirectoryName[] = "Local Extension Settings";
46 const char kSyncAppSettingsDirectoryName[] = "Sync App Settings";
47 const char kSyncExtensionSettingsDirectoryName[] = "Sync Extension Settings";
48 const char kManagedSettingsDirectoryName[] = "Managed Extension Settings";
49 const char kStateStoreName[] = "Extension State";
50 const char kRulesStoreName[] = "Extension Rules";
52 } // namespace extensions