#include "components/policy/policy_constants.h"
#include <algorithm>
#include <climits>
#include <iterator>
#include <memory>
#include "base/check_op.h"
#include "base/values.h"
#include "build/branding_buildflags.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/core/common/schema_internal.h"
#include "components/policy/proto/cloud_policy.pb.h"
#include "components/policy/risk_tag.h"
namespace policy {
[[maybe_unused]] const PolicyDetails kChromePolicyDetails[] = …;
const internal::SchemaNode kSchemas[] = …;
const internal::PropertyNode kPropertyNodes[] = …;
const internal::PropertiesNode kProperties[] = …;
const internal::RestrictionNode kRestrictionNodes[] = …;
const char* const kRequiredProperties[] = …;
const int kIntegerEnumerations[] = …;
const char* const kStringEnumerations[] = …;
const internal::SchemaData* GetChromeSchemaData() { … }
namespace {
bool CompareKeys(const internal::PropertyNode& node,
const std::string& key) { … }
}
#if BUILDFLAG(IS_CHROMEOS)
void SetEnterpriseUsersProfileDefaults(PolicyMap* policy_map) {
if (!policy_map->Get(key::kAllowDinosaurEasterEgg)) {
policy_map->Set(key::kAllowDinosaurEasterEgg,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(false),
nullptr);
}
if (!policy_map->Get(key::kCreateThemesSettings)) {
policy_map->Set(key::kCreateThemesSettings,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(1),
nullptr);
}
if (!policy_map->Get(key::kDevToolsGenAiSettings)) {
policy_map->Set(key::kDevToolsGenAiSettings,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(1),
nullptr);
}
if (!policy_map->Get(key::kGenAiDefaultSettings)) {
policy_map->Set(key::kGenAiDefaultSettings,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(1),
nullptr);
}
if (!policy_map->Get(key::kHelpMeWriteSettings)) {
policy_map->Set(key::kHelpMeWriteSettings,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(1),
nullptr);
}
if (!policy_map->Get(key::kHistorySearchSettings)) {
policy_map->Set(key::kHistorySearchSettings,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(1),
nullptr);
}
if (!policy_map->Get(key::kNTPCustomBackgroundEnabled)) {
policy_map->Set(key::kNTPCustomBackgroundEnabled,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(true),
nullptr);
}
if (!policy_map->Get(key::kShowCastSessionsStartedByOtherDevices)) {
policy_map->Set(key::kShowCastSessionsStartedByOtherDevices,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(false),
nullptr);
}
if (!policy_map->Get(key::kShowFullUrlsInAddressBar)) {
policy_map->Set(key::kShowFullUrlsInAddressBar,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(false),
nullptr);
}
if (!policy_map->Get(key::kTabCompareSettings)) {
policy_map->Set(key::kTabCompareSettings,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(1),
nullptr);
}
if (!policy_map->Get(key::kTabOrganizerSettings)) {
policy_map->Set(key::kTabOrganizerSettings,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value(1),
nullptr);
}
}
void SetEnterpriseUsersSystemWideDefaults(PolicyMap* policy_map) {
if (!policy_map->Get(key::kDnsOverHttpsMode)) {
policy_map->Set(key::kDnsOverHttpsMode,
POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER,
POLICY_SOURCE_ENTERPRISE_DEFAULT,
base::Value("off"),
nullptr);
}
}
void SetEnterpriseUsersDefaults(PolicyMap* policy_map) {
SetEnterpriseUsersProfileDefaults(policy_map);
SetEnterpriseUsersSystemWideDefaults(policy_map);
}
#endif
const PolicyDetails* GetChromePolicyDetails(const std::string& policy) { … }
namespace key {
const char kAbusiveExperienceInterventionEnforce[] = …;
const char kAccessCodeCastDeviceDuration[] = …;
const char kAccessCodeCastEnabled[] = …;
const char kAccessControlAllowMethodsInCORSPreflightSpecConformant[] = …;
const char kAccessibilityImageLabelsEnabled[] = …;
const char kAdditionalDnsQueryTypesEnabled[] = …;
const char kAdsSettingForIntrusiveAdsSites[] = …;
const char kAdvancedProtectionAllowed[] = …;
const char kAllHttpAuthSchemesAllowedForOrigins[] = …;
const char kAllowBackForwardCacheForCacheControlNoStorePageEnabled[] = …;
const char kAllowCrossOriginAuthPrompt[] = …;
const char kAllowDeletingBrowserHistory[] = …;
const char kAllowDinosaurEasterEgg[] = …;
const char kAllowFileSelectionDialogs[] = …;
const char kAllowSystemNotifications[] = …;
const char kAllowWebAuthnWithBrokenTlsCerts[] = …;
const char kAllowedDomainsForApps[] = …;
const char kAllowedDomainsForAppsList[] = …;
const char kAlternateErrorPagesEnabled[] = …;
const char kAlternativeBrowserParameters[] = …;
const char kAlternativeBrowserPath[] = …;
const char kAlwaysOpenPdfExternally[] = …;
const char kAmbientAuthenticationInPrivateModesEnabled[] = …;
const char kAudioCaptureAllowed[] = …;
const char kAudioCaptureAllowedUrls[] = …;
const char kAudioSandboxEnabled[] = …;
const char kAuthNegotiateDelegateAllowlist[] = …;
const char kAuthNegotiateDelegateByKdcPolicy[] = …;
const char kAuthSchemes[] = …;
const char kAuthServerAllowlist[] = …;
const char kAutoFillEnabled[] = …;
const char kAutoLaunchProtocolsFromOrigins[] = …;
const char kAutoOpenAllowedForURLs[] = …;
const char kAutoOpenFileTypes[] = …;
const char kAutoSelectCertificateForUrls[] = …;
const char kAutofillAddressEnabled[] = …;
const char kAutofillCreditCardEnabled[] = …;
const char kAutomaticFullscreenAllowedForUrls[] = …;
const char kAutomaticFullscreenBlockedForUrls[] = …;
const char kAutoplayAllowed[] = …;
const char kAutoplayAllowlist[] = …;
const char kBackgroundModeEnabled[] = …;
const char kBasicAuthOverHttpEnabled[] = …;
const char kBatterySaverModeAvailability[] = …;
const char kBeforeunloadEventCancelByPreventDefaultEnabled[] = …;
const char kBlockExternalExtensions[] = …;
const char kBlockThirdPartyCookies[] = …;
const char kBookmarkBarEnabled[] = …;
const char kBrowserAddPersonEnabled[] = …;
const char kBrowserContextAwareAccessSignalsAllowlist[] = …;
const char kBrowserGuestModeEnabled[] = …;
const char kBrowserGuestModeEnforced[] = …;
const char kBrowserLabsEnabled[] = …;
const char kBrowserNetworkTimeQueriesEnabled[] = …;
const char kBrowserSignin[] = …;
const char kBrowserSwitcherDelay[] = …;
const char kBrowserSwitcherEnabled[] = …;
const char kBrowserSwitcherExternalGreylistUrl[] = …;
const char kBrowserSwitcherExternalSitelistUrl[] = …;
const char kBrowserSwitcherKeepLastChromeTab[] = …;
const char kBrowserSwitcherParsingMode[] = …;
const char kBrowserSwitcherUrlGreylist[] = …;
const char kBrowserSwitcherUrlList[] = …;
const char kBrowserThemeColor[] = …;
const char kBrowsingDataLifetime[] = …;
const char kBuiltInDnsClientEnabled[] = …;
const char kCACertificates[] = …;
const char kCACertificatesWithConstraints[] = …;
const char kCADistrustedCertificates[] = …;
const char kCAHintCertificates[] = …;
const char kCAPlatformIntegrationEnabled[] = …;
const char kCORSNonWildcardRequestHeadersSupport[] = …;
const char kCSSCustomStateDeprecatedSyntaxEnabled[] = …;
const char kCertificateTransparencyEnforcementDisabledForCas[] = …;
const char kCertificateTransparencyEnforcementDisabledForUrls[] = …;
const char kChromeDataRegionSetting[] = …;
const char kChromeForTestingAllowed[] = …;
const char kChromeVariations[] = …;
const char kClearBrowsingDataOnExitList[] = …;
const char kClickToCallEnabled[] = …;
const char kClipboardAllowedForUrls[] = …;
const char kClipboardBlockedForUrls[] = …;
const char kCloudExtensionRequestEnabled[] = …;
const char kCloudManagementEnrollmentMandatory[] = …;
const char kCloudManagementEnrollmentToken[] = …;
const char kCloudPolicyOverridesPlatformPolicy[] = …;
const char kCloudPrintProxyEnabled[] = …;
const char kCloudProfileReportingEnabled[] = …;
const char kCloudReportingEnabled[] = …;
const char kCloudReportingUploadFrequency[] = …;
const char kCloudUserPolicyMerge[] = …;
const char kCloudUserPolicyOverridesCloudMachinePolicy[] = …;
const char kCoalesceH2ConnectionsWithClientCertificatesForHosts[] = …;
const char kCommandLineFlagSecurityWarningsEnabled[] = …;
const char kComponentUpdatesEnabled[] = …;
const char kCompressionDictionaryTransportEnabled[] = …;
const char kCookiesAllowedForUrls[] = …;
const char kCookiesBlockedForUrls[] = …;
const char kCookiesSessionOnlyForUrls[] = …;
const char kCopyPreventionSettings[] = …;
const char kCreateThemesSettings[] = …;
const char kDNSInterceptionChecksEnabled[] = …;
const char kDataControlsRules[] = …;
const char kDataUrlInSvgUseEnabled[] = …;
const char kDefaultBrowserSettingEnabled[] = …;
const char kDefaultClipboardSetting[] = …;
const char kDefaultCookiesSetting[] = …;
const char kDefaultDirectSocketsSetting[] = …;
const char kDefaultDownloadDirectory[] = …;
const char kDefaultFileSystemReadGuardSetting[] = …;
const char kDefaultFileSystemWriteGuardSetting[] = …;
const char kDefaultGeolocationSetting[] = …;
const char kDefaultImagesSetting[] = …;
const char kDefaultInsecureContentSetting[] = …;
const char kDefaultJavaScriptJitSetting[] = …;
const char kDefaultJavaScriptOptimizerSetting[] = …;
const char kDefaultJavaScriptSetting[] = …;
const char kDefaultLocalFontsSetting[] = …;
const char kDefaultMediaStreamSetting[] = …;
const char kDefaultNotificationsSetting[] = …;
const char kDefaultPopupsSetting[] = …;
const char kDefaultPrinterSelection[] = …;
const char kDefaultSearchProviderAlternateURLs[] = …;
const char kDefaultSearchProviderContextMenuAccessAllowed[] = …;
const char kDefaultSearchProviderEnabled[] = …;
const char kDefaultSearchProviderEncodings[] = …;
const char kDefaultSearchProviderImageURL[] = …;
const char kDefaultSearchProviderImageURLPostParams[] = …;
const char kDefaultSearchProviderKeyword[] = …;
const char kDefaultSearchProviderName[] = …;
const char kDefaultSearchProviderNewTabURL[] = …;
const char kDefaultSearchProviderSearchURL[] = …;
const char kDefaultSearchProviderSearchURLPostParams[] = …;
const char kDefaultSearchProviderSuggestURL[] = …;
const char kDefaultSearchProviderSuggestURLPostParams[] = …;
const char kDefaultSensorsSetting[] = …;
const char kDefaultSerialGuardSetting[] = …;
const char kDefaultThirdPartyStoragePartitioningSetting[] = …;
const char kDefaultWebBluetoothGuardSetting[] = …;
const char kDefaultWebHidGuardSetting[] = …;
const char kDefaultWebUsbGuardSetting[] = …;
const char kDefaultWindowManagementSetting[] = …;
const char kDefaultWindowPlacementSetting[] = …;
const char kDeletingUndecryptablePasswordsEnabled[] = …;
const char kDesktopSharingHubEnabled[] = …;
const char kDevToolsGenAiSettings[] = …;
const char kDeveloperToolsAvailability[] = …;
const char kDeveloperToolsDisabled[] = …;
const char kDirectSocketsAllowedForUrls[] = …;
const char kDirectSocketsBlockedForUrls[] = …;
const char kDisable3DAPIs[] = …;
const char kDisableAuthNegotiateCnameLookup[] = …;
const char kDisablePrintPreview[] = …;
const char kDisableSafeBrowsingProceedAnyway[] = …;
const char kDisableScreenshots[] = …;
const char kDisabledSchemes[] = …;
const char kDiskCacheDir[] = …;
const char kDiskCacheSize[] = …;
const char kDnsOverHttpsMode[] = …;
const char kDnsOverHttpsTemplates[] = …;
const char kDomainReliabilityAllowed[] = …;
const char kDownloadDirectory[] = …;
const char kDownloadRestrictions[] = …;
const char kEditBookmarksEnabled[] = …;
const char kEnableAuthNegotiatePort[] = …;
const char kEnableExperimentalPolicies[] = …;
const char kEnableMediaRouter[] = …;
const char kEnableOnlineRevocationChecks[] = …;
const char kEncryptedClientHelloEnabled[] = …;
const char kEnterpriseCustomLabel[] = …;
const char kEnterpriseHardwarePlatformAPIEnabled[] = …;
const char kEnterpriseLogoUrl[] = …;
const char kEnterpriseProfileCreationKeepBrowsingData[] = …;
const char kEnterpriseRealTimeUrlCheckMode[] = …;
const char kExemptDomainFileTypePairsFromFileTypeDownloadWarnings[] = …;
const char kExplicitlyAllowedNetworkPorts[] = …;
const char kExtensionAllowedTypes[] = …;
const char kExtensionDeveloperModeSettings[] = …;
const char kExtensionExtendedBackgroundLifetimeForPortConnectionsToUrls[] = …;
const char kExtensionInstallAllowlist[] = …;
const char kExtensionInstallBlocklist[] = …;
const char kExtensionInstallForcelist[] = …;
const char kExtensionInstallSources[] = …;
const char kExtensionInstallTypeBlocklist[] = …;
const char kExtensionManifestV2Availability[] = …;
const char kExtensionSettings[] = …;
const char kExtensionUnpublishedAvailability[] = …;
const char kExternalProtocolDialogShowAlwaysOpenCheckbox[] = …;
const char kFeedbackSurveysEnabled[] = …;
const char kFetchKeepaliveDurationSecondsOnShutdown[] = …;
const char kFileOrDirectoryPickerWithoutGestureAllowedForOrigins[] = …;
const char kFileSystemReadAskForUrls[] = …;
const char kFileSystemReadBlockedForUrls[] = …;
const char kFileSystemWriteAskForUrls[] = …;
const char kFileSystemWriteBlockedForUrls[] = …;
const char kFirstPartySetsEnabled[] = …;
const char kFirstPartySetsOverrides[] = …;
const char kForceBrowserSignin[] = …;
const char kForceEphemeralProfiles[] = …;
const char kForceGoogleSafeSearch[] = …;
const char kForcePermissionPolicyUnloadDefaultEnabled[] = …;
const char kForceSafeSearch[] = …;
const char kForceYouTubeRestrict[] = …;
const char kForceYouTubeSafetyMode[] = …;
const char kForcedLanguages[] = …;
const char kFullscreenAllowed[] = …;
const char kGSSAPILibraryName[] = …;
const char kGenAILocalFoundationalModelSettings[] = …;
const char kGenAiDefaultSettings[] = …;
const char kGloballyScopeHTTPAuthCacheEnabled[] = …;
const char kGoogleSearchSidePanelEnabled[] = …;
const char kHSTSPolicyBypassList[] = …;
const char kHardwareAccelerationModeEnabled[] = …;
const char kHeadlessMode[] = …;
const char kHelpMeWriteSettings[] = …;
const char kHideWebStoreIcon[] = …;
const char kHighEfficiencyModeEnabled[] = …;
const char kHistoryClustersVisible[] = …;
const char kHistorySearchSettings[] = …;
const char kHomepageIsNewTabPage[] = …;
const char kHomepageLocation[] = …;
const char kHttpAllowlist[] = …;
const char kHttpsOnlyMode[] = …;
const char kHttpsUpgradesEnabled[] = …;
const char kIPv6ReachabilityOverrideEnabled[] = …;
const char kIdleTimeout[] = …;
const char kIdleTimeoutActions[] = …;
const char kImagesAllowedForUrls[] = …;
const char kImagesBlockedForUrls[] = …;
const char kImportAutofillFormData[] = …;
const char kImportBookmarks[] = …;
const char kImportHistory[] = …;
const char kImportHomepage[] = …;
const char kImportSavedPasswords[] = …;
const char kImportSearchEngine[] = …;
const char kIncognitoEnabled[] = …;
const char kIncognitoModeAvailability[] = …;
const char kInsecureContentAllowedForUrls[] = …;
const char kInsecureContentBlockedForUrls[] = …;
const char kInsecureFormsWarningsEnabled[] = …;
const char kInsecurePrivateNetworkRequestsAllowed[] = …;
const char kInsecurePrivateNetworkRequestsAllowedForUrls[] = …;
const char kIntensiveWakeUpThrottlingEnabled[] = …;
const char kIntranetRedirectBehavior[] = …;
const char kIsolateOrigins[] = …;
const char kJavaScriptAllowedForUrls[] = …;
const char kJavaScriptBlockedForUrls[] = …;
const char kJavaScriptJitAllowedForSites[] = …;
const char kJavaScriptJitBlockedForSites[] = …;
const char kJavaScriptOptimizerAllowedForSites[] = …;
const char kJavaScriptOptimizerBlockedForSites[] = …;
const char kJavascriptEnabled[] = …;
const char kKeyboardFocusableScrollersEnabled[] = …;
const char kLegacySameSiteCookieBehaviorEnabledForDomainList[] = …;
const char kLegacyTechReportAllowlist[] = …;
const char kLensDesktopNTPSearchEnabled[] = …;
const char kLensOverlaySettings[] = …;
const char kLensRegionSearchEnabled[] = …;
const char kLocalFontsAllowedForUrls[] = …;
const char kLocalFontsBlockedForUrls[] = …;
const char kLookalikeWarningAllowlistDomains[] = …;
const char kManagedAccountsSigninRestriction[] = …;
const char kManagedBookmarks[] = …;
const char kManagedConfigurationPerOrigin[] = …;
const char kMaxConnectionsPerProxy[] = …;
const char kMaxInvalidationFetchDelay[] = …;
const char kMediaRecommendationsEnabled[] = …;
const char kMediaRouterCastAllowAllIPs[] = …;
const char kMemorySaverModeSavings[] = …;
const char kMetricsReportingEnabled[] = …;
const char kMutationEventsEnabled[] = …;
const char kNTPCardsVisible[] = …;
const char kNTPCustomBackgroundEnabled[] = …;
const char kNTPMiddleSlotAnnouncementVisible[] = …;
const char kNativeMessagingAllowlist[] = …;
const char kNativeMessagingBlocklist[] = …;
const char kNativeMessagingUserLevelHosts[] = …;
const char kNetworkPredictionOptions[] = …;
const char kNetworkServiceSandboxEnabled[] = …;
const char kNewTabPageLocation[] = …;
const char kNotificationsAllowedForUrls[] = …;
const char kNotificationsBlockedForUrls[] = …;
const char kNtlmV2Enabled[] = …;
const char kOnBulkDataEntryEnterpriseConnector[] = …;
const char kOnFileAttachedEnterpriseConnector[] = …;
const char kOnFileDownloadedEnterpriseConnector[] = …;
const char kOnPrintEnterpriseConnector[] = …;
const char kOnSecurityEventEnterpriseConnector[] = …;
const char kOopPrintDriversAllowed[] = …;
const char kOriginAgentClusterDefaultEnabled[] = …;
const char kOutOfProcessSystemDnsResolutionEnabled[] = …;
const char kOverrideSecurityRestrictionsOnInsecureOrigin[] = …;
const char kPasswordDismissCompromisedAlertEnabled[] = …;
const char kPasswordLeakDetectionEnabled[] = …;
const char kPasswordManagerEnabled[] = …;
const char kPasswordProtectionChangePasswordURL[] = …;
const char kPasswordProtectionLoginURLs[] = …;
const char kPasswordProtectionWarningTrigger[] = …;
const char kPasswordSharingEnabled[] = …;
const char kPaymentMethodQueryEnabled[] = …;
const char kPdfLocalFileAccessAllowedForDomains[] = …;
const char kPdfUseSkiaRendererEnabled[] = …;
const char kPdfViewerOutOfProcessIframeEnabled[] = …;
const char kPolicyAtomicGroupsEnabled[] = …;
const char kPolicyDictionaryMultipleSourceMergeList[] = …;
const char kPolicyListMultipleSourceMergeList[] = …;
const char kPolicyRefreshRate[] = …;
const char kPolicyTestPageEnabled[] = …;
const char kPopupsAllowedForUrls[] = …;
const char kPopupsBlockedForUrls[] = …;
const char kPostQuantumKeyAgreementEnabled[] = …;
const char kPrefixedVideoFullscreenApiAvailability[] = …;
const char kPrintHeaderFooter[] = …;
const char kPrintPdfAsImageDefault[] = …;
const char kPrintPreviewUseSystemDefaultPrinter[] = …;
const char kPrintRasterizePdfDpi[] = …;
const char kPrinterTypeDenyList[] = …;
const char kPrintingAllowedBackgroundGraphicsModes[] = …;
const char kPrintingBackgroundGraphicsDefault[] = …;
const char kPrintingEnabled[] = …;
const char kPrintingPaperSizeDefault[] = …;
const char kPrivacySandboxAdMeasurementEnabled[] = …;
const char kPrivacySandboxAdTopicsEnabled[] = …;
const char kPrivacySandboxFingerprintingProtectionEnabled[] = …;
const char kPrivacySandboxIpProtectionEnabled[] = …;
const char kPrivacySandboxPromptEnabled[] = …;
const char kPrivacySandboxSiteEnabledAdsEnabled[] = …;
const char kPrivateNetworkAccessRestrictionsEnabled[] = …;
const char kProfileLabel[] = …;
const char kProfilePickerOnStartupAvailability[] = …;
const char kProfileReauthPrompt[] = …;
const char kProfileSeparationDataMigrationSettings[] = …;
const char kProfileSeparationDomainExceptionList[] = …;
const char kProfileSeparationSettings[] = …;
const char kPromotionalTabsEnabled[] = …;
const char kPromotionsEnabled[] = …;
const char kPromptForDownloadLocation[] = …;
const char kPromptOnMultipleMatchingCertificates[] = …;
const char kProvisionManagedClientCertificateForUser[] = …;
const char kProxyBypassList[] = …;
const char kProxyMode[] = …;
const char kProxyPacUrl[] = …;
const char kProxyServer[] = …;
const char kProxyServerMode[] = …;
const char kProxySettings[] = …;
const char kQRCodeGeneratorEnabled[] = …;
const char kQuicAllowed[] = …;
const char kRegisteredProtocolHandlers[] = …;
const char kRelatedWebsiteSetsEnabled[] = …;
const char kRelatedWebsiteSetsOverrides[] = …;
const char kRelaunchNotification[] = …;
const char kRelaunchNotificationPeriod[] = …;
const char kRelaunchWindow[] = …;
const char kRemoteAccessHostAllowClientPairing[] = …;
const char kRemoteAccessHostAllowFileTransfer[] = …;
const char kRemoteAccessHostAllowGnubbyAuth[] = …;
const char kRemoteAccessHostAllowPinAuthentication[] = …;
const char kRemoteAccessHostAllowRelayedConnection[] = …;
const char kRemoteAccessHostAllowRemoteAccessConnections[] = …;
const char kRemoteAccessHostAllowRemoteSupportConnections[] = …;
const char kRemoteAccessHostAllowUrlForwarding[] = …;
const char kRemoteAccessHostClientDomain[] = …;
const char kRemoteAccessHostClientDomainList[] = …;
const char kRemoteAccessHostClipboardSizeBytes[] = …;
const char kRemoteAccessHostDomain[] = …;
const char kRemoteAccessHostDomainList[] = …;
const char kRemoteAccessHostEnableUserInterface[] = …;
const char kRemoteAccessHostFirewallTraversal[] = …;
const char kRemoteAccessHostMatchUsername[] = …;
const char kRemoteAccessHostMaximumSessionDurationMinutes[] = …;
const char kRemoteAccessHostRequireCurtain[] = …;
const char kRemoteAccessHostUdpPortRange[] = …;
const char kRemoteDebuggingAllowed[] = …;
const char kReportExtensionsAndPluginsData[] = …;
const char kReportMachineIDData[] = …;
const char kReportPolicyData[] = …;
const char kReportUserIDData[] = …;
const char kReportVersionData[] = …;
const char kReportingEndpoints[] = …;
const char kRequireOnlineRevocationChecksForLocalAnchors[] = …;
const char kRestoreOnStartup[] = …;
const char kRestoreOnStartupURLs[] = …;
const char kRestrictSigninToPattern[] = …;
const char kRoamingProfileLocation[] = …;
const char kRoamingProfileSupportEnabled[] = …;
const char kSSLErrorOverrideAllowed[] = …;
const char kSSLErrorOverrideAllowedForOrigins[] = …;
const char kSafeBrowsingAllowlistDomains[] = …;
const char kSafeBrowsingDeepScanningEnabled[] = …;
const char kSafeBrowsingEnabled[] = …;
const char kSafeBrowsingExtendedReportingEnabled[] = …;
const char kSafeBrowsingProtectionLevel[] = …;
const char kSafeBrowsingProxiedRealTimeChecksAllowed[] = …;
const char kSafeBrowsingSurveysEnabled[] = …;
const char kSafeSitesFilterBehavior[] = …;
const char kSameOriginTabCaptureAllowedByOrigins[] = …;
const char kSandboxExternalProtocolBlocked[] = …;
const char kSavingBrowserHistoryDisabled[] = …;
const char kScreenCaptureAllowed[] = …;
const char kScreenCaptureAllowedByOrigins[] = …;
const char kScreenCaptureWithoutGestureAllowedForOrigins[] = …;
const char kScrollToTextFragmentEnabled[] = …;
const char kSearchSuggestEnabled[] = …;
const char kSecurityKeyPermitAttestation[] = …;
const char kSensorsAllowedForUrls[] = …;
const char kSensorsBlockedForUrls[] = …;
const char kSerialAllowAllPortsForUrls[] = …;
const char kSerialAllowUsbDevicesForUrls[] = …;
const char kSerialAskForUrls[] = …;
const char kSerialBlockedForUrls[] = …;
const char kSharedArrayBufferUnrestrictedAccessAllowed[] = …;
const char kSharedClipboardEnabled[] = …;
const char kShoppingListEnabled[] = …;
const char kShowAppsShortcutInBookmarkBar[] = …;
const char kShowCastIconInToolbar[] = …;
const char kShowCastSessionsStartedByOtherDevices[] = …;
const char kShowFullUrlsInAddressBar[] = …;
const char kShowHomeButton[] = …;
const char kSideSearchEnabled[] = …;
const char kSignedHTTPExchangeEnabled[] = …;
const char kSigninAllowed[] = …;
const char kSigninInterceptionEnabled[] = …;
const char kSitePerProcess[] = …;
const char kSiteSearchSettings[] = …;
const char kSpellCheckServiceEnabled[] = …;
const char kSpellcheckEnabled[] = …;
const char kSpellcheckLanguage[] = …;
const char kSpellcheckLanguageBlocklist[] = …;
const char kStandardizedBrowserZoomEnabled[] = …;
const char kStrictMimetypeCheckForWorkerScriptsEnabled[] = …;
const char kSuppressDifferentOriginSubframeDialogs[] = …;
const char kSuppressUnsupportedOSWarning[] = …;
const char kSyncDisabled[] = …;
const char kSyncTypesListDisabled[] = …;
const char kTabCaptureAllowedByOrigins[] = …;
const char kTabCompareSettings[] = …;
const char kTabDiscardingExceptions[] = …;
const char kTabOrganizerSettings[] = …;
const char kTaskManagerEndProcessEnabled[] = …;
const char kThirdPartyStoragePartitioningBlockedForOrigins[] = …;
const char kToolbarAvatarLabelSettings[] = …;
const char kTranslateEnabled[] = …;
const char kURLAllowlist[] = …;
const char kURLBlocklist[] = …;
const char kUnmanagedDeviceSignalsConsentFlowEnabled[] = …;
const char kUnsafelyTreatInsecureOriginAsSecure[] = …;
const char kUrlKeyedAnonymizedDataCollectionEnabled[] = …;
const char kUrlKeyedMetricsAllowed[] = …;
const char kUserAgentReduction[] = …;
const char kUserContextAwareAccessSignalsAllowlist[] = …;
const char kUserDataSnapshotRetentionLimit[] = …;
const char kUserFeedbackAllowed[] = …;
const char kVariationsRestrictParameter[] = …;
const char kVideoCaptureAllowed[] = …;
const char kVideoCaptureAllowedUrls[] = …;
const char kWPADQuickCheckEnabled[] = …;
const char kWebAppInstallForceList[] = …;
const char kWebAppSettings[] = …;
const char kWebAuthenticationRemoteProxiedRequestsAllowed[] = …;
const char kWebHidAllowAllDevicesForUrls[] = …;
const char kWebHidAllowDevicesForUrls[] = …;
const char kWebHidAllowDevicesWithHidUsagesForUrls[] = …;
const char kWebHidAskForUrls[] = …;
const char kWebHidBlockedForUrls[] = …;
const char kWebRtcEventLogCollectionAllowed[] = …;
const char kWebRtcIPHandling[] = …;
const char kWebRtcLocalIpsAllowedUrls[] = …;
const char kWebRtcTextLogCollectionAllowed[] = …;
const char kWebRtcUdpPortRange[] = …;
const char kWebUsbAllowDevicesForUrls[] = …;
const char kWebUsbAskForUrls[] = …;
const char kWebUsbBlockedForUrls[] = …;
const char kWindowCaptureAllowedByOrigins[] = …;
const char kWindowManagementAllowedForUrls[] = …;
const char kWindowManagementBlockedForUrls[] = …;
const char kWindowPlacementAllowedForUrls[] = …;
const char kWindowPlacementBlockedForUrls[] = …;
const char kZstdContentEncodingEnabled[] = …;
}
namespace group {
const char kActiveDirectoryManagement[] = …;
const char kAttestation[] = …;
const char kBrowserEventReporting[] = …;
const char kBrowserIdle[] = …;
const char kBrowserSwitcher[] = …;
const char kCloudReporting[] = …;
const char kCookiesSettings[] = …;
const char kDateAndTime[] = …;
const char kDefaultSearchProvider[] = …;
const char kDirectSocketsSettings[] = …;
const char kDisplay[] = …;
const char kDrive[] = …;
const char kExtensions[] = …;
const char kFloatingSso[] = …;
const char kGoogleCast[] = …;
const char kHomepage[] = …;
const char kImageSettings[] = …;
const char kJavascriptSettings[] = …;
const char kKerberosPrefilledConfig[] = …;
const char kKeygenSettings[] = …;
const char kKiosk[] = …;
const char kLegacySameSiteCookieBehaviorSettings[] = …;
const char kLocalFontsSettings[] = …;
const char kLoginScreenOrigins[] = …;
const char kNativeMessaging[] = …;
const char kNetworkFileShares[] = …;
const char kNotificationsSettings[] = …;
const char kPasswordManager[] = …;
const char kPasswordProtection[] = …;
const char kPinUnlock[] = …;
const char kPluginVm[] = …;
const char kPluginsSettings[] = …;
const char kPopupsSettings[] = …;
const char kPrivacySandbox[] = …;
const char kPrivateNetworkRequestSettings[] = …;
const char kProfileSeparation[] = …;
const char kProxy[] = …;
const char kQuickUnlock[] = …;
const char kRemoteAccess[] = …;
const char kRestoreOnStartup[] = …;
const char kSAML[] = …;
const char kSafeBrowsing[] = …;
const char kScreenCaptureSettings[] = …;
const char kSensorsSettings[] = …;
const char kSkyVaultSettings[] = …;
const char kSupervisedUsers[] = …;
const char kThirdPartyStoragePartitioningSettings[] = …;
const char kUserAndDeviceReporting[] = …;
const char kWebPrintingSettings[] = …;
const char kWebUsbSettings[] = …;
const char kWiFi[] = …;
const char kWindowManagementSettings[] = …;
namespace {
const char* const ActiveDirectoryManagement[] = …;
const char* const Attestation[] = …;
const char* const BrowserEventReporting[] = …;
const char* const BrowserIdle[] = …;
const char* const BrowserSwitcher[] = …;
const char* const CloudReporting[] = …;
const char* const CookiesSettings[] = …;
const char* const DateAndTime[] = …;
const char* const DefaultSearchProvider[] = …;
const char* const DirectSocketsSettings[] = …;
const char* const Display[] = …;
const char* const Drive[] = …;
const char* const Extensions[] = …;
const char* const FloatingSso[] = …;
const char* const GoogleCast[] = …;
const char* const Homepage[] = …;
const char* const ImageSettings[] = …;
const char* const JavascriptSettings[] = …;
const char* const KerberosPrefilledConfig[] = …;
const char* const KeygenSettings[] = …;
const char* const Kiosk[] = …;
const char* const LegacySameSiteCookieBehaviorSettings[] = …;
const char* const LocalFontsSettings[] = …;
const char* const LoginScreenOrigins[] = …;
const char* const NativeMessaging[] = …;
const char* const NetworkFileShares[] = …;
const char* const NotificationsSettings[] = …;
const char* const PasswordManager[] = …;
const char* const PasswordProtection[] = …;
const char* const PinUnlock[] = …;
const char* const PluginVm[] = …;
const char* const PluginsSettings[] = …;
const char* const PopupsSettings[] = …;
const char* const PrivacySandbox[] = …;
const char* const PrivateNetworkRequestSettings[] = …;
const char* const ProfileSeparation[] = …;
const char* const Proxy[] = …;
const char* const QuickUnlock[] = …;
const char* const RemoteAccess[] = …;
const char* const RestoreOnStartup[] = …;
const char* const SAML[] = …;
const char* const SafeBrowsing[] = …;
const char* const ScreenCaptureSettings[] = …;
const char* const SensorsSettings[] = …;
const char* const SkyVaultSettings[] = …;
const char* const SupervisedUsers[] = …;
const char* const ThirdPartyStoragePartitioningSettings[] = …;
const char* const UserAndDeviceReporting[] = …;
const char* const WebPrintingSettings[] = …;
const char* const WebUsbSettings[] = …;
const char* const WiFi[] = …;
const char* const WindowManagementSettings[] = …;
}
}
const AtomicGroup kPolicyAtomicGroupMappings[] = …;
const size_t kPolicyAtomicGroupMappingsLength = …;
namespace metapolicy {
const char* const kMerge[3] = …;
const char* const kPrecedence[2] = …;
}
const std::array<BooleanPolicyAccess, 210> kBooleanPolicyAccess { … };
const std::array<IntegerPolicyAccess, 79> kIntegerPolicyAccess { … };
const std::array<StringPolicyAccess, 76> kStringPolicyAccess { … };
const std::array<StringListPolicyAccess, 113> kStringListPolicyAccess { … };
}