chromium/extensions/common/manifest_constants.h

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_
#define EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_

#include "build/build_config.h"
#include "build/chromeos_buildflags.h"

namespace extensions {

// Keys used in JSON representation of extensions.
namespace manifest_keys {

inline constexpr char kAboutPage[] =;
inline constexpr char kAction[] =;
inline constexpr char kActionDefaultIcon[] =;
inline constexpr char kActionDefaultPopup[] =;
inline constexpr char kActionDefaultState[] =;
inline constexpr char kActionDefaultTitle[] =;
inline constexpr char kApp[] =;
inline constexpr char kAutomation[] =;
inline constexpr char kBackground[] =;
inline constexpr char kBackgroundAllowJsAccess[] =;
inline constexpr char kBackgroundPage[] =;
inline constexpr char kBackgroundPersistent[] =;
inline constexpr char kBackgroundScripts[] =;
inline constexpr char kBackgroundServiceWorkerScript[] =;
inline constexpr char kBackgroundServiceWorkerType[] =;
inline constexpr char kBluetooth[] =;
inline constexpr char kBookmarkUI[] =;
inline constexpr char kBrowserAction[] =;
inline constexpr char kChromeOSSystemExtension[] =;
inline constexpr char kCommands[] =;
inline constexpr char kContentCapabilities[] =;
inline constexpr char kContentSecurityPolicy[] =;
inline constexpr char kContentSecurityPolicy_ExtensionPagesPath[] =;
inline constexpr char kContentSecurityPolicy_SandboxedPagesPath[] =;
inline constexpr char kConvertedFromUserScript[] =;
inline constexpr char kCurrentLocale[] =;
inline constexpr char kDefaultLocale[] =;
inline constexpr char kDescription[] =;
inline constexpr char kDevToolsPage[] =;
inline constexpr char kDifferentialFingerprint[] =;
inline constexpr char kDisplayInLauncher[] =;
inline constexpr char kDisplayInNewTabPage[] =;
inline constexpr char kEventName[] =;
inline constexpr char kExternallyConnectable[] =;
inline constexpr char kEventRules[] =;
inline constexpr char kFileAccessList[] =;
inline constexpr char kFileBrowserHandlerId[] =;
inline constexpr char kFileBrowserHandlers[] =;
inline constexpr char kFileFilters[] =;
inline constexpr char kFileHandlerExtensions[] =;
inline constexpr char kFileHandlerIncludeDirectories[] =;
inline constexpr char kFileHandlerTypes[] =;
inline constexpr char kFileHandlerVerb[] =;
inline constexpr char kFileHandlers[] =;
inline constexpr char kGlobal[] =;
inline constexpr char kHandwritingLanguage[] =;
inline constexpr char kHideBookmarkButton[] =;
inline constexpr char kHomepageURL[] =;
inline constexpr char kHostPermissions[] =;
inline constexpr char kIcons[] =;
inline constexpr char kIconVariants[] =;
inline constexpr char kId[] =;
inline constexpr char kImeOptionsPage[] =;
inline constexpr char kIndicator[] =;
inline constexpr char kInputComponents[] =;
inline constexpr char kInputView[] =;
inline constexpr char kKey[] =;
inline constexpr char kKiosk[] =;
inline constexpr char kKioskAlwaysUpdate[] =;
inline constexpr char kKioskEnabled[] =;
inline constexpr char kKioskOnly[] =;
inline constexpr char kKioskMode[] =;
inline constexpr char kKioskRequiredPlatformVersion[] =;
inline constexpr char kKioskSecondaryApps[] =;
inline constexpr char kLanguage[] =;
inline constexpr char kLaunch[] =;
inline constexpr char kLaunchContainer[] =;
inline constexpr char kLaunchHeight[] =;
inline constexpr char kLaunchLocalPath[] =;
inline constexpr char kLaunchWebURL[] =;
inline constexpr char kLaunchWidth[] =;
inline constexpr char kLayouts[] =;
inline constexpr char kLinkedAppIcons[] =;
inline constexpr char kLinkedAppIconURL[] =;
inline constexpr char kLinkedAppIconSize[] =;
inline constexpr char kManifestVersion[] =;
inline constexpr char kMatches[] =;
inline constexpr char kMIMETypes[] =;
inline constexpr char kMimeTypesHandler[] =;
inline constexpr char kMinimumChromeVersion[] =;
inline constexpr char kNaClModules[] =;
inline constexpr char kNaClModulesMIMEType[] =;
inline constexpr char kNaClModulesPath[] =;
inline constexpr char kName[] =;
inline constexpr char kNativelyConnectable[] =;
inline constexpr char kOfflineEnabled[] =;
inline constexpr char kOmniboxKeyword[] =;
inline constexpr char kOptionalHostPermissions[] =;
inline constexpr char kOptionalPermissions[] =;
inline constexpr char kOptionsPage[] =;
inline constexpr char kOptionsUI[] =;
inline constexpr char kOverrideHomepage[] =;
inline constexpr char kOverrideSearchProvider[] =;
inline constexpr char kOverrideStartupPage[] =;
inline constexpr char kPageAction[] =;
inline constexpr char kPermissions[] =;
inline constexpr char kPlatformAppBackground[] =;
inline constexpr char kPlatformAppBackgroundPage[] =;
inline constexpr char kPlatformAppBackgroundScripts[] =;
inline constexpr char kPlatformAppContentSecurityPolicy[] =;
inline constexpr char kPublicKey[] =;
inline constexpr char kRemoveButton[] =;
inline constexpr char kReplacementWebApp[] =;
inline constexpr char kSandboxedPages[] =;
inline constexpr char kSandboxedPagesCSP[] =;
inline constexpr char kSettingsOverride[] =;
inline constexpr char kSettingsOverrideAlternateUrls[] =;
inline constexpr char kShortName[] =;
inline constexpr char kSockets[] =;
inline constexpr char kStorageManagedSchema[] =;
inline constexpr char kSuggestedKey[] =;
inline constexpr char kSystemIndicator[] =;
inline constexpr char kTheme[] =;
inline constexpr char kThemeColors[] =;
inline constexpr char kThemeDisplayProperties[] =;
inline constexpr char kThemeImages[] =;
inline constexpr char kThemeTints[] =;
inline constexpr char kTrialTokens[] =;
inline constexpr char kTtsEngine[] =;
inline constexpr char kTtsEngineSampleRate[] =;
inline constexpr char kTtsEngineBufferSize[] =;
inline constexpr char kTtsVoices[] =;
inline constexpr char kTtsVoicesEventTypeEnd[] =;
inline constexpr char kTtsVoicesEventTypeError[] =;
inline constexpr char kTtsVoicesEventTypeMarker[] =;
inline constexpr char kTtsVoicesEventTypeSentence[] =;
inline constexpr char kTtsVoicesEventTypeStart[] =;
inline constexpr char kTtsVoicesEventTypeWord[] =;
inline constexpr char kTtsVoicesEventTypes[] =;
inline constexpr char kTtsVoicesLang[] =;
inline constexpr char kTtsVoicesRemote[] =;
inline constexpr char kTtsVoicesVoiceName[] =;
inline constexpr char kUpdateURL[] =;
inline constexpr char kUrlHandlers[] =;
inline constexpr char kUrlHandlerTitle[] =;
inline constexpr char kUsbPrinters[] =;
inline constexpr char kVersion[] =;
inline constexpr char kVersionName[] =;
inline constexpr char kWebURLs[] =;
inline constexpr char kWebview[] =;
inline constexpr char kWebviewAccessibleResources[] =;
inline constexpr char kWebviewName[] =;
inline constexpr char kWebviewPartitions[] =;
#if BUILDFLAG(IS_CHROMEOS)
inline constexpr char kFileSystemProviderCapabilities[] =
    "file_system_provider_capabilities";
inline constexpr char kActionHandlers[] = "action_handlers";
inline constexpr char kActionHandlerActionKey[] = "action";
inline constexpr char kActionHandlerEnabledOnLockScreenKey[] =
    "enabled_on_lock_screen";
#endif

}  // namespace manifest_keys

// Some values expected in manifests.
namespace manifest_values {

inline constexpr char kActionCommandEvent[] =;
inline constexpr char kApiKey[] =;
inline constexpr char kBrowserActionCommandEvent[] =;
inline constexpr char kIncognitoNotAllowed[] =;
inline constexpr char kIncognitoSplit[] =;
inline constexpr char kIncognitoSpanning[] =;
inline constexpr char kKeybindingPlatformChromeOs[] =;
inline constexpr char kKeybindingPlatformDefault[] =;
inline constexpr char kKeybindingPlatformLinux[] =;
inline constexpr char kKeybindingPlatformMac[] =;
inline constexpr char kKeybindingPlatformWin[] =;
inline constexpr char kKeyAlt[] =;
inline constexpr char kKeyComma[] =;
inline constexpr char kKeyCommand[] =;
inline constexpr char kKeyCtrl[] =;
inline constexpr char kKeyDel[] =;
inline constexpr char kKeyDown[] =;
inline constexpr char kKeyEnd[] =;
inline constexpr char kKeyHome[] =;
inline constexpr char kKeyIns[] =;
inline constexpr char kKeyLeft[] =;
inline constexpr char kKeyMacCtrl[] =;
inline constexpr char kKeyMediaNextTrack[] =;
inline constexpr char kKeyMediaPlayPause[] =;
inline constexpr char kKeyMediaPrevTrack[] =;
inline constexpr char kKeyMediaStop[] =;
inline constexpr char kKeyPgDwn[] =;
inline constexpr char kKeyPgUp[] =;
inline constexpr char kKeyPeriod[] =;
inline constexpr char kKeyRight[] =;
inline constexpr char kKeySearch[] =;
inline constexpr char kKeySeparator[] =;
inline constexpr char kKeyShift[] =;
inline constexpr char kKeySpace[] =;
inline constexpr char kKeyTab[] =;
inline constexpr char kKeyUp[] =;
inline constexpr char kLaunchContainerPanelDeprecated[] =;
inline constexpr char kLaunchContainerTab[] =;
inline constexpr char kLaunchContainerWindow[] =;
inline constexpr char kPageActionCommandEvent[] =;

}  // namespace manifest_values

// Extension-related error messages. Some of these are simple patterns, where a
// '*' is replaced at runtime with a specific value. This is used instead of
// printf because we want to unit test them and scanf is hard to make
// cross-platform.
namespace manifest_errors {

inline constexpr char kActiveTabPermissionNotGranted[] =;
inline constexpr char kAllURLOrActiveTabNeeded[] =;
inline constexpr char kAppsNotEnabled[] =;
inline constexpr char16_t kBackgroundPermissionNeeded[] =;
inline constexpr char16_t kBackgroundRequiredForPlatformApps[] =;
inline constexpr char kCannotAccessAboutUrl[] =;
inline constexpr char kCannotAccessChromeUrl[] =;
inline constexpr char kCannotAccessExtensionUrl[] =;
// This deliberately does not contain a URL. Otherwise an extension can parse
// error messages and determine the URLs of open tabs without having appropriate
// permissions to see these URLs.
inline constexpr char kCannotAccessPage[] =;
// Use this error message with caution and only if the extension triggering it
// has tabs permission. Otherwise, URLs may be leaked to extensions.
inline constexpr char kCannotAccessPageWithUrl[] =;
inline constexpr char kCannotChangeExtensionID[] =;
inline constexpr char kCannotClaimAllHostsInExtent[] =;
inline constexpr char kCannotClaimAllURLsInExtent[] =;
inline constexpr char kCannotScriptGallery[] =;
inline constexpr char kCannotScriptNtp[] =;
inline constexpr char kCannotScriptSigninPage[] =;
inline constexpr char16_t kChromeStyleInvalidForManifestV3[] =;
inline constexpr char kChromeVersionTooLow[] =;
inline constexpr char kCommandActionIncorrectForManifestActionType[] =;
inline constexpr char kDeclarativeNetRequestPathDuplicates[] =;
inline constexpr char kDeclarativeNetRequestPermissionNeeded[] =;
inline constexpr char16_t kDefaultStateShouldNotBeSet[] =;
inline constexpr char16_t kEmptyOmniboxKeyword[] =;
inline constexpr char kEnabledRulesetCountExceeded[] =;
inline constexpr char kExecutionWorldRestrictedToMV3[] =;
inline constexpr char kExpectString[] =;
inline constexpr char kFileNotFound[] =;
inline constexpr char kHasDifferentialFingerprint[] =;
inline constexpr char16_t kInvalidAboutPage[] =;
inline constexpr char16_t kInvalidAboutPageExpectRelativePath[] =;
inline constexpr char kInvalidAction[] =;
inline constexpr char16_t kInvalidActionDefaultIcon[] =;
inline constexpr char16_t kInvalidActionDefaultPopup[] =;
inline constexpr char16_t kInvalidActionDefaultState[] =;
inline constexpr char16_t kInvalidActionDefaultTitle[] =;
inline constexpr char16_t kInvalidBackground[] =;
inline constexpr char16_t kInvalidBackgroundAllowJsAccess[] =;
inline constexpr char16_t kInvalidBackgroundCombination[] =;
inline constexpr char kInvalidBackgroundScript[] =;
inline constexpr char16_t kInvalidBackgroundScripts[] =;
inline constexpr char16_t kInvalidBackgroundServiceWorkerScript[] =;
inline constexpr char16_t kInvalidBackgroundServiceWorkerType[] =;
inline constexpr char16_t kInvalidBackgroundInHostedApp[] =;
inline constexpr char16_t kInvalidBackgroundPersistent[] =;
inline constexpr char kInvalidBackgroundPersistentInPlatformApp[] =;
inline constexpr char16_t kInvalidBackgroundPersistentNoPage[] =;
inline constexpr char kInvalidBrowserAction[] =;
inline constexpr char kInvalidChromeURLOverrides[] =;
inline constexpr char16_t kInvalidCommandsKey[] =;
inline constexpr char16_t kInvalidContentCapabilities[] =;
inline constexpr char kInvalidContentCapabilitiesMatch[] =;
inline constexpr char kInvalidContentCapabilitiesMatchOrigin[] =;
inline constexpr char16_t kInvalidContentCapabilitiesParsedValue[] =;
inline constexpr char kInvalidContentCapabilitiesPermission[] =;
inline constexpr char kInvalidCSPInsecureValueIgnored[] =;
inline constexpr char kInvalidCSPInsecureValueError[] =;
inline constexpr char kInvalidCSPMissingSecureSrc[] =;
inline constexpr char kInvalidDefaultLocale[] =;
inline constexpr char16_t kInvalidDefaultLocale16[] =;
inline constexpr char16_t kInvalidDescription[] =;
inline constexpr char16_t kInvalidDevToolsPage[] =;
inline constexpr char16_t kInvalidDisplayInLauncher[] =;
inline constexpr char16_t kInvalidDisplayInNewTabPage[] =;
inline constexpr char kInvalidEmptyDictionary[] =;
inline constexpr char kInvalidExcludeMatch[] =;
inline constexpr char kInvalidExcludeMatches[] =;
inline constexpr char kInvalidExportPermissions[] =;
inline constexpr char kInvalidExportAllowlistEmpty[] =;
inline constexpr char kInvalidExportAllowlistString[] =;
inline constexpr char kInvalidExtensionOriginPopup[] =;
inline constexpr char16_t kInvalidFileAccessList[] =;
inline constexpr char kInvalidFileAccessValue[] =;
inline constexpr char kInvalidFileBrowserHandler[] =;
inline constexpr char16_t kInvalidFileBrowserHandler16[] =;
inline constexpr char16_t kInvalidFileBrowserHandlerId[] =;
inline constexpr char kInvalidFileBrowserHandlerMissingPermission[] =;
inline constexpr char16_t kInvalidFileFiltersList[] =;
inline constexpr char kInvalidFileFilterValue[] =;
inline constexpr char16_t kInvalidFileHandlers[] =;
inline constexpr char kInvalidWebFileHandlers[] =;
inline constexpr char16_t kInvalidFileHandlersTooManyTypesAndExtensions[] =;
inline constexpr char kInvalidFileHandlerExtension[] =;
inline constexpr char kInvalidFileHandlerExtensionElement[] =;
inline constexpr char16_t kInvalidFileHandlerIncludeDirectories[] =;
inline constexpr char kInvalidFileHandlerNoTypeOrExtension[] =;
inline constexpr char kInvalidFileHandlerType[] =;
inline constexpr char kInvalidFileHandlerTypeElement[] =;
inline constexpr char kInvalidFileHandlerVerb[] =;
inline constexpr char kInvalidHomepageOverrideURL[] =;
inline constexpr char kInvalidHomepageURL[] =;
inline constexpr char kInvalidHostPermission[] =;
inline constexpr char kInvalidHostPermissions[] =;
inline constexpr char kInvalidIconKey[] =;
inline constexpr char kInvalidIconPath[] =;
inline constexpr char16_t kInvalidIcons[] =;
inline constexpr char16_t kInvalidImportAndExport[] =;
inline constexpr char kInvalidImportId[] =;
inline constexpr char kInvalidImportVersion[] =;
inline constexpr char kInvalidImportRepeatedImport[] =;
inline constexpr char kInvalidInputComponents[] =;
inline constexpr char16_t kInvalidInputComponents16[] =;
inline constexpr char kInvalidInputComponentLayoutName[] =;
inline constexpr char kInvalidInputComponentName[] =;
inline constexpr char kInvalidInputView[] =;
inline constexpr char16_t kInvalidIsolation[] =;
inline constexpr char kInvalidIsolationValue[] =;
inline constexpr char16_t kInvalidKey[] =;
inline constexpr char kInvalidKeyBinding[] =;
inline constexpr char kInvalidKeyBindingDescription[] =;
inline constexpr char kInvalidKeyBindingDictionary[] =;
inline constexpr char kInvalidKeyBindingMediaKeyWithModifier[] =;
inline constexpr char kInvalidKeyBindingMissingPlatform[] =;
inline constexpr char kInvalidKeyBindingTooMany[] =;
inline constexpr char kInvalidKeyBindingUnknownPlatform[] =;
inline constexpr char16_t kInvalidKioskAlwaysUpdate[] =;
inline constexpr char16_t kInvalidKioskEnabled[] =;
inline constexpr char16_t kInvalidKioskOnly[] =;
inline constexpr char16_t kInvalidKioskOnlyButNotEnabled[] =;
inline constexpr char16_t kInvalidKioskRequiredPlatformVersion[] =;
inline constexpr char16_t kInvalidKioskSecondaryApps[] =;
inline constexpr char16_t kInvalidKioskSecondaryAppsBadAppEntry[] =;
inline constexpr char kInvalidKioskSecondaryAppsDuplicateApp[] =;
inline constexpr char kInvalidKioskSecondaryAppsPropertyUnavailable[] =;
inline constexpr char16_t kInvalidLaunchContainer[] =;
inline constexpr char kInvalidLaunchValue[] =;
inline constexpr char kInvalidLaunchValueContainer[] =;
inline constexpr char kInvalidLinkedAppIcon[] =;
inline constexpr char kInvalidLinkedAppIconSize[] =;
inline constexpr char kInvalidLinkedAppIconURL[] =;
inline constexpr char kInvalidLinkedAppIcons[] =;
inline constexpr char kInvalidManifest[] =;
inline constexpr char kInvalidManifestKey[] =;
inline constexpr char kInvalidManifestVersionMissingKey[] =;
inline constexpr char kInvalidManifestVersionUnsupported[] =;
inline constexpr char kInvalidMatch[] =;
inline constexpr char kInvalidMatchCount[] =;
inline constexpr char kInvalidMatches[] =;
inline constexpr char16_t kInvalidMIMETypes[] =;
inline constexpr char16_t kInvalidMimeTypesHandler[] =;
inline constexpr char16_t kInvalidMinimumChromeVersion[] =;
inline constexpr char16_t kInvalidNaClModules[] =;
inline constexpr char kInvalidNaClModulesMIMEType[] =;
inline constexpr char kInvalidNaClModulesPath[] =;
inline constexpr char kInvalidName[] =;
inline constexpr char16_t kInvalidName16[] =;
inline constexpr char16_t kInvalidNativelyConnectable[] =;
inline constexpr char kInvalidNativelyConnectableValue[] =;
inline constexpr char16_t kInvalidNativelyConnectableValue16[] =;
inline constexpr char16_t kInvalidOAuth2ClientId[] =;
inline constexpr char16_t kInvalidOfflineEnabled[] =;
inline constexpr char kInvalidOptionsPage[] =;
inline constexpr char16_t kInvalidOptionsPageExpectUrlInPackage[] =;
inline constexpr char16_t kInvalidOptionsPageInHostedApp[] =;
inline constexpr char kInvalidOptionsUIChromeStyle[] =;
inline constexpr char kInvalidOptionsUIOpenInTab[] =;
inline constexpr char kInvalidPageAction[] =;
inline constexpr char kInvalidPermission[] =;
inline constexpr char kInvalidPermissionScheme[] =;
inline constexpr char kInvalidPermissionWithDetail[] =;
inline constexpr char16_t kInvalidPermissions[] =;
inline constexpr char16_t kInvalidReplacementWebApp[] =;
inline constexpr char kInvalidRulesetID[] =;
inline constexpr char16_t kInvalidSandboxedPagesList[] =;
inline constexpr char kInvalidSandboxedPage[] =;
inline constexpr char kInvalidSearchEngineMissingKeys[] =;
inline constexpr char kInvalidSearchEngineURL[] =;
inline constexpr char16_t kInvalidShortName[] =;
inline constexpr char kInvalidStartupOverrideURL[] =;
inline constexpr char16_t kInvalidSystemIndicator[] =;
inline constexpr char16_t kInvalidTheme[] =;
inline constexpr char16_t kInvalidThemeColors[] =;
inline constexpr char16_t kInvalidThemeImages[] =;
inline constexpr char kInvalidThemeImagesMissing[] =;
inline constexpr char16_t kInvalidThemeTints[] =;
inline constexpr char kInvalidTrialTokensNonEmptyList[] =;
inline constexpr char kInvalidTrialTokensValue[] =;
inline constexpr char kInvalidTrialTokensValueDuplicate[] =;
inline constexpr char kInvalidTrialTokensValueTooLong[] =;
inline constexpr char kInvalidTrialTokensTooManyTokens[] =;
inline constexpr char16_t kInvalidTts[] =;
inline constexpr char16_t kInvalidTtsSampleRateFormat[] =;
inline constexpr char kInvalidTtsSampleRateRange[] =;
inline constexpr char16_t kInvalidTtsBufferSizeFormat[] =;
inline constexpr char kInvalidTtsBufferSizeRange[] =;
inline constexpr char16_t kInvalidTtsRequiresSampleRateAndBufferSize[] =;
inline constexpr char16_t kInvalidTtsVoices[] =;
inline constexpr char16_t kInvalidTtsVoicesEventTypes[] =;
inline constexpr char16_t kInvalidTtsVoicesLang[] =;
inline constexpr char16_t kInvalidTtsVoicesRemote[] =;
inline constexpr char16_t kInvalidTtsVoicesVoiceName[] =;
inline constexpr char kInvalidURLHandlerPattern[] =;
inline constexpr char kInvalidURLHandlerPatternElement[] =;
inline constexpr char16_t kInvalidURLHandlerPatternElement16[] =;
inline constexpr char16_t kInvalidURLHandlerTitle[] =;
inline constexpr char16_t kInvalidURLHandlers[] =;
inline constexpr char kInvalidURLPatternError[] =;
inline constexpr char kInvalidUpdateURL[] =;
inline constexpr char16_t kInvalidVersion[] =;
inline constexpr char16_t kInvalidVersionName[] =;
inline constexpr char kInvalidWebAccessibleResourcesList[] =;
inline constexpr char kInvalidWebAccessibleResource[] =;
inline constexpr char kInvalidSidePanel[] =;
inline constexpr char16_t kInvalidWebview[] =;
inline constexpr char16_t kInvalidWebviewAccessibleResourcesList[] =;
inline constexpr char kInvalidWebviewAccessibleResource[] =;
inline constexpr char kInvalidWebviewPartition[] =;
inline constexpr char kInvalidWebviewPartitionName[] =;
inline constexpr char16_t kInvalidWebviewPartitionsList[] =;
inline constexpr char kInvalidWebURL[] =;
inline constexpr char kInvalidWebURLs[] =;
inline constexpr char kInvalidZipHash[] =;
inline constexpr char kKeyIsDeprecatedWithReplacement[] =;
inline constexpr char16_t kLaunchPathAndExtentAreExclusive[] =;
inline constexpr char16_t kLaunchPathAndURLAreExclusive[] =;
inline constexpr char16_t kLaunchURLRequired[] =;
inline constexpr char kLocalesInvalidLocale[] =;
inline constexpr char16_t kLocalesMessagesFileMissing[] =;
inline constexpr char kLocalesNoDefaultMessages[] =;
inline constexpr char kLocalesNoValidLocaleNamesListed[] =;
inline constexpr char kLocalesTreeMissing[] =;
inline constexpr char kManifestParseError[] =;
inline constexpr char kManifestUnreadable[] =;
inline constexpr char kManifestV2IsDeprecatedWarning[] =;
inline constexpr char kManifestVersionTooHighWarning[] =;
inline constexpr char16_t kMatchOriginAsFallbackCantHavePaths[] =;
inline constexpr char kMissingFile[] =;
inline constexpr char16_t kMultipleOverrides[] =;
inline constexpr char16_t kNPAPIPluginsNotSupported[] =;
inline constexpr char kNoWildCardsInPaths[] =;
inline constexpr char kNonexistentDefaultPopup[] =;
inline constexpr char16_t kOneUISurfaceOnly[] =;
inline constexpr char kPageCaptureNeeded[] =;
inline constexpr char kPermissionCannotBeOptional[] =;
inline constexpr char kPermissionMarkedOptionalAndRequired[] =;
inline constexpr char kPermissionNotAllowed[] =;
inline constexpr char kPermissionUnknownOrMalformed[] =;
inline constexpr char kPluginsRequirementDeprecated[] =;
inline constexpr char kReservedMessageFound[] =;
inline constexpr char kRulesFileIsInvalid[] =;
inline constexpr char kRulesetCountExceeded[] =;
inline constexpr char16_t kSandboxPagesCSPKeyNotAllowed[] =;
inline constexpr char kSidePanelManifestDefaultPathError[] =;
inline constexpr char16_t
    kTransientBackgroundConflictsWithPersistentBackground[] =;
inline constexpr char kUnrecognizedManifestKey[] =;
inline constexpr char kUnrecognizedManifestProperty[] =;
inline constexpr char16_t kWebRequestConflictsWithLazyBackground[] =;
#if BUILDFLAG(IS_CHROMEOS)
inline constexpr char kDuplicateActionHandlerFound[] =
    "'action_handlers' list contains duplicate entries for the action: \"*\".";
inline constexpr char kIllegalPlugins[] =
    "Extensions cannot install plugins on Chrome OS.";
inline constexpr char16_t kInvalidActionHandlerDictionary[] =
    u"Invalid action handler dictionary in 'action_handlers': 'action' key "
    "missing.";
inline constexpr char kInvalidActionHandlersActionType[] =
    "Invalid entry in 'action_handlers': \"*\".";
inline constexpr char16_t kInvalidActionHandlersType[] =
    u"Invalid value for 'action_handlers'. Value must be a list of strings or "
    "a dictionary with 'action' key.";
inline constexpr char16_t kInvalidFileSystemProviderMissingCapabilities[] =
    u"The 'fileSystemProvider' permission requires the "
    "'file_system_provider_capabilities' section to be specified in the "
    "manifest.";
inline constexpr char kInvalidFileSystemProviderMissingPermission[] =
    "The 'file_system_provider_capabilities' section requires the "
    "'fileSystemProvider' permission to be specified in the manifest.";
#endif  // BUILDFLAG(IS_CHROMEOS)

}  // namespace manifest_errors

}  // namespace extensions

#endif  // EXTENSIONS_COMMON_MANIFEST_CONSTANTS_H_