//
// DO NOT MODIFY THIS FILE DIRECTLY!
// IT IS GENERATED BY generate_policy_source.py
// FROM gen/chrome/app/policy/policy_templates.json
//

#include "components/policy/policy_constants_mutable.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::test {

namespace internal = ::policy::internal;

[[maybe_unused]] const PolicyDetails kChromePolicyDetails[] = {
// is_deprecated, is_future, supports_dynamic_refresh, scope source_restriction id,
// max_external_data_size,
// risk tags, uses_local_state_and_profile_prefs
  // AIModeSettings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1367,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AccessControlAllowMethodsInCORSPreflightSpecConformant
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,       1028,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AccessibilityPerformanceFilteringAllowed
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,       1126,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AdditionalDnsQueryTypesEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        857,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AdsSettingForIntrusiveAdsSites
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        409,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AllHttpAuthSchemesAllowedForOrigins
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        950,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AllowBackForwardCacheForCacheControlNoStorePageEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1114,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AllowDeletingBrowserHistory
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,        187,                     0, { RISK_TAG_LOCAL_DATA_ACCESS, RISK_TAG_ADMIN_SHARING, RISK_TAG_NONE }, false },
  // AllowSocketPoolSizeRandomizationForProxies
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,       1447,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AllowWebAuthnWithBrokenTlsCerts
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1029,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AllowedDomainsForApps
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        331,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AllowedDomainsForAppsList
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1212,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AlternateErrorPagesEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,          5,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AndroidEntraSsoEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,       1438,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AuthAndroidNegotiateAccountType
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,        305,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AuthNegotiateDelegateAllowlist
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        746,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AuthSchemes
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,         26,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AuthServerAllowlist
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        747,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutoFillEnabled
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,         18,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutoSelectCertificateForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        102,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, true },
  // AutofillAddressEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        459,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutofillCreditCardEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        392,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutofillPredictionSettings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1300,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutofillSettings
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1459,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutomaticDownloadsAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1463,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutomaticDownloadsBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1464,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutomaticFullscreenAllowedForUrls
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1225,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutomaticFullscreenBlockedForUrls
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1226,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutoplayAllowed
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        430,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // AutoplayAllowlist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        742,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // BackForwardCacheEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        758,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // BackForwardCacheForWebSocketsAllowed
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1472,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // BlockExternalExtensions
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,        637,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // BlockThirdPartyCookies
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         39,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // BookmarkBarEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         82,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // BrowserSignin
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,        487,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // BrowsingDataLifetime
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        791,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // BuiltInDnsClientEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        165,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CACertificates
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1191,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CACertificatesWithConstraints
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1229,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CADistrustedCertificates
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1192,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CAHintCertificates
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1193,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CAPlatformIntegrationEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1196,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CORSNonWildcardRequestHeadersSupport
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        921,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CacheEncryptionEnabled
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1396,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CertificateTransparencyEnforcementDisabledForCas
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        435,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CertificateTransparencyEnforcementDisabledForUrls
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        335,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ChromeDataRegionSetting
  { false,        false,    false,           kSingleProfile,  kSourceRestrictionCloudOnly,  1253,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, true },
  // ChromeForTestingAllowed
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,       1213,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ChromeVariations
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        663,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ClearWindowNameForNewBrowsingContextGroup
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1361,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ClipboardAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        984,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ClipboardBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        985,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CloudExtensionRequestEnabled
  { false,        true,     true,            kProfile,        kSourceRestrictionCloudOnly,   608,                     0, { RISK_TAG_ADMIN_SHARING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // CloudManagementEnrollmentToken
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,        510,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CloudPolicyOverridesPlatformPolicy
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        381,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CloudProfileReportingEnabled
  { false,        false,    true,            kSingleProfile,  kSourceRestrictionCloudOnly,   942,                     0, { RISK_TAG_ADMIN_SHARING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // CloudReportingEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionCloudOnly,   493,                     0, { RISK_TAG_ADMIN_SHARING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // CloudReportingUploadFrequency
  { false,        false,    true,            kBrowser,        kSourceRestrictionCloudOnly,   962,                     0, { RISK_TAG_ADMIN_SHARING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // CloudUserPolicyMerge
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        859,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CloudUserPolicyOverridesCloudMachinePolicy
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        899,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CoalesceH2ConnectionsWithClientCertificatesForHosts
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        466,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ComponentUpdatesEnabled
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,        342,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ContextualSearchEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        281,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CookiesAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         77,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CookiesBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         67,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CookiesSessionOnlyForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         68,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // CpuPerformanceTierOverride
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1442,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DataControlsRules
  { false,        false,    true,            kProfile,        kSourceRestrictionCloudOnly,  1161,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DataURLWhitespacePreservationEnabled
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,       1298,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DataUrlInSvgUseEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1109,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DataUrlInWebWorkerOpaqueOriginEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1444,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultAutomaticDownloadsSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1462,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultClipboardSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        983,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultCookiesSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         48,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultGeolocationSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         54,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultIdleDetectionSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1407,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultImagesSetting
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,         49,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultJavaScriptJitSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        867,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultJavaScriptOptimizerSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1277,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultJavaScriptSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         50,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultNotificationsSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         53,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultPopupsSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         52,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSearchProviderAlternateURLs
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        161,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSearchProviderEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         40,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSearchProviderEncodings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         47,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSearchProviderImageURL
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        229,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSearchProviderImageURLPostParams
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        233,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSearchProviderName
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         41,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSearchProviderSearchURL
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         43,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSearchProviderSearchURLPostParams
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        230,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSearchProviderSuggestURL
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         44,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSearchProviderSuggestURLPostParams
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        231,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSensorsSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        754,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultSerialGuardSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        751,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultWebBluetoothGuardSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        320,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultWebHidGuardSetting
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,        943,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DefaultWebUsbGuardSetting
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        434,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DeveloperToolsAvailability
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        443,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DeveloperToolsAvailabilityAllowlist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1399,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DeveloperToolsAvailabilityBlocklist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1400,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DisableAuthNegotiateCnameLookup
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,         27,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DisableSafeBrowsingProceedAnyway
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        150,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DisableScreenshots
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        153,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DnsOverHttpsMode
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        582,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DnsOverHttpsTemplates
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        642,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DomainReliabilityAllowed
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,       1058,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // DownloadRestrictions
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        371,                     0, { RISK_TAG_LOCAL_DATA_ACCESS, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // EditBookmarksEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         83,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // EnableExperimentalPolicies
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        711,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // EnableMediaRouter
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,        333,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // EncryptedClientHelloEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        996,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // EnterpriseAuthenticationAppLinkPolicy
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        976,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // EnterpriseHardwarePlatformAPIEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        483,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // EnterpriseRealTimeUrlCheckMode
  { false,        false,    true,            kProfile,        kSourceRestrictionCloudOnly,   728,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ExplicitlyAllowedNetworkPorts
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        849,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_WEBSITE_SHARING,
    RISK_TAG_LOCAL_DATA_ACCESS }, false },
  // ExtensionAllowedTypes
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        168,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ExtensionDOMActivityLoggingEnabled
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1434,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ExtensionDeveloperModeSettings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1271,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ExtensionInstallAllowlist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        738,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ExtensionInstallBlocklist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        740,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ExtensionInstallCloudPolicyChecksEnabled
  { false,        true,     true,            kProfile,        kSourceRestrictionCloudOnly,  1390,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ExtensionInstallForcelist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         34,                     0, { RISK_TAG_FULL_ADMIN_ACCESS, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ExtensionInstallSources
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        148,                     0, { RISK_TAG_FULL_ADMIN_ACCESS, RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE
    }, false },
  // ExtensionSettings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        278,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ExtensionUnpublishedAvailability
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1071,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // FeedbackSurveysEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1182,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // FindAndFillWithGeminiSettings
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1474,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // FindsSettings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1439,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ForceBrowserSignin
  { true,         false,    false,           kBrowser,        kSourceRestrictionNone,        346,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ForceGoogleSafeSearch
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        282,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ForcePermissionPolicyUnloadDefaultEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,       1137,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ForceSafeSearch
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,        162,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ForceYouTubeRestrict
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        348,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ForceYouTubeSafetyMode
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,        283,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // GeminiActOnWebAllowedForURLs
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1420,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // GeminiActOnWebBlockedForURLs
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1421,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // GeminiActOnWebSettings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1402,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // GeminiSettings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1335,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // GenAILocalFoundationalModelSettings
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,       1251,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // GenAiDefaultSettings
  { false,        false,    true,            kProfile,        kSourceRestrictionCloudOnly,  1296,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // GeolocationBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1411,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // GloballyScopeHTTPAuthCacheEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        643,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // HSTSPolicyBypassList
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,        601,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // HappyEyeballsV3Enabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,       1349,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // HistoryClustersVisible
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        926,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // HomepageIsNewTabPage
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,          2,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // HomepageLocation
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,          1,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // HttpAllowlist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1082,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // HttpsOnlyMode
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        870,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // HttpsUpgradesEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1083,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IPv6ReachabilityOverrideEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,       1172,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IdleDetectionAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1408,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IdleDetectionBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1409,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IdleTimeout
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,        994,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IdleTimeoutActions
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1036,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ImagesAllowedForUrls
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,         69,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ImagesBlockedForUrls
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,         70,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IncognitoEnabled
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,         10,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IncognitoModeAvailability
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,         93,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IncognitoModeUrlAllowlist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1393,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IncognitoModeUrlBlocklist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1392,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // InsecureFormsWarningsEnabled
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,        748,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IntensiveWakeUpThrottlingEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        713,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IntranetRedirectBehavior
  { false,        true,     true,            kBrowser,        kSourceRestrictionNone,        792,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IsolateOrigins
  { false,        true,     false,           kBrowser,        kSourceRestrictionNone,        398,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IsolateOriginsAndroid
  { true,         false,    false,           kBrowser,        kSourceRestrictionNone,        445,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IsolateOriginsShortlist
  { false,        true,     false,           kBrowser,        kSourceRestrictionNone,       1460,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // IsolatedModeSettings
  { false,        true,     false,           kProfile,        kSourceRestrictionCloudOnly,  1451,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // JavaScriptAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         71,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // JavaScriptBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         72,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // JavaScriptJitAllowedForSites
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        868,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // JavaScriptJitBlockedForSites
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        869,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // JavaScriptOptimizerAllowedForSites
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1278,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // JavaScriptOptimizerBlockedForSites
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1279,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // JavascriptEnabled
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,          9,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LegacyCookieScopeEnabled
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1382,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LegacyCookieScopeEnabledForDomainList
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1383,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LegacyTechReportAllowlist
  { false,        false,    true,            kProfile,        kSourceRestrictionCloudOnly,  1101,                     0, { RISK_TAG_ADMIN_SHARING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // LensCameraAssistedSearchEnabled
  { true,         false,    false,           kBrowser,        kSourceRestrictionNone,        853,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ListenToThisPageEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1189,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LocalNetworkAccessAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1371,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LocalNetworkAccessBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1372,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LocalNetworkAccessIpAddressSpaceOverrides
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,       1423,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LocalNetworkAccessPermissionsPolicyDefaultEnabled
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,       1430,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LocalNetworkAccessRestrictionsTemporaryOptOut
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1401,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LocalNetworkAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1425,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LocalNetworkBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1426,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LookalikeWarningAllowlistDomains
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        782,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE }, false },
  // LoopbackNetworkAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1427,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // LoopbackNetworkBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1428,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ManagedBookmarks
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        227,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // MandatoryExtensionsForIncognitoNavigation
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1085,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // MaxConnectionsPerProxy
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,         92,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // MaxConnectionsPerProxyForWebSocket
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,       1436,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // MetricsReportingEnabled
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,         15,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // NTPContentSuggestionsEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        338,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // NTPCustomBackgroundEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        653,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // NetworkPredictionOptions
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        273,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // NewTabPageLocation
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,        360,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // NotificationsAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        105,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // NotificationsBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        106,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // NtlmV2Enabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        393,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // OnFileDownloadedEnterpriseConnector
  { false,        false,    true,            kProfile,        kSourceRestrictionCloudOnly,   696,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // OnNetworkRequestEnterpriseConnector
  { false,        true,     true,            kProfile,        kSourceRestrictionCloudOnly,  1475,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // OnSecurityEventEnterpriseConnector
  { false,        false,    true,            kProfile,        kSourceRestrictionCloudOnly,   699,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // OutOfProcessSystemDnsResolutionEnabled
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,       1070,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // OverrideSecurityRestrictionsOnInsecureOrigin
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,        457,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PartitionedBlobUrlUsage
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1326,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PasswordLeakDetectionEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        580,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PasswordManagerEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         16,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PasswordSharingEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1170,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PaymentMethodQueryEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        651,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PolicyAtomicGroupsEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        584,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PolicyDictionaryMultipleSourceMergeList
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        565,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PolicyListMultipleSourceMergeList
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        554,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PolicyTestPageEnabled
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1112,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PopupsAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         75,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PopupsBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         76,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PreciseGeolocationAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1410,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PreferSlowCiphers
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,       1398,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PreferSlowKexAlgorithms
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,       1394,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PrefetchWithServiceWorkerEnabled
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,       1365,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PrintingEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         12,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PrivacySandboxAdMeasurementEnabled
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,       1051,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PrivacySandboxAdTopicsEnabled
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,       1049,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PrivacySandboxPromptEnabled
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,       1048,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PrivacySandboxSiteEnabledAdsEnabled
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,       1050,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // PromptForDownloadLocation
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        395,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProtectedContentIdentifiersAllowed
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1381,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProvisionManagedClientCertificateForBrowser
  { false,        false,    true,            kBrowser,        kSourceRestrictionCloudOnly,  1334,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProvisionManagedClientCertificateForUser
  { false,        false,    true,            kProfile,        kSourceRestrictionCloudOnly,  1215,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProxyBypassList
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,         25,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProxyMode
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,         21,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProxyOverrideRules
  { false,        true,     true,            kProfile,        kSourceRestrictionCloudOnly,  1404,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProxyPacUrl
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,         24,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProxyProvisioningDomains
  { false,        true,     true,            kProfile,        kSourceRestrictionCloudOnly,  1466,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProxyServer
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,         23,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProxyServerMode
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,         22,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ProxySettings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        116,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // QRCodeGeneratorEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,       1281,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ReduceAcceptLanguageEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1345,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // RestrictAccountsToPatterns
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        410,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // RestrictBackgroundFetchFromServiceWorkerEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1456,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SSLErrorOverrideAllowed
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        300,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SSLErrorOverrideAllowedForOrigins
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        819,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SaasUsageReportingDomainUrlsForBrowsers
  { false,        true,     true,            kBrowser,        kSourceRestrictionCloudOnly,  1418,                     0, { RISK_TAG_ADMIN_SHARING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // SaasUsageReportingDomainUrlsForProfiles
  { false,        true,     true,            kSingleProfile,  kSourceRestrictionCloudOnly,  1419,                     0, { RISK_TAG_ADMIN_SHARING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // SafeBrowsingAllowlistDomains
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        732,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SafeBrowsingEnabled
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,         14,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SafeBrowsingExtendedReportingEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        429,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SafeBrowsingProtectionLevel
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        684,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE }, false },
  // SafeBrowsingProxiedRealTimeChecksAllowed
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1116,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE }, false },
  // SafeSitesFilterBehavior
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        455,                     0, { RISK_TAG_FILTERING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // SameOriginTabCaptureAllowedByOrigins
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        884,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SavingBrowserHistoryDisabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         11,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ScreenCaptureAllowed
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        666,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ScreenCaptureAllowedByOrigins
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        881,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ScrollToTextFragmentEnabled
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,        687,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SearchContentSharingSettings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1416,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SearchSuggestEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,          6,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SensorsAllowedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        755,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SensorsBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        756,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SerialAllowAllPortsForUrls
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,        837,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SerialAllowUsbDevicesForUrls
  { false,        true,     true,            kBrowser,        kSourceRestrictionNone,        838,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SerialAskForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        752,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SerialBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        753,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ServiceWorkerAutoPreloadEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1380,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ServiceWorkerToControlSrcdocIframeEnabled
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,       1333,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SharedWorkerBlobURLFixEnabled
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,       1313,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SharedWorkerExtendedLifetimeEnabled
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,       1435,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ShoppingListEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1018,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ShowFullUrlsInAddressBar
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,        739,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ShowHomeButton
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         35,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SigninAllowed
  { true,         false,    true,            kProfile,        kSourceRestrictionNone,        190,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SitePerProcessAndroid
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,        446,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // StandardizedBrowserZoomEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1286,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // StaticStorageQuotaEnabled
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,       1417,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // StrictMimetypeCheckForWorkerScriptsEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1013,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SuppressDifferentOriginSubframeDialogs
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        829,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // SyncDisabled
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,         20,                     0, { RISK_TAG_FILTERING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // SyncTypesListDisabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        649,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // TLS13EarlyDataEnabled
  { false,        false,    true,            kBrowser,        kSourceRestrictionNone,       1363,                     0, { RISK_TAG_SYSTEM_SECURITY, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // TabCaptureAllowedByOrigins
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        883,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // TabCompareSettings
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1291,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // TabGroupSharingSettings
  { false,        false,    true,            kSingleProfile,  kSourceRestrictionCloudOnly,  1358,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ThirdPartyAiChatSettings
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1467,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // ThirdPartyPasswordManagersAllowed
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,       1267,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // TosDialogBehavior
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,        801,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // TranslateEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,         80,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // URLAllowlist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        737,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // URLBlocklist
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        736,                     0, { RISK_TAG_FILTERING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // UrlKeyedAnonymizedDataCollectionEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        461,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // UrlKeyedMetricsAllowed
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1113,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // UserFeedbackAllowed
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        570,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // UserSecurityAuthenticatedReporting
  { false,        false,    true,            kSingleProfile,  kSourceRestrictionCloudOnly,  1348,                     0, { RISK_TAG_ADMIN_SHARING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // UserSecuritySignalsReporting
  { false,        false,    true,            kSingleProfile,  kSourceRestrictionCloudOnly,  1347,                     0, { RISK_TAG_ADMIN_SHARING, RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE }, false },
  // VariationsRestrictParameter
  { false,        false,    false,           kBrowser,        kSourceRestrictionNone,        196,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // VirtualKeyboardResizesLayoutByDefault
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1024,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebAudioOutputBufferingEnabled
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,       1310,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebAuthenticationRemoteDesktopAllowedOrigins
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1332,                     0, { RISK_TAG_FULL_ADMIN_ACCESS, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebHidAllowAllDevicesForUrls
  { false,        true,     true,            kBrowser,        kSourceRestrictionNone,        953,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebHidAllowDevicesForUrls
  { false,        true,     true,            kBrowser,        kSourceRestrictionNone,        954,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebHidAllowDevicesWithHidUsagesForUrls
  { false,        true,     true,            kBrowser,        kSourceRestrictionNone,        955,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebHidAskForUrls
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,        944,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebHidBlockedForUrls
  { false,        true,     true,            kProfile,        kSourceRestrictionNone,        945,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebRtcEventLogCollectionAllowed
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        464,                     0, { RISK_TAG_GOOGLE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebRtcUdpPortRange
  { false,        false,    false,           kProfile,        kSourceRestrictionNone,        339,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebUsbAllowDevicesForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        486,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebUsbAskForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        439,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebUsbBlockedForUrls
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        440,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WebXRImmersiveArEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        820,                     0, { RISK_TAG_WEBSITE_SHARING, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // WindowCaptureAllowedByOrigins
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,        882,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
  // XSLTEnabled
  { false,        false,    true,            kProfile,        kSourceRestrictionNone,       1429,                     0, { RISK_TAG_NONE, RISK_TAG_NONE, RISK_TAG_NONE }, false },
};

const char* const kSensitivePolicies[] = {
    key::kDefaultSearchProviderEnabled,
    key::kHomepageIsNewTabPage,
    key::kHomepageLocation,
    key::kMetricsReportingEnabled,
    key::kNewTabPageLocation,
    key::kSafeBrowsingAllowlistDomains,
    key::kSafeBrowsingEnabled,
};

base::span<const char* const> GetSensitivePolicies() {
  return kSensitivePolicies;
}

const internal::SchemaNode kSchemas[] = {
//  Type                           Extra  IsSensitiveValue HasSensitiveChildren
  { base::Value::Type::DICT,          47, false,           false },  // root node
  { base::Value::Type::INTEGER,        0, false,           false },  // integer with enumeration restriction (use range instead): AIModeSettings
                                                                     // integer with enumeration restriction (use range instead): AndroidEntraSsoEnabled
                                                                     // integer with enumeration restriction (use range instead): EnterpriseRealTimeUrlCheckMode
                                                                     // integer with enumeration restriction (use range instead): ExtensionDeveloperModeSettings
                                                                     // integer with enumeration restriction (use range instead): ExtensionUnpublishedAvailability
                                                                     // integer with enumeration restriction (use range instead): GeminiActOnWebSettings
                                                                     // integer with enumeration restriction (use range instead): GeminiSettings
                                                                     // integer with enumeration restriction (use range instead): GenAILocalFoundationalModelSettings
                                                                     // integer with enumeration restriction (use range instead): IsolatedModeSettings
                                                                     // integer with enumeration restriction (use range instead): LegacyCookieScopeEnabled
                                                                     // integer with enumeration restriction (use range instead): ProvisionManagedClientCertificateForBrowser
                                                                     // integer with enumeration restriction (use range instead): ProvisionManagedClientCertificateForUser
                                                                     // integer with enumeration restriction (use range instead): SafeSitesFilterBehavior
                                                                     // integer with enumeration restriction (use range instead): SearchContentSharingSettings
                                                                     // integer with enumeration restriction (use range instead): TabGroupSharingSettings
                                                                     // integer with enumeration restriction (use range instead): ThirdPartyAiChatSettings
  { base::Value::Type::BOOLEAN,       -1, false,           false },  // simple type: boolean
  { base::Value::Type::INTEGER,        1, false,           false },  // integer with enumeration restriction (use range instead): AdsSettingForIntrusiveAdsSites
                                                                     // integer with enumeration restriction (use range instead): DefaultImagesSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultJavaScriptJitSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultJavaScriptOptimizerSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultJavaScriptSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultPopupsSetting
                                                                     // integer with enumeration restriction (use range instead): TosDialogBehavior
  { base::Value::Type::STRING,        -1, false,           false },  // simple type: string
  { base::Value::Type::LIST,           4, false,           false },  // 
  { base::Value::Type::INTEGER,        2, false,           false },  // integer with enumeration restriction (use range instead): AutofillPredictionSettings
                                                                     // integer with enumeration restriction (use range instead): BrowserSignin
                                                                     // integer with enumeration restriction (use range instead): ChromeDataRegionSetting
                                                                     // integer with enumeration restriction (use range instead): ChromeVariations
                                                                     // integer with enumeration restriction (use range instead): DeveloperToolsAvailability
                                                                     // integer with enumeration restriction (use range instead): FindAndFillWithGeminiSettings
                                                                     // integer with enumeration restriction (use range instead): FindsSettings
                                                                     // integer with enumeration restriction (use range instead): ForceYouTubeRestrict
                                                                     // integer with enumeration restriction (use range instead): GenAiDefaultSettings
                                                                     // integer with enumeration restriction (use range instead): IncognitoModeAvailability
                                                                     // integer with enumeration restriction (use range instead): NetworkPredictionOptions
                                                                     // integer with enumeration restriction (use range instead): SafeBrowsingProtectionLevel
                                                                     // integer with enumeration restriction (use range instead): TabCompareSettings
  { base::Value::Type::DICT,           0, false,           false },  // items of AutofillSettings
  { base::Value::Type::STRING,         3, false,           false },  // string with enumeration restriction: items of blocked_types
  { base::Value::Type::LIST,           8, false,           false },  // 
  { base::Value::Type::LIST,           7, false,           false },  // 
  { base::Value::Type::DICT,           1, false,           false },  // items of BrowsingDataLifetime
  { base::Value::Type::STRING,         4, false,           false },  // string with enumeration restriction: items of data_types
  { base::Value::Type::LIST,          12, false,           false },  // 
  { base::Value::Type::INTEGER,        5, false,           false },  // integer with ranged restriction: IdleTimeout
                                                                     // integer with ranged restriction: time_to_live_in_hours
  { base::Value::Type::LIST,          11, false,           false },  // 
  { base::Value::Type::DICT,           3, false,           false },  // items of CACertificatesWithConstraints
  { base::Value::Type::DICT,           2, false,           false },  // constraints
  { base::Value::Type::LIST,          16, false,           false },  // 
  { base::Value::Type::INTEGER,        6, false,           false },  // integer with ranged restriction: CloudReportingUploadFrequency
  { base::Value::Type::INTEGER,        7, false,           false },  // integer with enumeration restriction (use range instead): DownloadRestrictions
                                                                     // integer with ranged restriction: CpuPerformanceTierOverride
  { base::Value::Type::DICT,          16, false,           false },  // items of DataControlsRules
  { base::Value::Type::DICT,           6, false,           false },  // items of and
  { base::Value::Type::LIST,          22, false,           false },  // 
  { base::Value::Type::DICT,           4, false,           false },  // destinations
  { base::Value::Type::DICT,           5, false,           false },  // sources
  { base::Value::Type::INTEGER,       -1, false,           false },  // simple type: integer
  { base::Value::Type::LIST,          22, false,           false },  // 
  { base::Value::Type::DICT,           7, false,           false },  // destinations
  { base::Value::Type::DICT,          10, false,           false },  // not
  { base::Value::Type::DICT,           8, false,           false },  // destinations
  { base::Value::Type::DICT,           9, false,           false },  // sources
  { base::Value::Type::DICT,          13, false,           false },  // items of or
  { base::Value::Type::DICT,          11, false,           false },  // destinations
  { base::Value::Type::DICT,          12, false,           false },  // sources
  { base::Value::Type::LIST,          32, false,           false },  // 
  { base::Value::Type::DICT,          14, false,           false },  // items of restrictions
  { base::Value::Type::STRING,         8, false,           false },  // string with enumeration restriction: class
  { base::Value::Type::STRING,         9, false,           false },  // string with enumeration restriction: level
  { base::Value::Type::LIST,          36, false,           false },  // 
  { base::Value::Type::DICT,          15, false,           false },  // sources
  { base::Value::Type::INTEGER,       10, false,           false },  // integer with ranged restriction: size_higher_than
                                                                     // integer with ranged restriction: size_lower_than
  { base::Value::Type::LIST,          21, false,           false },  // 
  { base::Value::Type::INTEGER,       11, false,           false },  // integer with enumeration restriction (use range instead): DefaultAutomaticDownloadsSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultGeolocationSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultIdleDetectionSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultNotificationsSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultSensorsSetting
  { base::Value::Type::INTEGER,       12, false,           false },  // integer with enumeration restriction (use range instead): DefaultClipboardSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultSerialGuardSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultWebBluetoothGuardSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultWebHidGuardSetting
                                                                     // integer with enumeration restriction (use range instead): DefaultWebUsbGuardSetting
  { base::Value::Type::INTEGER,       13, false,           false },  // integer with enumeration restriction: DefaultCookiesSetting
  { base::Value::Type::STRING,        14, false,           false },  // string with enumeration restriction: DnsOverHttpsMode
  { base::Value::Type::DICT,          17, false,           false },  // items of EnterpriseAuthenticationAppLinkPolicy
  { base::Value::Type::LIST,          47, false,           false },  // 
  { base::Value::Type::STRING,        15, false,           false },  // string with enumeration restriction: items of ExplicitlyAllowedNetworkPorts
  { base::Value::Type::LIST,          49, false,           false },  // 
  { base::Value::Type::STRING,        16, false,           false },  // string with enumeration restriction: items of ExtensionAllowedTypes
  { base::Value::Type::LIST,          51, false,           false },  // 
  { base::Value::Type::DICT,          21, false,           false },  // ExtensionSettings
  { base::Value::Type::DICT,          18, false,           false },  // *
  { base::Value::Type::STRING,        17, false,           false },  // string with enumeration restriction: items of allowed_types
  { base::Value::Type::LIST,          55, false,           false },  // 
  { base::Value::Type::STRING,        18, false,           false },  // string with pattern restriction: items of blocked_permissions
  { base::Value::Type::LIST,          57, false,           false },  // 
  { base::Value::Type::STRING,        19, false,           false },  // string with enumeration restriction: installation_mode
  { base::Value::Type::DICT,          19, false,           false },  // ^[a-p]{32}(?:,[a-p]{32})*,?$
  { base::Value::Type::STRING,        20, false,           false },  // string with pattern restriction: items of allowed_permissions
  { base::Value::Type::LIST,          61, false,           false },  // 
  { base::Value::Type::STRING,        21, false,           false },  // string with pattern restriction: items of blocked_permissions
  { base::Value::Type::LIST,          63, false,           false },  // 
  { base::Value::Type::STRING,        22, false,           false },  // string with enumeration restriction: installation_mode
  { base::Value::Type::STRING,        23, false,           false },  // string with pattern restriction: minimum_version_required
  { base::Value::Type::STRING,        24, false,           false },  // string with enumeration restriction: toolbar_pin
  { base::Value::Type::DICT,          20, false,           false },  // ^update_url:
  { base::Value::Type::STRING,        25, false,           false },  // string with pattern restriction: items of allowed_permissions
  { base::Value::Type::LIST,          69, false,           false },  // 
  { base::Value::Type::STRING,        26, false,           false },  // string with pattern restriction: items of blocked_permissions
  { base::Value::Type::LIST,          71, false,           false },  // 
  { base::Value::Type::STRING,        27, false,           false },  // string with enumeration restriction: installation_mode
  { base::Value::Type::STRING,        28, false,           false },  // string with pattern restriction: items of HSTSPolicyBypassList
  { base::Value::Type::LIST,          74, false,           false },  // 
  { base::Value::Type::STRING,        29, false,           false },  // string with enumeration restriction: HttpsOnlyMode
  { base::Value::Type::STRING,        30, false,           false },  // string with enumeration restriction: items of IdleTimeoutActions
  { base::Value::Type::LIST,          77, false,           false },  // 
  { base::Value::Type::INTEGER,       31, false,           false },  // integer with enumeration restriction (use range instead): IntranetRedirectBehavior
                                                                     // integer with enumeration restriction (use range instead): ProxyServerMode
  { base::Value::Type::DICT,          22, false,           false },  // items of ManagedBookmarks
  { base::Value::Type::LIST,          80, false,           false },  // 
  { base::Value::Type::LIST,          80, false,           false },  // 
  { base::Value::Type::INTEGER,       32, false,           false },  // integer with ranged restriction: MaxConnectionsPerProxy
                                                                     // integer with ranged restriction: MaxConnectionsPerProxyForWebSocket
  { base::Value::Type::DICT,          27, false,           false },  // items of OnFileDownloadedEnterpriseConnector
  { base::Value::Type::DICT,          23, false,           false },  // items of custom_messages
  { base::Value::Type::LIST,          85, false,           false },  // 
  { base::Value::Type::STRING,        33, false,           false },  // string with enumeration restriction: default_action
  { base::Value::Type::DICT,          24, false,           false },  // items of disable
  { base::Value::Type::LIST,          88, false,           false },  // 
  { base::Value::Type::DICT,          25, false,           false },  // items of enable
  { base::Value::Type::LIST,          90, false,           false },  // 
  { base::Value::Type::STRING,        34, false,           false },  // string with enumeration restriction: service_provider
  { base::Value::Type::DICT,          26, false,           false },  // verification
  { base::Value::Type::LIST,          84, false,           false },  // 
  { base::Value::Type::DICT,          29, false,           false },  // items of OnNetworkRequestEnterpriseConnector
  { base::Value::Type::DICT,          28, false,           false },  // audit
  { base::Value::Type::LIST,          95, false,           false },  // 
  { base::Value::Type::DICT,          31, false,           false },  // items of OnSecurityEventEnterpriseConnector
  { base::Value::Type::DICT,          30, false,           false },  // items of enabled_opt_in_events
  { base::Value::Type::LIST,          99, false,           false },  // 
  { base::Value::Type::STRING,        35, false,           false },  // string with enumeration restriction: service_provider
  { base::Value::Type::LIST,          98, false,           false },  // 
  { base::Value::Type::STRING,        36, false,           false },  // string with enumeration restriction: items of PolicyDictionaryMultipleSourceMergeList
  { base::Value::Type::LIST,         103, false,           false },  // 
  { base::Value::Type::STRING,        37, false,           false },  // string with enumeration restriction: PreferSlowCiphers
  { base::Value::Type::STRING,        38, false,           false },  // string with enumeration restriction: PreferSlowKexAlgorithms
  { base::Value::Type::STRING,        39, false,           false },  // string with enumeration restriction: ProxyMode
  { base::Value::Type::DICT,          34, false,           false },  // items of ProxyOverrideRules
  { base::Value::Type::DICT,          33, false,           false },  // items of Conditions
  { base::Value::Type::DICT,          32, false,           false },  // DnsProbe
  { base::Value::Type::STRING,        40, false,           false },  // string with enumeration restriction: Result
  { base::Value::Type::LIST,         109, false,           false },  // 
  { base::Value::Type::LIST,         108, false,           false },  // 
  { base::Value::Type::DICT,          37, false,           false },  // items of ProxyProvisioningDomains
  { base::Value::Type::DICT,          35, false,           false },  // auth_config
  { base::Value::Type::STRING,        41, false,           false },  // string with enumeration restriction: type
  { base::Value::Type::DICT,          36, false,           false },  // items of extra_headers
  { base::Value::Type::LIST,         117, false,           false },  // 
  { base::Value::Type::LIST,         114, false,           false },  // 
  { base::Value::Type::DICT,          38, false,           false },  // ProxySettings
  { base::Value::Type::STRING,        42, false,           false },  // string with enumeration restriction: ProxyMode
  { base::Value::Type::DICT,          40, false,           false },  // items of SerialAllowUsbDevicesForUrls
  { base::Value::Type::DICT,          39, false,           false },  // items of devices
  { base::Value::Type::INTEGER,       43, false,           false },  // integer with ranged restriction: product_id
                                                                     // integer with ranged restriction: usage
                                                                     // integer with ranged restriction: usage_page
                                                                     // integer with ranged restriction: vendor_id
  { base::Value::Type::LIST,         123, false,           false },  // 
  { base::Value::Type::LIST,         122, false,           false },  // 
  { base::Value::Type::DICT,          42, false,           false },  // items of WebHidAllowDevicesForUrls
  { base::Value::Type::DICT,          41, false,           false },  // items of devices
  { base::Value::Type::LIST,         128, false,           false },  // 
  { base::Value::Type::LIST,         127, false,           false },  // 
  { base::Value::Type::DICT,          44, false,           false },  // items of WebHidAllowDevicesWithHidUsagesForUrls
  { base::Value::Type::DICT,          43, false,           false },  // items of usages
  { base::Value::Type::LIST,         132, false,           false },  // 
  { base::Value::Type::LIST,         131, false,           false },  // 
  { base::Value::Type::DICT,          46, false,           false },  // items of WebUsbAllowDevicesForUrls
  { base::Value::Type::DICT,          45, false,           false },  // items of devices
  { base::Value::Type::LIST,         136, false,           false },  // 
  { base::Value::Type::LIST,         135, false,           false },  // 
  { base::Value::Type::DICT,          52, false,           false },  // validation_schema root node
  { base::Value::Type::DICT,          51, false,           false },  // items of AutoSelectCertificateForUrls
  { base::Value::Type::DICT,          50, false,           false },  // filter
  { base::Value::Type::DICT,          48, false,           false },  // ISSUER
  { base::Value::Type::DICT,          49, false,           false },  // SUBJECT
  { base::Value::Type::LIST,         140, false,           false },  // 
};

const internal::PropertyNode kPropertyNodes[] = {
//  Property                                                             Schema
  { "blocked_types",                                                      9 },
  { "url_pattern",                                                        4 },
  { "data_types",                                                        13 },
  { "time_to_live_in_hours",                                             14 },
  { "permitted_cidrs",                                                    5 },
  { "permitted_dns_names",                                                5 },
  { "certificate",                                                        4 },
  { "constraints",                                                       17 },
  { "gemini_in_chrome",                                                   2 },
  { "incognito",                                                          2 },
  { "os_clipboard",                                                       2 },
  { "other_profile",                                                      2 },
  { "url_regexprs",                                                       5 },
  { "urls",                                                               5 },
  { "gemini_in_chrome",                                                   2 },
  { "incognito",                                                          2 },
  { "os_clipboard",                                                       2 },
  { "other_profile",                                                      2 },
  { "size_higher_than",                                                  26 },
  { "size_lower_than",                                                   26 },
  { "url_regexprs",                                                       5 },
  { "urls",                                                               5 },
  { "and",                                                               23 },
  { "destinations",                                                      24 },
  { "not",                                                               22 },
  { "or",                                                                23 },
  { "sources",                                                           25 },
  { "gemini_in_chrome",                                                   2 },
  { "incognito",                                                          2 },
  { "os_clipboard",                                                       2 },
  { "other_profile",                                                      2 },
  { "url_regexprs",                                                       5 },
  { "urls",                                                               5 },
  { "gemini_in_chrome",                                                   2 },
  { "incognito",                                                          2 },
  { "os_clipboard",                                                       2 },
  { "other_profile",                                                      2 },
  { "url_regexprs",                                                       5 },
  { "urls",                                                               5 },
  { "gemini_in_chrome",                                                   2 },
  { "incognito",                                                          2 },
  { "os_clipboard",                                                       2 },
  { "other_profile",                                                      2 },
  { "size_higher_than",                                                  26 },
  { "size_lower_than",                                                   26 },
  { "url_regexprs",                                                       5 },
  { "urls",                                                               5 },
  { "and",                                                               23 },
  { "destinations",                                                      30 },
  { "not",                                                               22 },
  { "or",                                                                23 },
  { "sources",                                                           31 },
  { "gemini_in_chrome",                                                   2 },
  { "incognito",                                                          2 },
  { "os_clipboard",                                                       2 },
  { "other_profile",                                                      2 },
  { "url_regexprs",                                                       5 },
  { "urls",                                                               5 },
  { "gemini_in_chrome",                                                   2 },
  { "incognito",                                                          2 },
  { "os_clipboard",                                                       2 },
  { "other_profile",                                                      2 },
  { "size_higher_than",                                                  26 },
  { "size_lower_than",                                                   26 },
  { "url_regexprs",                                                       5 },
  { "urls",                                                               5 },
  { "and",                                                               23 },
  { "destinations",                                                      33 },
  { "not",                                                               22 },
  { "or",                                                                23 },
  { "sources",                                                           34 },
  { "class",                                                             37 },
  { "level",                                                             38 },
  { "gemini_in_chrome",                                                   2 },
  { "incognito",                                                          2 },
  { "os_clipboard",                                                       2 },
  { "other_profile",                                                      2 },
  { "size_higher_than",                                                  41 },
  { "size_lower_than",                                                   41 },
  { "url_regexprs",                                                       5 },
  { "urls",                                                               5 },
  { "and",                                                               27 },
  { "description",                                                        4 },
  { "destinations",                                                      28 },
  { "name",                                                               4 },
  { "not",                                                               29 },
  { "or",                                                                35 },
  { "restrictions",                                                      39 },
  { "rule_id",                                                            4 },
  { "sources",                                                           40 },
  { "url",                                                                4 },
  { "allowed_types",                                                     56 },
  { "blocked_install_message",                                            4 },
  { "blocked_permissions",                                               58 },
  { "install_sources",                                                    5 },
  { "installation_mode",                                                 59 },
  { "runtime_allowed_hosts",                                              5 },
  { "runtime_blocked_hosts",                                              5 },
  { "allowed_permissions",                                               62 },
  { "blocked_install_message",                                            4 },
  { "blocked_permissions",                                               64 },
  { "file_url_navigation_allowed",                                        2 },
  { "installation_mode",                                                 65 },
  { "minimum_version_required",                                          66 },
  { "override_update_url",                                                2 },
  { "runtime_allowed_hosts",                                              5 },
  { "runtime_blocked_hosts",                                              5 },
  { "toolbar_pin",                                                       67 },
  { "update_url",                                                         4 },
  { "allowed_permissions",                                               70 },
  { "blocked_permissions",                                               72 },
  { "installation_mode",                                                 73 },
  { "*",                                                                 54 },
  { "^[a-p]{32}(?:,[a-p]{32})*,?$",                                      60 },
  { "^update_url:",                                                      68 },
  { "children",                                                          81 },
  { "name",                                                               4 },
  { "toplevel_name",                                                      4 },
  { "url",                                                                4 },
  { "language",                                                           4 },
  { "learn_more_url",                                                     4 },
  { "message",                                                            4 },
  { "tag",                                                                4 },
  { "tags",                                                               5 },
  { "url_list",                                                           5 },
  { "tags",                                                               5 },
  { "url_list",                                                           5 },
  { "linux",                                                              5 },
  { "mac",                                                                5 },
  { "windows",                                                            5 },
  { "block_large_files",                                                  2 },
  { "block_password_protected",                                           2 },
  { "block_until_verdict",                                               26 },
  { "custom_messages",                                                   86 },
  { "default_action",                                                    87 },
  { "disable",                                                           89 },
  { "enable",                                                            91 },
  { "require_justification_tags",                                         5 },
  { "service_provider",                                                  92 },
  { "verification",                                                      93 },
  { "request_domain",                                                     5 },
  { "tab_domain",                                                         5 },
  { "tags",                                                               5 },
  { "audit",                                                             96 },
  { "name",                                                               4 },
  { "url_patterns",                                                       5 },
  { "enabled_event_names",                                                5 },
  { "enabled_opt_in_events",                                            100 },
  { "service_provider",                                                 101 },
  { "Host",                                                               4 },
  { "Result",                                                           111 },
  { "DnsProbe",                                                         110 },
  { "Conditions",                                                       112 },
  { "DestinationMatchers",                                                5 },
  { "ExcludeDestinationMatchers",                                         5 },
  { "ProxyList",                                                          5 },
  { "scope",                                                              4 },
  { "type",                                                             116 },
  { "key",                                                                4 },
  { "value",                                                              4 },
  { "auth_config",                                                      115 },
  { "extra_headers",                                                    118 },
  { "pvd_id",                                                             4 },
  { key::kProxyBypassList,                                                4 },
  { key::kProxyMode,                                                    121 },
  { "ProxyPacMandatory",                                                  2 },
  { key::kProxyPacUrl,                                                    4 },
  { key::kProxyServer,                                                    4 },
  { key::kProxyServerMode,                                               79 },
  { "product_id",                                                       124 },
  { "vendor_id",                                                        124 },
  { "devices",                                                          125 },
  { "urls",                                                               5 },
  { "product_id",                                                       124 },
  { "vendor_id",                                                        124 },
  { "devices",                                                          129 },
  { "urls",                                                               5 },
  { "usage",                                                            124 },
  { "usage_page",                                                       124 },
  { "urls",                                                               5 },
  { "usages",                                                           133 },
  { "product_id",                                                       124 },
  { "vendor_id",                                                        124 },
  { "devices",                                                          137 },
  { "urls",                                                               5 },
  { key::kAIModeSettings,                                                 1 },
  { key::kAccessControlAllowMethodsInCORSPreflightSpecConformant,         2 },
  { key::kAccessibilityPerformanceFilteringAllowed,                       2 },
  { key::kAdditionalDnsQueryTypesEnabled,                                 2 },
  { key::kAdsSettingForIntrusiveAdsSites,                                 3 },
  { key::kAllHttpAuthSchemesAllowedForOrigins,                            5 },
  { key::kAllowBackForwardCacheForCacheControlNoStorePageEnabled,         2 },
  { key::kAllowDeletingBrowserHistory,                                    2 },
  { key::kAllowSocketPoolSizeRandomizationForProxies,                     2 },
  { key::kAllowWebAuthnWithBrokenTlsCerts,                                2 },
  { key::kAllowedDomainsForApps,                                          4 },
  { key::kAllowedDomainsForAppsList,                                      5 },
  { key::kAlternateErrorPagesEnabled,                                     2 },
  { key::kAndroidEntraSsoEnabled,                                         1 },
  { key::kAuthAndroidNegotiateAccountType,                                4 },
  { key::kAuthNegotiateDelegateAllowlist,                                 4 },
  { key::kAuthSchemes,                                                    4 },
  { key::kAuthServerAllowlist,                                            4 },
  { key::kAutoFillEnabled,                                                2 },
  { key::kAutoSelectCertificateForUrls,                                   5 },
  { key::kAutofillAddressEnabled,                                         2 },
  { key::kAutofillCreditCardEnabled,                                      2 },
  { key::kAutofillPredictionSettings,                                     6 },
  { key::kAutofillSettings,                                              10 },
  { key::kAutomaticDownloadsAllowedForUrls,                               5 },
  { key::kAutomaticDownloadsBlockedForUrls,                               5 },
  { key::kAutomaticFullscreenAllowedForUrls,                              5 },
  { key::kAutomaticFullscreenBlockedForUrls,                              5 },
  { key::kAutoplayAllowed,                                                2 },
  { key::kAutoplayAllowlist,                                              5 },
  { key::kBackForwardCacheEnabled,                                        2 },
  { key::kBackForwardCacheForWebSocketsAllowed,                           2 },
  { key::kBlockExternalExtensions,                                        2 },
  { key::kBlockThirdPartyCookies,                                         2 },
  { key::kBookmarkBarEnabled,                                             2 },
  { key::kBrowserSignin,                                                  6 },
  { key::kBrowsingDataLifetime,                                          15 },
  { key::kBuiltInDnsClientEnabled,                                        2 },
  { key::kCACertificates,                                                 5 },
  { key::kCACertificatesWithConstraints,                                 18 },
  { key::kCADistrustedCertificates,                                       5 },
  { key::kCAHintCertificates,                                             5 },
  { key::kCAPlatformIntegrationEnabled,                                   2 },
  { key::kCORSNonWildcardRequestHeadersSupport,                           2 },
  { key::kCacheEncryptionEnabled,                                         2 },
  { key::kCertificateTransparencyEnforcementDisabledForCas,               5 },
  { key::kCertificateTransparencyEnforcementDisabledForUrls,              5 },
  { key::kChromeDataRegionSetting,                                        6 },
  { key::kChromeForTestingAllowed,                                        2 },
  { key::kChromeVariations,                                               6 },
  { key::kClearWindowNameForNewBrowsingContextGroup,                      2 },
  { key::kClipboardAllowedForUrls,                                        5 },
  { key::kClipboardBlockedForUrls,                                        5 },
  { key::kCloudExtensionRequestEnabled,                                   2 },
  { key::kCloudManagementEnrollmentToken,                                 4 },
  { key::kCloudPolicyOverridesPlatformPolicy,                             2 },
  { key::kCloudProfileReportingEnabled,                                   2 },
  { key::kCloudReportingEnabled,                                          2 },
  { key::kCloudReportingUploadFrequency,                                 19 },
  { key::kCloudUserPolicyMerge,                                           2 },
  { key::kCloudUserPolicyOverridesCloudMachinePolicy,                     2 },
  { key::kCoalesceH2ConnectionsWithClientCertificatesForHosts,            5 },
  { key::kComponentUpdatesEnabled,                                        2 },
  { key::kContextualSearchEnabled,                                        2 },
  { key::kCookiesAllowedForUrls,                                          5 },
  { key::kCookiesBlockedForUrls,                                          5 },
  { key::kCookiesSessionOnlyForUrls,                                      5 },
  { key::kCpuPerformanceTierOverride,                                    20 },
  { key::kDataControlsRules,                                             42 },
  { key::kDataURLWhitespacePreservationEnabled,                           2 },
  { key::kDataUrlInSvgUseEnabled,                                         2 },
  { key::kDataUrlInWebWorkerOpaqueOriginEnabled,                          2 },
  { key::kDefaultAutomaticDownloadsSetting,                              43 },
  { key::kDefaultClipboardSetting,                                       44 },
  { key::kDefaultCookiesSetting,                                         45 },
  { key::kDefaultGeolocationSetting,                                     43 },
  { key::kDefaultIdleDetectionSetting,                                   43 },
  { key::kDefaultImagesSetting,                                           3 },
  { key::kDefaultJavaScriptJitSetting,                                    3 },
  { key::kDefaultJavaScriptOptimizerSetting,                              3 },
  { key::kDefaultJavaScriptSetting,                                       3 },
  { key::kDefaultNotificationsSetting,                                   43 },
  { key::kDefaultPopupsSetting,                                           3 },
  { key::kDefaultSearchProviderAlternateURLs,                             5 },
  { key::kDefaultSearchProviderEnabled,                                   2 },
  { key::kDefaultSearchProviderEncodings,                                 5 },
  { key::kDefaultSearchProviderImageURL,                                  4 },
  { key::kDefaultSearchProviderImageURLPostParams,                        4 },
  { key::kDefaultSearchProviderName,                                      4 },
  { key::kDefaultSearchProviderSearchURL,                                 4 },
  { key::kDefaultSearchProviderSearchURLPostParams,                       4 },
  { key::kDefaultSearchProviderSuggestURL,                                4 },
  { key::kDefaultSearchProviderSuggestURLPostParams,                      4 },
  { key::kDefaultSensorsSetting,                                         43 },
  { key::kDefaultSerialGuardSetting,                                     44 },
  { key::kDefaultWebBluetoothGuardSetting,                               44 },
  { key::kDefaultWebHidGuardSetting,                                     44 },
  { key::kDefaultWebUsbGuardSetting,                                     44 },
  { key::kDeveloperToolsAvailability,                                     6 },
  { key::kDeveloperToolsAvailabilityAllowlist,                            5 },
  { key::kDeveloperToolsAvailabilityBlocklist,                            5 },
  { key::kDisableAuthNegotiateCnameLookup,                                2 },
  { key::kDisableSafeBrowsingProceedAnyway,                               2 },
  { key::kDisableScreenshots,                                             2 },
  { key::kDnsOverHttpsMode,                                              46 },
  { key::kDnsOverHttpsTemplates,                                          4 },
  { key::kDomainReliabilityAllowed,                                       2 },
  { key::kDownloadRestrictions,                                          20 },
  { key::kEditBookmarksEnabled,                                           2 },
  { key::kEnableExperimentalPolicies,                                     5 },
  { key::kEnableMediaRouter,                                              2 },
  { key::kEncryptedClientHelloEnabled,                                    2 },
  { key::kEnterpriseAuthenticationAppLinkPolicy,                         48 },
  { key::kEnterpriseHardwarePlatformAPIEnabled,                           2 },
  { key::kEnterpriseRealTimeUrlCheckMode,                                 1 },
  { key::kExplicitlyAllowedNetworkPorts,                                 50 },
  { key::kExtensionAllowedTypes,                                         52 },
  { key::kExtensionDOMActivityLoggingEnabled,                             2 },
  { key::kExtensionDeveloperModeSettings,                                 1 },
  { key::kExtensionInstallAllowlist,                                      5 },
  { key::kExtensionInstallBlocklist,                                      5 },
  { key::kExtensionInstallCloudPolicyChecksEnabled,                       2 },
  { key::kExtensionInstallForcelist,                                      5 },
  { key::kExtensionInstallSources,                                        5 },
  { key::kExtensionSettings,                                             53 },
  { key::kExtensionUnpublishedAvailability,                               1 },
  { key::kFeedbackSurveysEnabled,                                         2 },
  { key::kFindAndFillWithGeminiSettings,                                  6 },
  { key::kFindsSettings,                                                  6 },
  { key::kForceBrowserSignin,                                             2 },
  { key::kForceGoogleSafeSearch,                                          2 },
  { key::kForcePermissionPolicyUnloadDefaultEnabled,                      2 },
  { key::kForceSafeSearch,                                                2 },
  { key::kForceYouTubeRestrict,                                           6 },
  { key::kForceYouTubeSafetyMode,                                         2 },
  { key::kGeminiActOnWebAllowedForURLs,                                   5 },
  { key::kGeminiActOnWebBlockedForURLs,                                   5 },
  { key::kGeminiActOnWebSettings,                                         1 },
  { key::kGeminiSettings,                                                 1 },
  { key::kGenAILocalFoundationalModelSettings,                            1 },
  { key::kGenAiDefaultSettings,                                           6 },
  { key::kGeolocationBlockedForUrls,                                      5 },
  { key::kGloballyScopeHTTPAuthCacheEnabled,                              2 },
  { key::kHSTSPolicyBypassList,                                          75 },
  { key::kHappyEyeballsV3Enabled,                                         2 },
  { key::kHistoryClustersVisible,                                         2 },
  { key::kHomepageIsNewTabPage,                                           2 },
  { key::kHomepageLocation,                                               4 },
  { key::kHttpAllowlist,                                                  5 },
  { key::kHttpsOnlyMode,                                                 76 },
  { key::kHttpsUpgradesEnabled,                                           2 },
  { key::kIPv6ReachabilityOverrideEnabled,                                2 },
  { key::kIdleDetectionAllowedForUrls,                                    5 },
  { key::kIdleDetectionBlockedForUrls,                                    5 },
  { key::kIdleTimeout,                                                   14 },
  { key::kIdleTimeoutActions,                                            78 },
  { key::kImagesAllowedForUrls,                                           5 },
  { key::kImagesBlockedForUrls,                                           5 },
  { key::kIncognitoEnabled,                                               2 },
  { key::kIncognitoModeAvailability,                                      6 },
  { key::kIncognitoModeUrlAllowlist,                                      5 },
  { key::kIncognitoModeUrlBlocklist,                                      5 },
  { key::kInsecureFormsWarningsEnabled,                                   2 },
  { key::kIntensiveWakeUpThrottlingEnabled,                               2 },
  { key::kIntranetRedirectBehavior,                                      79 },
  { key::kIsolateOrigins,                                                 4 },
  { key::kIsolateOriginsAndroid,                                          4 },
  { key::kIsolateOriginsShortlist,                                        4 },
  { key::kIsolatedModeSettings,                                           1 },
  { key::kJavaScriptAllowedForUrls,                                       5 },
  { key::kJavaScriptBlockedForUrls,                                       5 },
  { key::kJavaScriptJitAllowedForSites,                                   5 },
  { key::kJavaScriptJitBlockedForSites,                                   5 },
  { key::kJavaScriptOptimizerAllowedForSites,                             5 },
  { key::kJavaScriptOptimizerBlockedForSites,                             5 },
  { key::kJavascriptEnabled,                                              2 },
  { key::kLegacyCookieScopeEnabled,                                       1 },
  { key::kLegacyCookieScopeEnabledForDomainList,                          5 },
  { key::kLegacyTechReportAllowlist,                                      5 },
  { key::kLensCameraAssistedSearchEnabled,                                2 },
  { key::kListenToThisPageEnabled,                                        2 },
  { key::kLocalNetworkAccessAllowedForUrls,                               5 },
  { key::kLocalNetworkAccessBlockedForUrls,                               5 },
  { key::kLocalNetworkAccessIpAddressSpaceOverrides,                      5 },
  { key::kLocalNetworkAccessPermissionsPolicyDefaultEnabled,              2 },
  { key::kLocalNetworkAccessRestrictionsTemporaryOptOut,                  2 },
  { key::kLocalNetworkAllowedForUrls,                                     5 },
  { key::kLocalNetworkBlockedForUrls,                                     5 },
  { key::kLookalikeWarningAllowlistDomains,                               5 },
  { key::kLoopbackNetworkAllowedForUrls,                                  5 },
  { key::kLoopbackNetworkBlockedForUrls,                                  5 },
  { key::kManagedBookmarks,                                              82 },
  { key::kMandatoryExtensionsForIncognitoNavigation,                      5 },
  { key::kMaxConnectionsPerProxy,                                        83 },
  { key::kMaxConnectionsPerProxyForWebSocket,                            83 },
  { key::kMetricsReportingEnabled,                                        2 },
  { key::kNTPContentSuggestionsEnabled,                                   2 },
  { key::kNTPCustomBackgroundEnabled,                                     2 },
  { key::kNetworkPredictionOptions,                                       6 },
  { key::kNewTabPageLocation,                                             4 },
  { key::kNotificationsAllowedForUrls,                                    5 },
  { key::kNotificationsBlockedForUrls,                                    5 },
  { key::kNtlmV2Enabled,                                                  2 },
  { key::kOnFileDownloadedEnterpriseConnector,                           94 },
  { key::kOnNetworkRequestEnterpriseConnector,                           97 },
  { key::kOnSecurityEventEnterpriseConnector,                           102 },
  { key::kOutOfProcessSystemDnsResolutionEnabled,                         2 },
  { key::kOverrideSecurityRestrictionsOnInsecureOrigin,                   5 },
  { key::kPartitionedBlobUrlUsage,                                        2 },
  { key::kPasswordLeakDetectionEnabled,                                   2 },
  { key::kPasswordManagerEnabled,                                         2 },
  { key::kPasswordSharingEnabled,                                         2 },
  { key::kPaymentMethodQueryEnabled,                                      2 },
  { key::kPolicyAtomicGroupsEnabled,                                      2 },
  { key::kPolicyDictionaryMultipleSourceMergeList,                      104 },
  { key::kPolicyListMultipleSourceMergeList,                              5 },
  { key::kPolicyTestPageEnabled,                                          2 },
  { key::kPopupsAllowedForUrls,                                           5 },
  { key::kPopupsBlockedForUrls,                                           5 },
  { key::kPreciseGeolocationAllowedForUrls,                               5 },
  { key::kPreferSlowCiphers,                                            105 },
  { key::kPreferSlowKexAlgorithms,                                      106 },
  { key::kPrefetchWithServiceWorkerEnabled,                               2 },
  { key::kPrintingEnabled,                                                2 },
  { key::kPrivacySandboxAdMeasurementEnabled,                             2 },
  { key::kPrivacySandboxAdTopicsEnabled,                                  2 },
  { key::kPrivacySandboxPromptEnabled,                                    2 },
  { key::kPrivacySandboxSiteEnabledAdsEnabled,                            2 },
  { key::kPromptForDownloadLocation,                                      2 },
  { key::kProtectedContentIdentifiersAllowed,                             2 },
  { key::kProvisionManagedClientCertificateForBrowser,                    1 },
  { key::kProvisionManagedClientCertificateForUser,                       1 },
  { key::kProxyBypassList,                                                4 },
  { key::kProxyMode,                                                    107 },
  { key::kProxyOverrideRules,                                           113 },
  { key::kProxyPacUrl,                                                    4 },
  { key::kProxyProvisioningDomains,                                     119 },
  { key::kProxyServer,                                                    4 },
  { key::kProxyServerMode,                                               79 },
  { key::kProxySettings,                                                120 },
  { key::kQRCodeGeneratorEnabled,                                         2 },
  { key::kReduceAcceptLanguageEnabled,                                    2 },
  { key::kRestrictAccountsToPatterns,                                     5 },
  { key::kRestrictBackgroundFetchFromServiceWorkerEnabled,                2 },
  { key::kSSLErrorOverrideAllowed,                                        2 },
  { key::kSSLErrorOverrideAllowedForOrigins,                              5 },
  { key::kSaasUsageReportingDomainUrlsForBrowsers,                        5 },
  { key::kSaasUsageReportingDomainUrlsForProfiles,                        5 },
  { key::kSafeBrowsingAllowlistDomains,                                   5 },
  { key::kSafeBrowsingEnabled,                                            2 },
  { key::kSafeBrowsingExtendedReportingEnabled,                           2 },
  { key::kSafeBrowsingProtectionLevel,                                    6 },
  { key::kSafeBrowsingProxiedRealTimeChecksAllowed,                       2 },
  { key::kSafeSitesFilterBehavior,                                        1 },
  { key::kSameOriginTabCaptureAllowedByOrigins,                           5 },
  { key::kSavingBrowserHistoryDisabled,                                   2 },
  { key::kScreenCaptureAllowed,                                           2 },
  { key::kScreenCaptureAllowedByOrigins,                                  5 },
  { key::kScrollToTextFragmentEnabled,                                    2 },
  { key::kSearchContentSharingSettings,                                   1 },
  { key::kSearchSuggestEnabled,                                           2 },
  { key::kSensorsAllowedForUrls,                                          5 },
  { key::kSensorsBlockedForUrls,                                          5 },
  { key::kSerialAllowAllPortsForUrls,                                     5 },
  { key::kSerialAllowUsbDevicesForUrls,                                 126 },
  { key::kSerialAskForUrls,                                               5 },
  { key::kSerialBlockedForUrls,                                           5 },
  { key::kServiceWorkerAutoPreloadEnabled,                                2 },
  { key::kServiceWorkerToControlSrcdocIframeEnabled,                      2 },
  { key::kSharedWorkerBlobURLFixEnabled,                                  2 },
  { key::kSharedWorkerExtendedLifetimeEnabled,                            2 },
  { key::kShoppingListEnabled,                                            2 },
  { key::kShowFullUrlsInAddressBar,                                       2 },
  { key::kShowHomeButton,                                                 2 },
  { key::kSigninAllowed,                                                  2 },
  { key::kSitePerProcessAndroid,                                          2 },
  { key::kStandardizedBrowserZoomEnabled,                                 2 },
  { key::kStaticStorageQuotaEnabled,                                      2 },
  { key::kStrictMimetypeCheckForWorkerScriptsEnabled,                     2 },
  { key::kSuppressDifferentOriginSubframeDialogs,                         2 },
  { key::kSyncDisabled,                                                   2 },
  { key::kSyncTypesListDisabled,                                          5 },
  { key::kTLS13EarlyDataEnabled,                                          2 },
  { key::kTabCaptureAllowedByOrigins,                                     5 },
  { key::kTabCompareSettings,                                             6 },
  { key::kTabGroupSharingSettings,                                        1 },
  { key::kThirdPartyAiChatSettings,                                       1 },
  { key::kThirdPartyPasswordManagersAllowed,                              2 },
  { key::kTosDialogBehavior,                                              3 },
  { key::kTranslateEnabled,                                               2 },
  { key::kURLAllowlist,                                                   5 },
  { key::kURLBlocklist,                                                   5 },
  { key::kUrlKeyedAnonymizedDataCollectionEnabled,                        2 },
  { key::kUrlKeyedMetricsAllowed,                                         2 },
  { key::kUserFeedbackAllowed,                                            2 },
  { key::kUserSecurityAuthenticatedReporting,                             2 },
  { key::kUserSecuritySignalsReporting,                                   2 },
  { key::kVariationsRestrictParameter,                                    4 },
  { key::kVirtualKeyboardResizesLayoutByDefault,                          2 },
  { key::kWebAudioOutputBufferingEnabled,                                 2 },
  { key::kWebAuthenticationRemoteDesktopAllowedOrigins,                   5 },
  { key::kWebHidAllowAllDevicesForUrls,                                   5 },
  { key::kWebHidAllowDevicesForUrls,                                    130 },
  { key::kWebHidAllowDevicesWithHidUsagesForUrls,                       134 },
  { key::kWebHidAskForUrls,                                               5 },
  { key::kWebHidBlockedForUrls,                                           5 },
  { key::kWebRtcEventLogCollectionAllowed,                                2 },
  { key::kWebRtcUdpPortRange,                                             4 },
  { key::kWebUsbAllowDevicesForUrls,                                    138 },
  { key::kWebUsbAskForUrls,                                               5 },
  { key::kWebUsbBlockedForUrls,                                           5 },
  { key::kWebXRImmersiveArEnabled,                                        2 },
  { key::kWindowCaptureAllowedByOrigins,                                  5 },
  { key::kXSLTEnabled,                                                    2 },
  { "CN",                                                                 4 },
  { "L",                                                                  4 },
  { "O",                                                                  4 },
  { "OU",                                                                 4 },
  { "CN",                                                                 4 },
  { "L",                                                                  4 },
  { "O",                                                                  4 },
  { "OU",                                                                 4 },
  { "ISSUER",                                                           142 },
  { "SUBJECT",                                                          143 },
  { "filter",                                                           141 },
  { "pattern",                                                            4 },
  { key::kAutoSelectCertificateForUrls,                                 144 },
};

const internal::PropertiesNode kProperties[] = {
//  Begin    End  PatternEnd  RequiredBegin  RequiredEnd  Additional CaseInsensitiveLookupBegin CaseInsensitiveLookupEnd
  {     0,     2,     2,     0,          2,    -1,     0,     2 },  // blocked_types
  {     2,     4,     4,     2,          2,    -1,     2,     4 },  // items of BrowsingDataLifetime
  {     4,     6,     6,     2,          2,    -1,     4,     6 },  // constraints
  {     6,     8,     8,     2,          2,    -1,     6,     8 },  // items of CACertificatesWithConstraints
  {     8,    14,    14,     2,          2,    -1,     8,    14 },  // destinations
  {    14,    22,    22,     2,          2,    -1,    14,    22 },  // sources
  {    22,    27,    27,     2,          2,    -1,    22,    27 },  // items of and
  {    27,    33,    33,     2,          2,    -1,    27,    33 },  // destinations
  {    33,    39,    39,     2,          2,    -1,    33,    39 },  // destinations
  {    39,    47,    47,     2,          2,    -1,    39,    47 },  // sources
  {    47,    52,    52,     2,          2,    -1,    47,    52 },  // not
  {    52,    58,    58,     2,          2,    -1,    52,    58 },  // destinations
  {    58,    66,    66,     2,          2,    -1,    58,    66 },  // sources
  {    66,    71,    71,     2,          2,    -1,    66,    71 },  // items of or
  {    71,    73,    73,     2,          2,    -1,    71,    73 },  // items of restrictions
  {    73,    81,    81,     2,          2,    -1,    73,    81 },  // sources
  {    81,    90,    90,     2,          2,    -1,    81,    90 },  // items of DataControlsRules
  {    90,    91,    91,     2,          2,    -1,    90,    91 },  // items of EnterpriseAuthenticationAppLinkPolicy
  {    91,    98,    98,     2,          2,    -1,    91,    98 },  // *
  {    98,   109,   109,     2,          2,    -1,    98,   109 },  // ^[a-p]{32}(?:,[a-p]{32})*,?$
  {   109,   112,   112,     2,          2,    -1,   109,   112 },  // ^update_url:
  {   112,   113,   115,     2,          2,    -1,   112,   113 },  // ExtensionSettings
  {   115,   119,   119,     2,          2,    -1,   113,   117 },  // items of ManagedBookmarks
  {   119,   123,   123,     2,          2,    -1,   117,   121 },  // items of custom_messages
  {   123,   125,   125,     2,          2,    -1,   121,   123 },  // items of disable
  {   125,   127,   127,     2,          2,    -1,   123,   125 },  // items of enable
  {   127,   130,   130,     2,          2,    -1,   125,   128 },  // verification
  {   130,   140,   140,     2,          2,    -1,   128,   138 },  // items of OnFileDownloadedEnterpriseConnector
  {   140,   143,   143,     2,          2,    -1,   138,   141 },  // audit
  {   143,   144,   144,     2,          2,    -1,   141,   142 },  // items of OnNetworkRequestEnterpriseConnector
  {   144,   146,   146,     2,          2,    -1,   142,   144 },  // items of enabled_opt_in_events
  {   146,   149,   149,     2,          2,    -1,   144,   147 },  // items of OnSecurityEventEnterpriseConnector
  {   149,   151,   151,     2,          2,    -1,   147,   149 },  // DnsProbe
  {   151,   152,   152,     2,          2,    -1,   149,   150 },  // items of Conditions
  {   152,   156,   156,     2,          2,    -1,   150,   154 },  // items of ProxyOverrideRules
  {   156,   158,   158,     2,          2,    -1,   154,   156 },  // auth_config
  {   158,   160,   160,     2,          4,    -1,   156,   158 },  // value
  {   160,   163,   163,     4,          5,    -1,   158,   161 },  // pvd_id
  {   163,   169,   169,     5,          5,    -1,   161,   167 },  // ProxySettings
  {   169,   171,   171,     5,          6,    -1,   167,   169 },  // vendor_id
  {   171,   173,   173,     6,          8,    -1,   169,   171 },  // urls
  {   173,   175,   175,     8,          9,    -1,   171,   173 },  // vendor_id
  {   175,   177,   177,     9,         11,    -1,   173,   175 },  // urls
  {   177,   179,   179,    11,         12,    -1,   175,   177 },  // usage_page
  {   179,   181,   181,    12,         14,    -1,   177,   179 },  // urls
  {   181,   183,   183,    14,         14,    -1,   179,   181 },  // items of devices
  {   183,   185,   185,    14,         16,    -1,   181,   183 },  // urls
  {   185,   499,   499,    16,         16,    -1,   183,   497 },  // root node
  {   499,   503,   503,    16,         16,    -1,   497,   501 },  // ISSUER
  {   503,   507,   507,    16,         16,    -1,   501,   505 },  // SUBJECT
  {   507,   509,   509,    16,         16,    -1,   505,   507 },  // filter
  {   509,   511,   511,    16,         16,    -1,   507,   509 },  // items of AutoSelectCertificateForUrls
  {   511,   512,   512,    16,         16,    -1,   509,   510 },  // validation_schema root node
};

const internal::RestrictionNode kRestrictionNodes[] = {
//   FIRST, SECOND
  {{ 1,          0}},
  {{ 2,          1}},
  {{ 2,          0}},
  {{ 0,          6}},
  {{ 6,         14}},
  {{ INT_MAX,    1}},
  {{ 24,         3}},
  {{ 4,          0}},
  {{ 14,        16}},
  {{ 16,        19}},
  {{ INT_MAX,    0}},
  {{ 3,          1}},
  {{ 3,          2}},
  {{ 0,          3}},
  {{ 19,        22}},
  {{ 22,        27}},
  {{ 27,        33}},
  {{ 33,        39}},
  {{ 39,        39}},
  {{ 40,        43}},
  {{ 43,        43}},
  {{ 44,        44}},
  {{ 45,        50}},
  {{ 50,        50}},
  {{ 51,        54}},
  {{ 54,        54}},
  {{ 55,        55}},
  {{ 56,        59}},
  {{ 59,        59}},
  {{ 60,        64}},
  {{ 64,        77}},
  {{ 3,          0}},
  {{ 256,        6}},
  {{ 77,        79}},
  {{ 79,        84}},
  {{ 84,        85}},
  {{ 85,        92}},
  {{ 92,        94}},
  {{ 94,        96}},
  {{ 96,       101}},
  {{ 101,      103}},
  {{ 103,      105}},
  {{ 105,      110}},
  {{ 65535,      0}},
};

const char* const kRequiredProperties[] = {
  "url_pattern",
  "blocked_types",
  "key",
  "value",
  "pvd_id",
  "vendor_id",
  "devices",
  "urls",
  "vendor_id",
  "devices",
  "urls",
  "usage_page",
  "usages",
  "urls",
  "devices",
  "urls",
};

const int kIntegerEnumerations[] = {
  1,
  2,
  4,
};

const char* const kStringEnumerations[] = {
  "contact_info",
  "payments",
  "identity_docs",
  "travel",
  "shopping",
  "all",
  "browsing_history",
  "download_history",
  "cookies_and_other_site_data",
  "cached_images_and_files",
  "password_signin",
  "autofill",
  "site_settings",
  "hosted_app_data",
  "CLIPBOARD",
  "SCREENSHOT",
  "BLOCK",
  "WARN",
  "REPORT",
  "off",
  "automatic",
  "secure",
  "554",
  "10080",
  "6566",
  "989",
  "990",
  "extension",
  "theme",
  "user_script",
  "hosted_app",
  "legacy_packaged_app",
  "platform_app",
  "extension",
  "theme",
  "user_script",
  "hosted_app",
  "legacy_packaged_app",
  "platform_app",
  "^[a-z][a-zA-Z0-9._]*$",
  "blocked",
  "allowed",
  "removed",
  "^[a-z][a-zA-Z0-9._]*$",
  "^[a-z][a-zA-Z0-9._]*$",
  "blocked",
  "allowed",
  "force_installed",
  "normal_installed",
  "removed",
  "^[0-9]+([.][0-9]+)*$",
  "force_pinned",
  "default_unpinned",
  "default_pinned",
  "^[a-z][a-zA-Z0-9._]*$",
  "^[a-z][a-zA-Z0-9._]*$",
  "blocked",
  "allowed",
  "removed",
  "^[a-z0-9-]*$",
  "allowed",
  "disallowed",
  "force_enabled",
  "force_balanced_enabled",
  "close_browsers",
  "show_profile_picker",
  "clear_browsing_history",
  "clear_download_history",
  "clear_cookies_and_other_site_data",
  "clear_cached_images_and_files",
  "clear_password_signin",
  "clear_autofill",
  "clear_site_settings",
  "clear_hosted_app_data",
  "reload_pages",
  "sign_out",
  "close_tabs",
  "allow",
  "block",
  "google",
  "local_user_agent",
  "local_system_agent",
  "brcm_chrm_cas",
  "trellix",
  "google",
  "ContentPackManualBehaviorURLs",
  key::kExtensionSettings,
  "DeviceLoginScreenPowerManagement",
  "KeyPermissions",
  "PowerManagementIdleSettings",
  "ScreenBrightnessPercent",
  "ScreenLockDelays",
  "cnsa",
  "default",
  "cnsa2",
  "default",
  "direct",
  "auto_detect",
  "pac_script",
  "fixed_servers",
  "system",
  "resolved",
  "not_found",
  "none",
  "profile_bearer_token",
  "direct",
  "auto_detect",
  "pac_script",
  "fixed_servers",
  "system",
};

const int16_t kCaseInsensitiveLookup[] = {
  0,
  1,
  2,
  3,
  4,
  5,
  6,
  7,
  8,
  9,
  10,
  11,
  12,
  13,
  14,
  15,
  16,
  17,
  18,
  19,
  20,
  21,
  22,
  23,
  24,
  25,
  26,
  27,
  28,
  29,
  30,
  31,
  32,
  33,
  34,
  35,
  36,
  37,
  38,
  39,
  40,
  41,
  42,
  43,
  44,
  45,
  46,
  47,
  48,
  49,
  50,
  51,
  52,
  53,
  54,
  55,
  56,
  57,
  58,
  59,
  60,
  61,
  62,
  63,
  64,
  65,
  66,
  67,
  68,
  69,
  70,
  71,
  72,
  73,
  74,
  75,
  76,
  77,
  78,
  79,
  80,
  81,
  82,
  83,
  84,
  85,
  86,
  87,
  88,
  89,
  90,
  91,
  92,
  93,
  94,
  95,
  96,
  97,
  98,
  99,
  100,
  101,
  102,
  103,
  104,
  105,
  106,
  107,
  108,
  109,
  110,
  111,
  112,
  115,
  116,
  117,
  118,
  119,
  120,
  121,
  122,
  123,
  124,
  125,
  126,
  127,
  128,
  129,
  130,
  131,
  132,
  133,
  134,
  135,
  136,
  137,
  138,
  139,
  140,
  141,
  142,
  143,
  144,
  145,
  146,
  147,
  148,
  149,
  150,
  151,
  152,
  153,
  154,
  155,
  156,
  157,
  158,
  159,
  160,
  161,
  162,
  163,
  164,
  165,
  166,
  167,
  168,
  169,
  170,
  171,
  172,
  173,
  174,
  175,
  176,
  177,
  178,
  179,
  180,
  181,
  182,
  183,
  184,
  186,
  187,
  188,
  189,
  185,
  190,
  191,
  192,
  195,
  196,
  193,
  194,
  197,
  198,
  199,
  200,
  201,
  202,
  205,
  206,
  203,
  207,
  208,
  209,
  210,
  211,
  212,
  213,
  214,
  204,
  215,
  216,
  217,
  218,
  219,
  220,
  221,
  222,
  223,
  224,
  229,
  225,
  226,
  227,
  230,
  231,
  232,
  233,
  234,
  235,
  236,
  237,
  238,
  239,
  240,
  241,
  242,
  243,
  244,
  245,
  246,
  247,
  248,
  249,
  250,
  251,
  228,
  252,
  253,
  255,
  256,
  254,
  257,
  258,
  259,
  260,
  261,
  262,
  263,
  264,
  265,
  266,
  267,
  268,
  269,
  270,
  271,
  272,
  273,
  274,
  275,
  276,
  277,
  278,
  279,
  280,
  281,
  282,
  283,
  284,
  285,
  286,
  287,
  288,
  289,
  290,
  291,
  292,
  293,
  294,
  295,
  296,
  297,
  298,
  299,
  300,
  301,
  303,
  302,
  304,
  305,
  306,
  307,
  308,
  309,
  310,
  311,
  312,
  313,
  314,
  315,
  316,
  317,
  318,
  319,
  320,
  321,
  322,
  323,
  325,
  324,
  326,
  327,
  329,
  330,
  331,
  332,
  328,
  333,
  334,
  335,
  337,
  338,
  339,
  340,
  341,
  342,
  343,
  344,
  345,
  346,
  347,
  348,
  349,
  336,
  353,
  350,
  351,
  352,
  354,
  355,
  360,
  356,
  357,
  358,
  359,
  361,
  362,
  363,
  364,
  365,
  366,
  367,
  368,
  369,
  370,
  371,
  372,
  373,
  374,
  375,
  376,
  377,
  378,
  379,
  380,
  383,
  384,
  385,
  386,
  387,
  381,
  382,
  388,
  389,
  390,
  391,
  392,
  393,
  394,
  395,
  396,
  397,
  398,
  399,
  400,
  401,
  402,
  403,
  404,
  405,
  406,
  407,
  408,
  409,
  410,
  411,
  412,
  413,
  414,
  415,
  416,
  417,
  418,
  419,
  420,
  421,
  422,
  423,
  424,
  425,
  426,
  427,
  428,
  431,
  432,
  433,
  434,
  435,
  436,
  437,
  438,
  439,
  440,
  441,
  442,
  443,
  444,
  445,
  446,
  447,
  448,
  449,
  450,
  451,
  452,
  453,
  454,
  455,
  456,
  457,
  458,
  459,
  460,
  429,
  430,
  461,
  462,
  463,
  464,
  465,
  466,
  468,
  469,
  470,
  471,
  472,
  467,
  473,
  474,
  475,
  476,
  477,
  478,
  479,
  480,
  481,
  482,
  483,
  484,
  485,
  486,
  487,
  488,
  489,
  490,
  491,
  492,
  493,
  494,
  495,
  496,
  497,
  498,
  499,
  500,
  501,
  502,
  503,
  504,
  505,
  506,
  507,
  508,
  509,
  510,
  511,
};

const internal::SchemaData* GetChromeSchemaData() {
  static const internal::SchemaData kChromeSchemaData = {
    kSchemas,
    kPropertyNodes,
    kProperties,
    kRestrictionNodes,
    kRequiredProperties,
    kIntegerEnumerations,
    kStringEnumerations,
    kCaseInsensitiveLookup,
    139,  // validation_schema root index
  };

  return &kChromeSchemaData;
}


namespace {
bool CompareKeys(const internal::PropertyNode& node,
                 const std::string& key) {
  return node.key < key;
}

}  // namespace

#if BUILDFLAG(IS_CHROMEOS)
void SetEnterpriseUsersProfileDefaults(PolicyMap* policy_map) {
  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::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::kShowFullUrlsInAddressBar)) {
    
    policy_map->Set(key::kShowFullUrlsInAddressBar,
                    POLICY_LEVEL_MANDATORY,
                    POLICY_SCOPE_USER,
                    POLICY_SOURCE_ENTERPRISE_DEFAULT,
                    base::Value(false),
                    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) {
  // First index in kPropertyNodes of the Chrome policies.
  static constexpr int begin_index = 185;
  // One-past-the-end of the Chrome policies in kPropertyNodes.
  static constexpr int end_index = 499;
  const internal::PropertyNode* begin =
     kPropertyNodes + begin_index;
  const internal::PropertyNode* end = kPropertyNodes + end_index;
  const internal::PropertyNode* it =
      std::lower_bound(begin, end, policy, CompareKeys);
  if (it == end || it->key != policy)
    return nullptr;
  // This relies on kPropertyNodes from begin_index to end_index
  // having exactly the same policies (and in the same order) as
  // kChromePolicyDetails, so that binary searching on the first
  // gets the same results as a binary search on the second would.
  // However, kPropertyNodes has the policy names and
  // kChromePolicyDetails doesn't, so we obtain the index into
  // the second array by searching the first to avoid duplicating
  // the policy name pointers.
  // Offsetting |it| from |begin| here obtains the index we're
  // looking for.
  size_t index = it - begin;
  CHECK_LT(index, std::size(kChromePolicyDetails));
  return kChromePolicyDetails + index;
}

namespace key {

const char kAIModeSettings[] = "AIModeSettings";
const char kAccessControlAllowMethodsInCORSPreflightSpecConformant[] = "AccessControlAllowMethodsInCORSPreflightSpecConformant";
const char kAccessibilityPerformanceFilteringAllowed[] = "AccessibilityPerformanceFilteringAllowed";
const char kAdditionalDnsQueryTypesEnabled[] = "AdditionalDnsQueryTypesEnabled";
const char kAdsSettingForIntrusiveAdsSites[] = "AdsSettingForIntrusiveAdsSites";
const char kAllHttpAuthSchemesAllowedForOrigins[] = "AllHttpAuthSchemesAllowedForOrigins";
const char kAllowBackForwardCacheForCacheControlNoStorePageEnabled[] = "AllowBackForwardCacheForCacheControlNoStorePageEnabled";
const char kAllowDeletingBrowserHistory[] = "AllowDeletingBrowserHistory";
const char kAllowSocketPoolSizeRandomizationForProxies[] = "AllowSocketPoolSizeRandomizationForProxies";
const char kAllowWebAuthnWithBrokenTlsCerts[] = "AllowWebAuthnWithBrokenTlsCerts";
const char kAllowedDomainsForApps[] = "AllowedDomainsForApps";
const char kAllowedDomainsForAppsList[] = "AllowedDomainsForAppsList";
const char kAlternateErrorPagesEnabled[] = "AlternateErrorPagesEnabled";
const char kAndroidEntraSsoEnabled[] = "AndroidEntraSsoEnabled";
const char kAuthAndroidNegotiateAccountType[] = "AuthAndroidNegotiateAccountType";
const char kAuthNegotiateDelegateAllowlist[] = "AuthNegotiateDelegateAllowlist";
const char kAuthSchemes[] = "AuthSchemes";
const char kAuthServerAllowlist[] = "AuthServerAllowlist";
const char kAutoFillEnabled[] = "AutoFillEnabled";
const char kAutoSelectCertificateForUrls[] = "AutoSelectCertificateForUrls";
const char kAutofillAddressEnabled[] = "AutofillAddressEnabled";
const char kAutofillCreditCardEnabled[] = "AutofillCreditCardEnabled";
const char kAutofillPredictionSettings[] = "AutofillPredictionSettings";
const char kAutofillSettings[] = "AutofillSettings";
const char kAutomaticDownloadsAllowedForUrls[] = "AutomaticDownloadsAllowedForUrls";
const char kAutomaticDownloadsBlockedForUrls[] = "AutomaticDownloadsBlockedForUrls";
const char kAutomaticFullscreenAllowedForUrls[] = "AutomaticFullscreenAllowedForUrls";
const char kAutomaticFullscreenBlockedForUrls[] = "AutomaticFullscreenBlockedForUrls";
const char kAutoplayAllowed[] = "AutoplayAllowed";
const char kAutoplayAllowlist[] = "AutoplayAllowlist";
const char kBackForwardCacheEnabled[] = "BackForwardCacheEnabled";
const char kBackForwardCacheForWebSocketsAllowed[] = "BackForwardCacheForWebSocketsAllowed";
const char kBlockExternalExtensions[] = "BlockExternalExtensions";
const char kBlockThirdPartyCookies[] = "BlockThirdPartyCookies";
const char kBookmarkBarEnabled[] = "BookmarkBarEnabled";
const char kBrowserSignin[] = "BrowserSignin";
const char kBrowsingDataLifetime[] = "BrowsingDataLifetime";
const char kBuiltInDnsClientEnabled[] = "BuiltInDnsClientEnabled";
const char kCACertificates[] = "CACertificates";
const char kCACertificatesWithConstraints[] = "CACertificatesWithConstraints";
const char kCADistrustedCertificates[] = "CADistrustedCertificates";
const char kCAHintCertificates[] = "CAHintCertificates";
const char kCAPlatformIntegrationEnabled[] = "CAPlatformIntegrationEnabled";
const char kCORSNonWildcardRequestHeadersSupport[] = "CORSNonWildcardRequestHeadersSupport";
const char kCacheEncryptionEnabled[] = "CacheEncryptionEnabled";
const char kCertificateTransparencyEnforcementDisabledForCas[] = "CertificateTransparencyEnforcementDisabledForCas";
const char kCertificateTransparencyEnforcementDisabledForUrls[] = "CertificateTransparencyEnforcementDisabledForUrls";
const char kChromeDataRegionSetting[] = "ChromeDataRegionSetting";
const char kChromeForTestingAllowed[] = "ChromeForTestingAllowed";
const char kChromeVariations[] = "ChromeVariations";
const char kClearWindowNameForNewBrowsingContextGroup[] = "ClearWindowNameForNewBrowsingContextGroup";
const char kClipboardAllowedForUrls[] = "ClipboardAllowedForUrls";
const char kClipboardBlockedForUrls[] = "ClipboardBlockedForUrls";
const char kCloudExtensionRequestEnabled[] = "CloudExtensionRequestEnabled";
const char kCloudManagementEnrollmentToken[] = "CloudManagementEnrollmentToken";
const char kCloudPolicyOverridesPlatformPolicy[] = "CloudPolicyOverridesPlatformPolicy";
const char kCloudProfileReportingEnabled[] = "CloudProfileReportingEnabled";
const char kCloudReportingEnabled[] = "CloudReportingEnabled";
const char kCloudReportingUploadFrequency[] = "CloudReportingUploadFrequency";
const char kCloudUserPolicyMerge[] = "CloudUserPolicyMerge";
const char kCloudUserPolicyOverridesCloudMachinePolicy[] = "CloudUserPolicyOverridesCloudMachinePolicy";
const char kCoalesceH2ConnectionsWithClientCertificatesForHosts[] = "CoalesceH2ConnectionsWithClientCertificatesForHosts";
const char kComponentUpdatesEnabled[] = "ComponentUpdatesEnabled";
const char kContextualSearchEnabled[] = "ContextualSearchEnabled";
const char kCookiesAllowedForUrls[] = "CookiesAllowedForUrls";
const char kCookiesBlockedForUrls[] = "CookiesBlockedForUrls";
const char kCookiesSessionOnlyForUrls[] = "CookiesSessionOnlyForUrls";
const char kCpuPerformanceTierOverride[] = "CpuPerformanceTierOverride";
const char kDataControlsRules[] = "DataControlsRules";
const char kDataURLWhitespacePreservationEnabled[] = "DataURLWhitespacePreservationEnabled";
const char kDataUrlInSvgUseEnabled[] = "DataUrlInSvgUseEnabled";
const char kDataUrlInWebWorkerOpaqueOriginEnabled[] = "DataUrlInWebWorkerOpaqueOriginEnabled";
const char kDefaultAutomaticDownloadsSetting[] = "DefaultAutomaticDownloadsSetting";
const char kDefaultClipboardSetting[] = "DefaultClipboardSetting";
const char kDefaultCookiesSetting[] = "DefaultCookiesSetting";
const char kDefaultGeolocationSetting[] = "DefaultGeolocationSetting";
const char kDefaultIdleDetectionSetting[] = "DefaultIdleDetectionSetting";
const char kDefaultImagesSetting[] = "DefaultImagesSetting";
const char kDefaultJavaScriptJitSetting[] = "DefaultJavaScriptJitSetting";
const char kDefaultJavaScriptOptimizerSetting[] = "DefaultJavaScriptOptimizerSetting";
const char kDefaultJavaScriptSetting[] = "DefaultJavaScriptSetting";
const char kDefaultNotificationsSetting[] = "DefaultNotificationsSetting";
const char kDefaultPopupsSetting[] = "DefaultPopupsSetting";
const char kDefaultSearchProviderAlternateURLs[] = "DefaultSearchProviderAlternateURLs";
const char kDefaultSearchProviderEnabled[] = "DefaultSearchProviderEnabled";
const char kDefaultSearchProviderEncodings[] = "DefaultSearchProviderEncodings";
const char kDefaultSearchProviderImageURL[] = "DefaultSearchProviderImageURL";
const char kDefaultSearchProviderImageURLPostParams[] = "DefaultSearchProviderImageURLPostParams";
const char kDefaultSearchProviderName[] = "DefaultSearchProviderName";
const char kDefaultSearchProviderSearchURL[] = "DefaultSearchProviderSearchURL";
const char kDefaultSearchProviderSearchURLPostParams[] = "DefaultSearchProviderSearchURLPostParams";
const char kDefaultSearchProviderSuggestURL[] = "DefaultSearchProviderSuggestURL";
const char kDefaultSearchProviderSuggestURLPostParams[] = "DefaultSearchProviderSuggestURLPostParams";
const char kDefaultSensorsSetting[] = "DefaultSensorsSetting";
const char kDefaultSerialGuardSetting[] = "DefaultSerialGuardSetting";
const char kDefaultWebBluetoothGuardSetting[] = "DefaultWebBluetoothGuardSetting";
const char kDefaultWebHidGuardSetting[] = "DefaultWebHidGuardSetting";
const char kDefaultWebUsbGuardSetting[] = "DefaultWebUsbGuardSetting";
const char kDeveloperToolsAvailability[] = "DeveloperToolsAvailability";
const char kDeveloperToolsAvailabilityAllowlist[] = "DeveloperToolsAvailabilityAllowlist";
const char kDeveloperToolsAvailabilityBlocklist[] = "DeveloperToolsAvailabilityBlocklist";
const char kDisableAuthNegotiateCnameLookup[] = "DisableAuthNegotiateCnameLookup";
const char kDisableSafeBrowsingProceedAnyway[] = "DisableSafeBrowsingProceedAnyway";
const char kDisableScreenshots[] = "DisableScreenshots";
const char kDnsOverHttpsMode[] = "DnsOverHttpsMode";
const char kDnsOverHttpsTemplates[] = "DnsOverHttpsTemplates";
const char kDomainReliabilityAllowed[] = "DomainReliabilityAllowed";
const char kDownloadRestrictions[] = "DownloadRestrictions";
const char kEditBookmarksEnabled[] = "EditBookmarksEnabled";
const char kEnableExperimentalPolicies[] = "EnableExperimentalPolicies";
const char kEnableMediaRouter[] = "EnableMediaRouter";
const char kEncryptedClientHelloEnabled[] = "EncryptedClientHelloEnabled";
const char kEnterpriseAuthenticationAppLinkPolicy[] = "EnterpriseAuthenticationAppLinkPolicy";
const char kEnterpriseHardwarePlatformAPIEnabled[] = "EnterpriseHardwarePlatformAPIEnabled";
const char kEnterpriseRealTimeUrlCheckMode[] = "EnterpriseRealTimeUrlCheckMode";
const char kExplicitlyAllowedNetworkPorts[] = "ExplicitlyAllowedNetworkPorts";
const char kExtensionAllowedTypes[] = "ExtensionAllowedTypes";
const char kExtensionDOMActivityLoggingEnabled[] = "ExtensionDOMActivityLoggingEnabled";
const char kExtensionDeveloperModeSettings[] = "ExtensionDeveloperModeSettings";
const char kExtensionInstallAllowlist[] = "ExtensionInstallAllowlist";
const char kExtensionInstallBlocklist[] = "ExtensionInstallBlocklist";
const char kExtensionInstallCloudPolicyChecksEnabled[] = "ExtensionInstallCloudPolicyChecksEnabled";
const char kExtensionInstallForcelist[] = "ExtensionInstallForcelist";
const char kExtensionInstallSources[] = "ExtensionInstallSources";
const char kExtensionSettings[] = "ExtensionSettings";
const char kExtensionUnpublishedAvailability[] = "ExtensionUnpublishedAvailability";
const char kFeedbackSurveysEnabled[] = "FeedbackSurveysEnabled";
const char kFindAndFillWithGeminiSettings[] = "FindAndFillWithGeminiSettings";
const char kFindsSettings[] = "FindsSettings";
const char kForceBrowserSignin[] = "ForceBrowserSignin";
const char kForceGoogleSafeSearch[] = "ForceGoogleSafeSearch";
const char kForcePermissionPolicyUnloadDefaultEnabled[] = "ForcePermissionPolicyUnloadDefaultEnabled";
const char kForceSafeSearch[] = "ForceSafeSearch";
const char kForceYouTubeRestrict[] = "ForceYouTubeRestrict";
const char kForceYouTubeSafetyMode[] = "ForceYouTubeSafetyMode";
const char kGeminiActOnWebAllowedForURLs[] = "GeminiActOnWebAllowedForURLs";
const char kGeminiActOnWebBlockedForURLs[] = "GeminiActOnWebBlockedForURLs";
const char kGeminiActOnWebSettings[] = "GeminiActOnWebSettings";
const char kGeminiSettings[] = "GeminiSettings";
const char kGenAILocalFoundationalModelSettings[] = "GenAILocalFoundationalModelSettings";
const char kGenAiDefaultSettings[] = "GenAiDefaultSettings";
const char kGeolocationBlockedForUrls[] = "GeolocationBlockedForUrls";
const char kGloballyScopeHTTPAuthCacheEnabled[] = "GloballyScopeHTTPAuthCacheEnabled";
const char kHSTSPolicyBypassList[] = "HSTSPolicyBypassList";
const char kHappyEyeballsV3Enabled[] = "HappyEyeballsV3Enabled";
const char kHistoryClustersVisible[] = "HistoryClustersVisible";
const char kHomepageIsNewTabPage[] = "HomepageIsNewTabPage";
const char kHomepageLocation[] = "HomepageLocation";
const char kHttpAllowlist[] = "HttpAllowlist";
const char kHttpsOnlyMode[] = "HttpsOnlyMode";
const char kHttpsUpgradesEnabled[] = "HttpsUpgradesEnabled";
const char kIPv6ReachabilityOverrideEnabled[] = "IPv6ReachabilityOverrideEnabled";
const char kIdleDetectionAllowedForUrls[] = "IdleDetectionAllowedForUrls";
const char kIdleDetectionBlockedForUrls[] = "IdleDetectionBlockedForUrls";
const char kIdleTimeout[] = "IdleTimeout";
const char kIdleTimeoutActions[] = "IdleTimeoutActions";
const char kImagesAllowedForUrls[] = "ImagesAllowedForUrls";
const char kImagesBlockedForUrls[] = "ImagesBlockedForUrls";
const char kIncognitoEnabled[] = "IncognitoEnabled";
const char kIncognitoModeAvailability[] = "IncognitoModeAvailability";
const char kIncognitoModeUrlAllowlist[] = "IncognitoModeUrlAllowlist";
const char kIncognitoModeUrlBlocklist[] = "IncognitoModeUrlBlocklist";
const char kInsecureFormsWarningsEnabled[] = "InsecureFormsWarningsEnabled";
const char kIntensiveWakeUpThrottlingEnabled[] = "IntensiveWakeUpThrottlingEnabled";
const char kIntranetRedirectBehavior[] = "IntranetRedirectBehavior";
const char kIsolateOrigins[] = "IsolateOrigins";
const char kIsolateOriginsAndroid[] = "IsolateOriginsAndroid";
const char kIsolateOriginsShortlist[] = "IsolateOriginsShortlist";
const char kIsolatedModeSettings[] = "IsolatedModeSettings";
const char kJavaScriptAllowedForUrls[] = "JavaScriptAllowedForUrls";
const char kJavaScriptBlockedForUrls[] = "JavaScriptBlockedForUrls";
const char kJavaScriptJitAllowedForSites[] = "JavaScriptJitAllowedForSites";
const char kJavaScriptJitBlockedForSites[] = "JavaScriptJitBlockedForSites";
const char kJavaScriptOptimizerAllowedForSites[] = "JavaScriptOptimizerAllowedForSites";
const char kJavaScriptOptimizerBlockedForSites[] = "JavaScriptOptimizerBlockedForSites";
const char kJavascriptEnabled[] = "JavascriptEnabled";
const char kLegacyCookieScopeEnabled[] = "LegacyCookieScopeEnabled";
const char kLegacyCookieScopeEnabledForDomainList[] = "LegacyCookieScopeEnabledForDomainList";
const char kLegacyTechReportAllowlist[] = "LegacyTechReportAllowlist";
const char kLensCameraAssistedSearchEnabled[] = "LensCameraAssistedSearchEnabled";
const char kListenToThisPageEnabled[] = "ListenToThisPageEnabled";
const char kLocalNetworkAccessAllowedForUrls[] = "LocalNetworkAccessAllowedForUrls";
const char kLocalNetworkAccessBlockedForUrls[] = "LocalNetworkAccessBlockedForUrls";
const char kLocalNetworkAccessIpAddressSpaceOverrides[] = "LocalNetworkAccessIpAddressSpaceOverrides";
const char kLocalNetworkAccessPermissionsPolicyDefaultEnabled[] = "LocalNetworkAccessPermissionsPolicyDefaultEnabled";
const char kLocalNetworkAccessRestrictionsTemporaryOptOut[] = "LocalNetworkAccessRestrictionsTemporaryOptOut";
const char kLocalNetworkAllowedForUrls[] = "LocalNetworkAllowedForUrls";
const char kLocalNetworkBlockedForUrls[] = "LocalNetworkBlockedForUrls";
const char kLookalikeWarningAllowlistDomains[] = "LookalikeWarningAllowlistDomains";
const char kLoopbackNetworkAllowedForUrls[] = "LoopbackNetworkAllowedForUrls";
const char kLoopbackNetworkBlockedForUrls[] = "LoopbackNetworkBlockedForUrls";
const char kManagedBookmarks[] = "ManagedBookmarks";
const char kMandatoryExtensionsForIncognitoNavigation[] = "MandatoryExtensionsForIncognitoNavigation";
const char kMaxConnectionsPerProxy[] = "MaxConnectionsPerProxy";
const char kMaxConnectionsPerProxyForWebSocket[] = "MaxConnectionsPerProxyForWebSocket";
const char kMetricsReportingEnabled[] = "MetricsReportingEnabled";
const char kNTPContentSuggestionsEnabled[] = "NTPContentSuggestionsEnabled";
const char kNTPCustomBackgroundEnabled[] = "NTPCustomBackgroundEnabled";
const char kNetworkPredictionOptions[] = "NetworkPredictionOptions";
const char kNewTabPageLocation[] = "NewTabPageLocation";
const char kNotificationsAllowedForUrls[] = "NotificationsAllowedForUrls";
const char kNotificationsBlockedForUrls[] = "NotificationsBlockedForUrls";
const char kNtlmV2Enabled[] = "NtlmV2Enabled";
const char kOnFileDownloadedEnterpriseConnector[] = "OnFileDownloadedEnterpriseConnector";
const char kOnNetworkRequestEnterpriseConnector[] = "OnNetworkRequestEnterpriseConnector";
const char kOnSecurityEventEnterpriseConnector[] = "OnSecurityEventEnterpriseConnector";
const char kOutOfProcessSystemDnsResolutionEnabled[] = "OutOfProcessSystemDnsResolutionEnabled";
const char kOverrideSecurityRestrictionsOnInsecureOrigin[] = "OverrideSecurityRestrictionsOnInsecureOrigin";
const char kPartitionedBlobUrlUsage[] = "PartitionedBlobUrlUsage";
const char kPasswordLeakDetectionEnabled[] = "PasswordLeakDetectionEnabled";
const char kPasswordManagerEnabled[] = "PasswordManagerEnabled";
const char kPasswordSharingEnabled[] = "PasswordSharingEnabled";
const char kPaymentMethodQueryEnabled[] = "PaymentMethodQueryEnabled";
const char kPolicyAtomicGroupsEnabled[] = "PolicyAtomicGroupsEnabled";
const char kPolicyDictionaryMultipleSourceMergeList[] = "PolicyDictionaryMultipleSourceMergeList";
const char kPolicyListMultipleSourceMergeList[] = "PolicyListMultipleSourceMergeList";
const char kPolicyTestPageEnabled[] = "PolicyTestPageEnabled";
const char kPopupsAllowedForUrls[] = "PopupsAllowedForUrls";
const char kPopupsBlockedForUrls[] = "PopupsBlockedForUrls";
const char kPreciseGeolocationAllowedForUrls[] = "PreciseGeolocationAllowedForUrls";
const char kPreferSlowCiphers[] = "PreferSlowCiphers";
const char kPreferSlowKexAlgorithms[] = "PreferSlowKexAlgorithms";
const char kPrefetchWithServiceWorkerEnabled[] = "PrefetchWithServiceWorkerEnabled";
const char kPrintingEnabled[] = "PrintingEnabled";
const char kPrivacySandboxAdMeasurementEnabled[] = "PrivacySandboxAdMeasurementEnabled";
const char kPrivacySandboxAdTopicsEnabled[] = "PrivacySandboxAdTopicsEnabled";
const char kPrivacySandboxPromptEnabled[] = "PrivacySandboxPromptEnabled";
const char kPrivacySandboxSiteEnabledAdsEnabled[] = "PrivacySandboxSiteEnabledAdsEnabled";
const char kPromptForDownloadLocation[] = "PromptForDownloadLocation";
const char kProtectedContentIdentifiersAllowed[] = "ProtectedContentIdentifiersAllowed";
const char kProvisionManagedClientCertificateForBrowser[] = "ProvisionManagedClientCertificateForBrowser";
const char kProvisionManagedClientCertificateForUser[] = "ProvisionManagedClientCertificateForUser";
const char kProxyBypassList[] = "ProxyBypassList";
const char kProxyMode[] = "ProxyMode";
const char kProxyOverrideRules[] = "ProxyOverrideRules";
const char kProxyPacUrl[] = "ProxyPacUrl";
const char kProxyProvisioningDomains[] = "ProxyProvisioningDomains";
const char kProxyServer[] = "ProxyServer";
const char kProxyServerMode[] = "ProxyServerMode";
const char kProxySettings[] = "ProxySettings";
const char kQRCodeGeneratorEnabled[] = "QRCodeGeneratorEnabled";
const char kReduceAcceptLanguageEnabled[] = "ReduceAcceptLanguageEnabled";
const char kRestrictAccountsToPatterns[] = "RestrictAccountsToPatterns";
const char kRestrictBackgroundFetchFromServiceWorkerEnabled[] = "RestrictBackgroundFetchFromServiceWorkerEnabled";
const char kSSLErrorOverrideAllowed[] = "SSLErrorOverrideAllowed";
const char kSSLErrorOverrideAllowedForOrigins[] = "SSLErrorOverrideAllowedForOrigins";
const char kSaasUsageReportingDomainUrlsForBrowsers[] = "SaasUsageReportingDomainUrlsForBrowsers";
const char kSaasUsageReportingDomainUrlsForProfiles[] = "SaasUsageReportingDomainUrlsForProfiles";
const char kSafeBrowsingAllowlistDomains[] = "SafeBrowsingAllowlistDomains";
const char kSafeBrowsingEnabled[] = "SafeBrowsingEnabled";
const char kSafeBrowsingExtendedReportingEnabled[] = "SafeBrowsingExtendedReportingEnabled";
const char kSafeBrowsingProtectionLevel[] = "SafeBrowsingProtectionLevel";
const char kSafeBrowsingProxiedRealTimeChecksAllowed[] = "SafeBrowsingProxiedRealTimeChecksAllowed";
const char kSafeSitesFilterBehavior[] = "SafeSitesFilterBehavior";
const char kSameOriginTabCaptureAllowedByOrigins[] = "SameOriginTabCaptureAllowedByOrigins";
const char kSavingBrowserHistoryDisabled[] = "SavingBrowserHistoryDisabled";
const char kScreenCaptureAllowed[] = "ScreenCaptureAllowed";
const char kScreenCaptureAllowedByOrigins[] = "ScreenCaptureAllowedByOrigins";
const char kScrollToTextFragmentEnabled[] = "ScrollToTextFragmentEnabled";
const char kSearchContentSharingSettings[] = "SearchContentSharingSettings";
const char kSearchSuggestEnabled[] = "SearchSuggestEnabled";
const char kSensorsAllowedForUrls[] = "SensorsAllowedForUrls";
const char kSensorsBlockedForUrls[] = "SensorsBlockedForUrls";
const char kSerialAllowAllPortsForUrls[] = "SerialAllowAllPortsForUrls";
const char kSerialAllowUsbDevicesForUrls[] = "SerialAllowUsbDevicesForUrls";
const char kSerialAskForUrls[] = "SerialAskForUrls";
const char kSerialBlockedForUrls[] = "SerialBlockedForUrls";
const char kServiceWorkerAutoPreloadEnabled[] = "ServiceWorkerAutoPreloadEnabled";
const char kServiceWorkerToControlSrcdocIframeEnabled[] = "ServiceWorkerToControlSrcdocIframeEnabled";
const char kSharedWorkerBlobURLFixEnabled[] = "SharedWorkerBlobURLFixEnabled";
const char kSharedWorkerExtendedLifetimeEnabled[] = "SharedWorkerExtendedLifetimeEnabled";
const char kShoppingListEnabled[] = "ShoppingListEnabled";
const char kShowFullUrlsInAddressBar[] = "ShowFullUrlsInAddressBar";
const char kShowHomeButton[] = "ShowHomeButton";
const char kSigninAllowed[] = "SigninAllowed";
const char kSitePerProcessAndroid[] = "SitePerProcessAndroid";
const char kStandardizedBrowserZoomEnabled[] = "StandardizedBrowserZoomEnabled";
const char kStaticStorageQuotaEnabled[] = "StaticStorageQuotaEnabled";
const char kStrictMimetypeCheckForWorkerScriptsEnabled[] = "StrictMimetypeCheckForWorkerScriptsEnabled";
const char kSuppressDifferentOriginSubframeDialogs[] = "SuppressDifferentOriginSubframeDialogs";
const char kSyncDisabled[] = "SyncDisabled";
const char kSyncTypesListDisabled[] = "SyncTypesListDisabled";
const char kTLS13EarlyDataEnabled[] = "TLS13EarlyDataEnabled";
const char kTabCaptureAllowedByOrigins[] = "TabCaptureAllowedByOrigins";
const char kTabCompareSettings[] = "TabCompareSettings";
const char kTabGroupSharingSettings[] = "TabGroupSharingSettings";
const char kThirdPartyAiChatSettings[] = "ThirdPartyAiChatSettings";
const char kThirdPartyPasswordManagersAllowed[] = "ThirdPartyPasswordManagersAllowed";
const char kTosDialogBehavior[] = "TosDialogBehavior";
const char kTranslateEnabled[] = "TranslateEnabled";
const char kURLAllowlist[] = "URLAllowlist";
const char kURLBlocklist[] = "URLBlocklist";
const char kUrlKeyedAnonymizedDataCollectionEnabled[] = "UrlKeyedAnonymizedDataCollectionEnabled";
const char kUrlKeyedMetricsAllowed[] = "UrlKeyedMetricsAllowed";
const char kUserFeedbackAllowed[] = "UserFeedbackAllowed";
const char kUserSecurityAuthenticatedReporting[] = "UserSecurityAuthenticatedReporting";
const char kUserSecuritySignalsReporting[] = "UserSecuritySignalsReporting";
const char kVariationsRestrictParameter[] = "VariationsRestrictParameter";
const char kVirtualKeyboardResizesLayoutByDefault[] = "VirtualKeyboardResizesLayoutByDefault";
const char kWebAudioOutputBufferingEnabled[] = "WebAudioOutputBufferingEnabled";
const char kWebAuthenticationRemoteDesktopAllowedOrigins[] = "WebAuthenticationRemoteDesktopAllowedOrigins";
const char kWebHidAllowAllDevicesForUrls[] = "WebHidAllowAllDevicesForUrls";
const char kWebHidAllowDevicesForUrls[] = "WebHidAllowDevicesForUrls";
const char kWebHidAllowDevicesWithHidUsagesForUrls[] = "WebHidAllowDevicesWithHidUsagesForUrls";
const char kWebHidAskForUrls[] = "WebHidAskForUrls";
const char kWebHidBlockedForUrls[] = "WebHidBlockedForUrls";
const char kWebRtcEventLogCollectionAllowed[] = "WebRtcEventLogCollectionAllowed";
const char kWebRtcUdpPortRange[] = "WebRtcUdpPortRange";
const char kWebUsbAllowDevicesForUrls[] = "WebUsbAllowDevicesForUrls";
const char kWebUsbAskForUrls[] = "WebUsbAskForUrls";
const char kWebUsbBlockedForUrls[] = "WebUsbBlockedForUrls";
const char kWebXRImmersiveArEnabled[] = "WebXRImmersiveArEnabled";
const char kWindowCaptureAllowedByOrigins[] = "WindowCaptureAllowedByOrigins";
const char kXSLTEnabled[] = "XSLTEnabled";

}  // namespace key

namespace group {

const char kActiveDirectoryManagement[] = "ActiveDirectoryManagement";
const char kAttestation[] = "Attestation";
const char kAutomaticDownloadsSettings[] = "AutomaticDownloadsSettings";
const char kBrowserIdle[] = "BrowserIdle";
const char kBrowserSwitcher[] = "BrowserSwitcher";
const char kCloudReporting[] = "CloudReporting";
const char kControlledFrameSettings[] = "ControlledFrameSettings";
const char kCookiesSettings[] = "CookiesSettings";
const char kDateAndTime[] = "DateAndTime";
const char kDefaultSearchProvider[] = "DefaultSearchProvider";
const char kDeviceAttributesSettings[] = "DeviceAttributesSettings";
const char kDirectSocketsSettings[] = "DirectSocketsSettings";
const char kDisplay[] = "Display";
const char kDrive[] = "Drive";
const char kExtensions[] = "Extensions";
const char kFloatingSso[] = "FloatingSso";
const char kGeolocationSettings[] = "GeolocationSettings";
const char kGoogleCast[] = "GoogleCast";
const char kHomepage[] = "Homepage";
const char kImageSettings[] = "ImageSettings";
const char kJavascriptSettings[] = "JavascriptSettings";
const char kKerberosPrefilledConfig[] = "KerberosPrefilledConfig";
const char kKeygenSettings[] = "KeygenSettings";
const char kKiosk[] = "Kiosk";
const char kLegacyCookieScopeSettings[] = "LegacyCookieScopeSettings";
const char kLegacySameSiteCookieBehaviorSettings[] = "LegacySameSiteCookieBehaviorSettings";
const char kLocalFontsSettings[] = "LocalFontsSettings";
const char kLocalNetworkAccessSettings[] = "LocalNetworkAccessSettings";
const char kLoginScreenOrigins[] = "LoginScreenOrigins";
const char kNativeMessaging[] = "NativeMessaging";
const char kNetworkFileShares[] = "NetworkFileShares";
const char kNotificationsSettings[] = "NotificationsSettings";
const char kPasswordManager[] = "PasswordManager";
const char kPasswordProtection[] = "PasswordProtection";
const char kPinUnlock[] = "PinUnlock";
const char kPluginVm[] = "PluginVm";
const char kPluginsSettings[] = "PluginsSettings";
const char kPopupsSettings[] = "PopupsSettings";
const char kPrivacySandbox[] = "PrivacySandbox";
const char kPrivateNetworkRequestSettings[] = "PrivateNetworkRequestSettings";
const char kProfileSeparation[] = "ProfileSeparation";
const char kProtectedContent[] = "ProtectedContent";
const char kProxy[] = "Proxy";
const char kQuickUnlock[] = "QuickUnlock";
const char kRemoteAccess[] = "RemoteAccess";
const char kRestoreOnStartup[] = "RestoreOnStartup";
const char kSAML[] = "SAML";
const char kSafeBrowsing[] = "SafeBrowsing";
const char kScreenCaptureSettings[] = "ScreenCaptureSettings";
const char kSensorsSettings[] = "SensorsSettings";
const char kSkyVaultSettings[] = "SkyVaultSettings";
const char kSmartCardConnectSettings[] = "SmartCardConnectSettings";
const char kSocketPoolSizeSettings[] = "SocketPoolSizeSettings";
const char kSupervisedUsers[] = "SupervisedUsers";
const char kUserAndDeviceReporting[] = "UserAndDeviceReporting";
const char kWebPrintingSettings[] = "WebPrintingSettings";
const char kWebRtc[] = "WebRtc";
const char kWebUsbSettings[] = "WebUsbSettings";
const char kWiFi[] = "WiFi";
const char kWindowManagementSettings[] = "WindowManagementSettings";

namespace {

const char* const ActiveDirectoryManagement[] = {nullptr};
const char* const Attestation[] = {nullptr};
const char* const AutomaticDownloadsSettings[] = {key::kDefaultAutomaticDownloadsSetting, key::kAutomaticDownloadsAllowedForUrls, key::kAutomaticDownloadsBlockedForUrls, nullptr};
const char* const BrowserIdle[] = {key::kIdleTimeout, key::kIdleTimeoutActions, nullptr};
const char* const BrowserSwitcher[] = {nullptr};
const char* const CloudReporting[] = {key::kCloudExtensionRequestEnabled, key::kCloudReportingEnabled, key::kCloudProfileReportingEnabled, key::kCloudReportingUploadFrequency, key::kUserSecuritySignalsReporting, key::kUserSecurityAuthenticatedReporting, nullptr};
const char* const ControlledFrameSettings[] = {nullptr};
const char* const CookiesSettings[] = {key::kDefaultCookiesSetting, key::kCookiesAllowedForUrls, key::kCookiesBlockedForUrls, key::kCookiesSessionOnlyForUrls, nullptr};
const char* const DateAndTime[] = {nullptr};
const char* const DefaultSearchProvider[] = {key::kDefaultSearchProviderEnabled, key::kDefaultSearchProviderName, key::kDefaultSearchProviderSearchURL, key::kDefaultSearchProviderSuggestURL, key::kDefaultSearchProviderEncodings, key::kDefaultSearchProviderAlternateURLs, key::kDefaultSearchProviderImageURL, key::kDefaultSearchProviderSearchURLPostParams, key::kDefaultSearchProviderSuggestURLPostParams, key::kDefaultSearchProviderImageURLPostParams, nullptr};
const char* const DeviceAttributesSettings[] = {nullptr};
const char* const DirectSocketsSettings[] = {nullptr};
const char* const Display[] = {nullptr};
const char* const Drive[] = {nullptr};
const char* const Extensions[] = {key::kExtensionInstallAllowlist, key::kExtensionInstallBlocklist, key::kExtensionInstallForcelist, key::kExtensionInstallSources, key::kExtensionAllowedTypes, key::kExtensionSettings, key::kExtensionUnpublishedAvailability, key::kExtensionDOMActivityLoggingEnabled, nullptr};
const char* const FloatingSso[] = {nullptr};
const char* const GeolocationSettings[] = {key::kDefaultGeolocationSetting, key::kPreciseGeolocationAllowedForUrls, key::kGeolocationBlockedForUrls, nullptr};
const char* const GoogleCast[] = {nullptr};
const char* const Homepage[] = {key::kHomepageLocation, key::kHomepageIsNewTabPage, key::kNewTabPageLocation, key::kShowHomeButton, nullptr};
const char* const ImageSettings[] = {key::kDefaultImagesSetting, key::kImagesAllowedForUrls, key::kImagesBlockedForUrls, nullptr};
const char* const JavascriptSettings[] = {key::kDefaultJavaScriptSetting, key::kJavaScriptAllowedForUrls, key::kJavaScriptBlockedForUrls, nullptr};
const char* const KerberosPrefilledConfig[] = {nullptr};
const char* const KeygenSettings[] = {nullptr};
const char* const Kiosk[] = {nullptr};
const char* const LegacyCookieScopeSettings[] = {key::kLegacyCookieScopeEnabled, key::kLegacyCookieScopeEnabledForDomainList, nullptr};
const char* const LegacySameSiteCookieBehaviorSettings[] = {nullptr};
const char* const LocalFontsSettings[] = {nullptr};
const char* const LocalNetworkAccessSettings[] = {key::kLocalNetworkAccessAllowedForUrls, key::kLocalNetworkAccessBlockedForUrls, key::kLocalNetworkAccessIpAddressSpaceOverrides, key::kLocalNetworkAllowedForUrls, key::kLocalNetworkBlockedForUrls, key::kLocalNetworkAccessRestrictionsTemporaryOptOut, key::kLoopbackNetworkAllowedForUrls, key::kLoopbackNetworkBlockedForUrls, key::kLocalNetworkAccessPermissionsPolicyDefaultEnabled, nullptr};
const char* const LoginScreenOrigins[] = {nullptr};
const char* const NativeMessaging[] = {nullptr};
const char* const NetworkFileShares[] = {nullptr};
const char* const NotificationsSettings[] = {key::kDefaultNotificationsSetting, key::kNotificationsAllowedForUrls, key::kNotificationsBlockedForUrls, nullptr};
const char* const PasswordManager[] = {key::kPasswordManagerEnabled, key::kPasswordSharingEnabled, key::kThirdPartyPasswordManagersAllowed, nullptr};
const char* const PasswordProtection[] = {nullptr};
const char* const PinUnlock[] = {nullptr};
const char* const PluginVm[] = {nullptr};
const char* const PluginsSettings[] = {nullptr};
const char* const PopupsSettings[] = {key::kDefaultPopupsSetting, key::kPopupsAllowedForUrls, key::kPopupsBlockedForUrls, nullptr};
const char* const PrivacySandbox[] = {key::kPrivacySandboxAdTopicsEnabled, key::kPrivacySandboxSiteEnabledAdsEnabled, key::kPrivacySandboxAdMeasurementEnabled, nullptr};
const char* const PrivateNetworkRequestSettings[] = {nullptr};
const char* const ProfileSeparation[] = {nullptr};
const char* const ProtectedContent[] = {key::kProtectedContentIdentifiersAllowed, nullptr};
const char* const Proxy[] = {key::kProxyMode, key::kProxyServerMode, key::kProxyServer, key::kProxyPacUrl, key::kProxyBypassList, key::kProxySettings, nullptr};
const char* const QuickUnlock[] = {nullptr};
const char* const RemoteAccess[] = {nullptr};
const char* const RestoreOnStartup[] = {nullptr};
const char* const SAML[] = {nullptr};
const char* const SafeBrowsing[] = {key::kSafeBrowsingEnabled, key::kSafeBrowsingExtendedReportingEnabled, key::kSafeBrowsingProtectionLevel, key::kSafeBrowsingAllowlistDomains, key::kSafeBrowsingProxiedRealTimeChecksAllowed, key::kDisableSafeBrowsingProceedAnyway, nullptr};
const char* const ScreenCaptureSettings[] = {key::kScreenCaptureAllowed, key::kScreenCaptureAllowedByOrigins, key::kWindowCaptureAllowedByOrigins, key::kTabCaptureAllowedByOrigins, key::kSameOriginTabCaptureAllowedByOrigins, nullptr};
const char* const SensorsSettings[] = {key::kDefaultSensorsSetting, key::kSensorsAllowedForUrls, key::kSensorsBlockedForUrls, nullptr};
const char* const SkyVaultSettings[] = {nullptr};
const char* const SmartCardConnectSettings[] = {nullptr};
const char* const SocketPoolSizeSettings[] = {key::kMaxConnectionsPerProxy, key::kMaxConnectionsPerProxyForWebSocket, key::kAllowSocketPoolSizeRandomizationForProxies, nullptr};
const char* const SupervisedUsers[] = {nullptr};
const char* const UserAndDeviceReporting[] = {nullptr};
const char* const WebPrintingSettings[] = {nullptr};
const char* const WebRtc[] = {nullptr};
const char* const WebUsbSettings[] = {key::kDefaultWebUsbGuardSetting, key::kWebUsbAllowDevicesForUrls, key::kWebUsbAskForUrls, key::kWebUsbBlockedForUrls, nullptr};
const char* const WiFi[] = {nullptr};
const char* const WindowManagementSettings[] = {nullptr};

}  // namespace

}  // namespace group

const AtomicGroup kPolicyAtomicGroupMappings[] = {
  {  37, group::kActiveDirectoryManagement, group::ActiveDirectoryManagement  },
  {  18, group::kAttestation, group::Attestation  },
  {  65, group::kAutomaticDownloadsSettings, group::AutomaticDownloadsSettings  },
  {  44, group::kBrowserIdle, group::BrowserIdle  },
  {  28, group::kBrowserSwitcher, group::BrowserSwitcher  },
  {  27, group::kCloudReporting, group::CloudReporting  },
  {  57, group::kControlledFrameSettings, group::ControlledFrameSettings  },
  {  9, group::kCookiesSettings, group::CookiesSettings  },
  {  35, group::kDateAndTime, group::DateAndTime  },
  {  7, group::kDefaultSearchProvider, group::DefaultSearchProvider  },
  {  59, group::kDeviceAttributesSettings, group::DeviceAttributesSettings  },
  {  52, group::kDirectSocketsSettings, group::DirectSocketsSettings  },
  {  36, group::kDisplay, group::Display  },
  {  17, group::kDrive, group::Drive  },
  {  5, group::kExtensions, group::Extensions  },
  {  50, group::kFloatingSso, group::FloatingSso  },
  {  62, group::kGeolocationSettings, group::GeolocationSettings  },
  {  21, group::kGoogleCast, group::GoogleCast  },
  {  1, group::kHomepage, group::Homepage  },
  {  8, group::kImageSettings, group::ImageSettings  },
  {  10, group::kJavascriptSettings, group::JavascriptSettings  },
  {  46, group::kKerberosPrefilledConfig, group::KerberosPrefilledConfig  },
  {  13, group::kKeygenSettings, group::KeygenSettings  },
  {  34, group::kKiosk, group::Kiosk  },
  {  61, group::kLegacyCookieScopeSettings, group::LegacyCookieScopeSettings  },
  {  38, group::kLegacySameSiteCookieBehaviorSettings, group::LegacySameSiteCookieBehaviorSettings  },
  {  43, group::kLocalFontsSettings, group::LocalFontsSettings  },
  {  58, group::kLocalNetworkAccessSettings, group::LocalNetworkAccessSettings  },
  {  31, group::kLoginScreenOrigins, group::LoginScreenOrigins  },
  {  16, group::kNativeMessaging, group::NativeMessaging  },
  {  26, group::kNetworkFileShares, group::NetworkFileShares  },
  {  14, group::kNotificationsSettings, group::NotificationsSettings  },
  {  3, group::kPasswordManager, group::PasswordManager  },
  {  25, group::kPasswordProtection, group::PasswordProtection  },
  {  23, group::kPinUnlock, group::PinUnlock  },
  {  29, group::kPluginVm, group::PluginVm  },
  {  11, group::kPluginsSettings, group::PluginsSettings  },
  {  12, group::kPopupsSettings, group::PopupsSettings  },
  {  45, group::kPrivacySandbox, group::PrivacySandbox  },
  {  40, group::kPrivateNetworkRequestSettings, group::PrivateNetworkRequestSettings  },
  {  49, group::kProfileSeparation, group::ProfileSeparation  },
  {  60, group::kProtectedContent, group::ProtectedContent  },
  {  4, group::kProxy, group::Proxy  },
  {  22, group::kQuickUnlock, group::QuickUnlock  },
  {  2, group::kRemoteAccess, group::RemoteAccess  },
  {  6, group::kRestoreOnStartup, group::RestoreOnStartup  },
  {  30, group::kSAML, group::SAML  },
  {  24, group::kSafeBrowsing, group::SafeBrowsing  },
  {  41, group::kScreenCaptureSettings, group::ScreenCaptureSettings  },
  {  39, group::kSensorsSettings, group::SensorsSettings  },
  {  53, group::kSkyVaultSettings, group::SkyVaultSettings  },
  {  55, group::kSmartCardConnectSettings, group::SmartCardConnectSettings  },
  {  63, group::kSocketPoolSizeSettings, group::SocketPoolSizeSettings  },
  {  20, group::kSupervisedUsers, group::SupervisedUsers  },
  {  32, group::kUserAndDeviceReporting, group::UserAndDeviceReporting  },
  {  51, group::kWebPrintingSettings, group::WebPrintingSettings  },
  {  56, group::kWebRtc, group::WebRtc  },
  {  15, group::kWebUsbSettings, group::WebUsbSettings  },
  {  33, group::kWiFi, group::WiFi  },
  {  42, group::kWindowManagementSettings, group::WindowManagementSettings  },
};

const size_t kPolicyAtomicGroupMappingsLength = 60;

namespace metapolicy {

const char* const kMerge[3] = {
  key::kCloudUserPolicyMerge,
  key::kPolicyDictionaryMultipleSourceMergeList,
  key::kPolicyListMultipleSourceMergeList,
};

const char* const kPrecedence[2] = {
  key::kCloudPolicyOverridesPlatformPolicy,
  key::kCloudUserPolicyOverridesCloudMachinePolicy,
};

}  // namespace metapolicy

const std::array<BooleanPolicyAccess, 123> kBooleanPolicyAccess {{
  {key::kAccessControlAllowMethodsInCORSPreflightSpecConformant,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_accesscontrolallowmethodsincorspreflightspecconformant();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.accesscontrolallowmethodsincorspreflightspecconformant();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_accesscontrolallowmethodsincorspreflightspecconformant();
   }
  },
  {key::kAccessibilityPerformanceFilteringAllowed,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_accessibilityperformancefilteringallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().accessibilityperformancefilteringallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_accessibilityperformancefilteringallowed();
   }
  },
  {key::kAdditionalDnsQueryTypesEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_additionaldnsquerytypesenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.additionaldnsquerytypesenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_additionaldnsquerytypesenabled();
   }
  },
  {key::kAllowBackForwardCacheForCacheControlNoStorePageEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_allowbackforwardcacheforcachecontrolnostorepageenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().allowbackforwardcacheforcachecontrolnostorepageenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_allowbackforwardcacheforcachecontrolnostorepageenabled();
   }
  },
  {key::kAllowDeletingBrowserHistory,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_allowdeletingbrowserhistory();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.allowdeletingbrowserhistory();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_allowdeletingbrowserhistory();
   }
  },
  {key::kAllowSocketPoolSizeRandomizationForProxies,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_allowsocketpoolsizerandomizationforproxies();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().allowsocketpoolsizerandomizationforproxies();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_allowsocketpoolsizerandomizationforproxies();
   }
  },
  {key::kAllowWebAuthnWithBrokenTlsCerts,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_allowwebauthnwithbrokentlscerts();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.allowwebauthnwithbrokentlscerts();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_allowwebauthnwithbrokentlscerts();
   }
  },
  {key::kAlternateErrorPagesEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_alternateerrorpagesenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.alternateerrorpagesenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_alternateerrorpagesenabled();
   }
  },
  {key::kAutoFillEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_autofillenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.autofillenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_autofillenabled();
   }
  },
  {key::kAutofillAddressEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_autofilladdressenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.autofilladdressenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_autofilladdressenabled();
   }
  },
  {key::kAutofillCreditCardEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_autofillcreditcardenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.autofillcreditcardenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_autofillcreditcardenabled();
   }
  },
  {key::kAutoplayAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_autoplayallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.autoplayallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_autoplayallowed();
   }
  },
  {key::kBackForwardCacheEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_backforwardcacheenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.backforwardcacheenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_backforwardcacheenabled();
   }
  },
  {key::kBackForwardCacheForWebSocketsAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_backforwardcacheforwebsocketsallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().backforwardcacheforwebsocketsallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_backforwardcacheforwebsocketsallowed();
   }
  },
  {key::kBlockExternalExtensions,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_blockexternalextensions();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.blockexternalextensions();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_blockexternalextensions();
   }
  },
  {key::kBlockThirdPartyCookies,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_blockthirdpartycookies();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.blockthirdpartycookies();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_blockthirdpartycookies();
   }
  },
  {key::kBookmarkBarEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_bookmarkbarenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.bookmarkbarenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_bookmarkbarenabled();
   }
  },
  {key::kBuiltInDnsClientEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_builtindnsclientenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.builtindnsclientenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_builtindnsclientenabled();
   }
  },
  {key::kCAPlatformIntegrationEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_caplatformintegrationenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().caplatformintegrationenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_caplatformintegrationenabled();
   }
  },
  {key::kCORSNonWildcardRequestHeadersSupport,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_corsnonwildcardrequestheaderssupport();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.corsnonwildcardrequestheaderssupport();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_corsnonwildcardrequestheaderssupport();
   }
  },
  {key::kCacheEncryptionEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_cacheencryptionenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().cacheencryptionenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_cacheencryptionenabled();
   }
  },
  {key::kChromeForTestingAllowed,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_chromefortestingallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().chromefortestingallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_chromefortestingallowed();
   }
  },
  {key::kClearWindowNameForNewBrowsingContextGroup,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_clearwindownamefornewbrowsingcontextgroup();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().clearwindownamefornewbrowsingcontextgroup();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_clearwindownamefornewbrowsingcontextgroup();
   }
  },
  {key::kCloudExtensionRequestEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_cloudextensionrequestenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.cloudextensionrequestenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_cloudextensionrequestenabled();
   }
  },
  {key::kCloudPolicyOverridesPlatformPolicy,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_cloudpolicyoverridesplatformpolicy();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.cloudpolicyoverridesplatformpolicy();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_cloudpolicyoverridesplatformpolicy();
   }
  },
  {key::kCloudProfileReportingEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_cloudprofilereportingenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.cloudprofilereportingenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_cloudprofilereportingenabled();
   }
  },
  {key::kCloudReportingEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_cloudreportingenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.cloudreportingenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_cloudreportingenabled();
   }
  },
  {key::kCloudUserPolicyMerge,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_clouduserpolicymerge();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.clouduserpolicymerge();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_clouduserpolicymerge();
   }
  },
  {key::kCloudUserPolicyOverridesCloudMachinePolicy,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_clouduserpolicyoverridescloudmachinepolicy();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.clouduserpolicyoverridescloudmachinepolicy();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_clouduserpolicyoverridescloudmachinepolicy();
   }
  },
  {key::kComponentUpdatesEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_componentupdatesenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.componentupdatesenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_componentupdatesenabled();
   }
  },
  {key::kContextualSearchEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_contextualsearchenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.contextualsearchenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_contextualsearchenabled();
   }
  },
  {key::kDataURLWhitespacePreservationEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_dataurlwhitespacepreservationenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().dataurlwhitespacepreservationenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_dataurlwhitespacepreservationenabled();
   }
  },
  {key::kDataUrlInSvgUseEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_dataurlinsvguseenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().dataurlinsvguseenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_dataurlinsvguseenabled();
   }
  },
  {key::kDataUrlInWebWorkerOpaqueOriginEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_dataurlinwebworkeropaqueoriginenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().dataurlinwebworkeropaqueoriginenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_dataurlinwebworkeropaqueoriginenabled();
   }
  },
  {key::kDefaultSearchProviderEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsearchproviderenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.defaultsearchproviderenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_defaultsearchproviderenabled();
   }
  },
  {key::kDisableAuthNegotiateCnameLookup,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_disableauthnegotiatecnamelookup();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.disableauthnegotiatecnamelookup();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_disableauthnegotiatecnamelookup();
   }
  },
  {key::kDisableSafeBrowsingProceedAnyway,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_disablesafebrowsingproceedanyway();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.disablesafebrowsingproceedanyway();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_disablesafebrowsingproceedanyway();
   }
  },
  {key::kDisableScreenshots,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_disablescreenshots();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.disablescreenshots();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_disablescreenshots();
   }
  },
  {key::kDomainReliabilityAllowed,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_domainreliabilityallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().domainreliabilityallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_domainreliabilityallowed();
   }
  },
  {key::kEditBookmarksEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_editbookmarksenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.editbookmarksenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_editbookmarksenabled();
   }
  },
  {key::kEnableMediaRouter,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_enablemediarouter();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.enablemediarouter();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_enablemediarouter();
   }
  },
  {key::kEncryptedClientHelloEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_encryptedclienthelloenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.encryptedclienthelloenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_encryptedclienthelloenabled();
   }
  },
  {key::kEnterpriseHardwarePlatformAPIEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_enterprisehardwareplatformapienabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.enterprisehardwareplatformapienabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_enterprisehardwareplatformapienabled();
   }
  },
  {key::kExtensionDOMActivityLoggingEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_extensiondomactivityloggingenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().extensiondomactivityloggingenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_extensiondomactivityloggingenabled();
   }
  },
  {key::kExtensionInstallCloudPolicyChecksEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_extensioninstallcloudpolicychecksenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().extensioninstallcloudpolicychecksenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_extensioninstallcloudpolicychecksenabled();
   }
  },
  {key::kFeedbackSurveysEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_feedbacksurveysenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().feedbacksurveysenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_feedbacksurveysenabled();
   }
  },
  {key::kForceBrowserSignin,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_forcebrowsersignin();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.forcebrowsersignin();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_forcebrowsersignin();
   }
  },
  {key::kForceGoogleSafeSearch,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_forcegooglesafesearch();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.forcegooglesafesearch();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_forcegooglesafesearch();
   }
  },
  {key::kForcePermissionPolicyUnloadDefaultEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_forcepermissionpolicyunloaddefaultenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().forcepermissionpolicyunloaddefaultenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_forcepermissionpolicyunloaddefaultenabled();
   }
  },
  {key::kForceSafeSearch,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_forcesafesearch();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.forcesafesearch();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_forcesafesearch();
   }
  },
  {key::kForceYouTubeSafetyMode,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_forceyoutubesafetymode();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.forceyoutubesafetymode();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_forceyoutubesafetymode();
   }
  },
  {key::kGloballyScopeHTTPAuthCacheEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_globallyscopehttpauthcacheenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.globallyscopehttpauthcacheenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_globallyscopehttpauthcacheenabled();
   }
  },
  {key::kHappyEyeballsV3Enabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_happyeyeballsv3enabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().happyeyeballsv3enabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_happyeyeballsv3enabled();
   }
  },
  {key::kHistoryClustersVisible,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_historyclustersvisible();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.historyclustersvisible();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_historyclustersvisible();
   }
  },
  {key::kHomepageIsNewTabPage,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_homepageisnewtabpage();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.homepageisnewtabpage();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_homepageisnewtabpage();
   }
  },
  {key::kHttpsUpgradesEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_httpsupgradesenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().httpsupgradesenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_httpsupgradesenabled();
   }
  },
  {key::kIPv6ReachabilityOverrideEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_ipv6reachabilityoverrideenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().ipv6reachabilityoverrideenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_ipv6reachabilityoverrideenabled();
   }
  },
  {key::kIncognitoEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_incognitoenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.incognitoenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_incognitoenabled();
   }
  },
  {key::kInsecureFormsWarningsEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_insecureformswarningsenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.insecureformswarningsenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_insecureformswarningsenabled();
   }
  },
  {key::kIntensiveWakeUpThrottlingEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_intensivewakeupthrottlingenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.intensivewakeupthrottlingenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_intensivewakeupthrottlingenabled();
   }
  },
  {key::kJavascriptEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_javascriptenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.javascriptenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_javascriptenabled();
   }
  },
  {key::kLensCameraAssistedSearchEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_lenscameraassistedsearchenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.lenscameraassistedsearchenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_lenscameraassistedsearchenabled();
   }
  },
  {key::kListenToThisPageEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_listentothispageenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().listentothispageenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_listentothispageenabled();
   }
  },
  {key::kLocalNetworkAccessPermissionsPolicyDefaultEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_localnetworkaccesspermissionspolicydefaultenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().localnetworkaccesspermissionspolicydefaultenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_localnetworkaccesspermissionspolicydefaultenabled();
   }
  },
  {key::kLocalNetworkAccessRestrictionsTemporaryOptOut,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_localnetworkaccessrestrictionstemporaryoptout();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().localnetworkaccessrestrictionstemporaryoptout();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_localnetworkaccessrestrictionstemporaryoptout();
   }
  },
  {key::kMetricsReportingEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_metricsreportingenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.metricsreportingenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_metricsreportingenabled();
   }
  },
  {key::kNTPContentSuggestionsEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_ntpcontentsuggestionsenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.ntpcontentsuggestionsenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_ntpcontentsuggestionsenabled();
   }
  },
  {key::kNTPCustomBackgroundEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_ntpcustombackgroundenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.ntpcustombackgroundenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_ntpcustombackgroundenabled();
   }
  },
  {key::kNtlmV2Enabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_ntlmv2enabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.ntlmv2enabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_ntlmv2enabled();
   }
  },
  {key::kOutOfProcessSystemDnsResolutionEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_outofprocesssystemdnsresolutionenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().outofprocesssystemdnsresolutionenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_outofprocesssystemdnsresolutionenabled();
   }
  },
  {key::kPartitionedBlobUrlUsage,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_partitionedbloburlusage();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().partitionedbloburlusage();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_partitionedbloburlusage();
   }
  },
  {key::kPasswordLeakDetectionEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_passwordleakdetectionenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.passwordleakdetectionenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_passwordleakdetectionenabled();
   }
  },
  {key::kPasswordManagerEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_passwordmanagerenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.passwordmanagerenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_passwordmanagerenabled();
   }
  },
  {key::kPasswordSharingEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_passwordsharingenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().passwordsharingenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_passwordsharingenabled();
   }
  },
  {key::kPaymentMethodQueryEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_paymentmethodqueryenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.paymentmethodqueryenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_paymentmethodqueryenabled();
   }
  },
  {key::kPolicyAtomicGroupsEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_policyatomicgroupsenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.policyatomicgroupsenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_policyatomicgroupsenabled();
   }
  },
  {key::kPolicyTestPageEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_policytestpageenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().policytestpageenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_policytestpageenabled();
   }
  },
  {key::kPrefetchWithServiceWorkerEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_prefetchwithserviceworkerenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().prefetchwithserviceworkerenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_prefetchwithserviceworkerenabled();
   }
  },
  {key::kPrintingEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_printingenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.printingenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_printingenabled();
   }
  },
  {key::kPrivacySandboxAdMeasurementEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_privacysandboxadmeasurementenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().privacysandboxadmeasurementenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_privacysandboxadmeasurementenabled();
   }
  },
  {key::kPrivacySandboxAdTopicsEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_privacysandboxadtopicsenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().privacysandboxadtopicsenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_privacysandboxadtopicsenabled();
   }
  },
  {key::kPrivacySandboxPromptEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_privacysandboxpromptenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().privacysandboxpromptenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_privacysandboxpromptenabled();
   }
  },
  {key::kPrivacySandboxSiteEnabledAdsEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_privacysandboxsiteenabledadsenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().privacysandboxsiteenabledadsenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_privacysandboxsiteenabledadsenabled();
   }
  },
  {key::kPromptForDownloadLocation,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_promptfordownloadlocation();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.promptfordownloadlocation();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_promptfordownloadlocation();
   }
  },
  {key::kProtectedContentIdentifiersAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_protectedcontentidentifiersallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().protectedcontentidentifiersallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_protectedcontentidentifiersallowed();
   }
  },
  {key::kQRCodeGeneratorEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_qrcodegeneratorenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().qrcodegeneratorenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_qrcodegeneratorenabled();
   }
  },
  {key::kReduceAcceptLanguageEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_reduceacceptlanguageenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().reduceacceptlanguageenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_reduceacceptlanguageenabled();
   }
  },
  {key::kRestrictBackgroundFetchFromServiceWorkerEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_restrictbackgroundfetchfromserviceworkerenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().restrictbackgroundfetchfromserviceworkerenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_restrictbackgroundfetchfromserviceworkerenabled();
   }
  },
  {key::kSSLErrorOverrideAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_sslerroroverrideallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.sslerroroverrideallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_sslerroroverrideallowed();
   }
  },
  {key::kSafeBrowsingEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_safebrowsingenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.safebrowsingenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_safebrowsingenabled();
   }
  },
  {key::kSafeBrowsingExtendedReportingEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_safebrowsingextendedreportingenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.safebrowsingextendedreportingenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_safebrowsingextendedreportingenabled();
   }
  },
  {key::kSafeBrowsingProxiedRealTimeChecksAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_safebrowsingproxiedrealtimechecksallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().safebrowsingproxiedrealtimechecksallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_safebrowsingproxiedrealtimechecksallowed();
   }
  },
  {key::kSavingBrowserHistoryDisabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_savingbrowserhistorydisabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.savingbrowserhistorydisabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_savingbrowserhistorydisabled();
   }
  },
  {key::kScreenCaptureAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_screencaptureallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.screencaptureallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_screencaptureallowed();
   }
  },
  {key::kScrollToTextFragmentEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_scrolltotextfragmentenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.scrolltotextfragmentenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_scrolltotextfragmentenabled();
   }
  },
  {key::kSearchSuggestEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_searchsuggestenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.searchsuggestenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_searchsuggestenabled();
   }
  },
  {key::kServiceWorkerAutoPreloadEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_serviceworkerautopreloadenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().serviceworkerautopreloadenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_serviceworkerautopreloadenabled();
   }
  },
  {key::kServiceWorkerToControlSrcdocIframeEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_serviceworkertocontrolsrcdociframeenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().serviceworkertocontrolsrcdociframeenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_serviceworkertocontrolsrcdociframeenabled();
   }
  },
  {key::kSharedWorkerBlobURLFixEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_sharedworkerbloburlfixenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().sharedworkerbloburlfixenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_sharedworkerbloburlfixenabled();
   }
  },
  {key::kSharedWorkerExtendedLifetimeEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_sharedworkerextendedlifetimeenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().sharedworkerextendedlifetimeenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_sharedworkerextendedlifetimeenabled();
   }
  },
  {key::kShoppingListEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_shoppinglistenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.shoppinglistenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_shoppinglistenabled();
   }
  },
  {key::kShowFullUrlsInAddressBar,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_showfullurlsinaddressbar();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.showfullurlsinaddressbar();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_showfullurlsinaddressbar();
   }
  },
  {key::kShowHomeButton,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_showhomebutton();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.showhomebutton();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_showhomebutton();
   }
  },
  {key::kSigninAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_signinallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.signinallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_signinallowed();
   }
  },
  {key::kSitePerProcessAndroid,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_siteperprocessandroid();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.siteperprocessandroid();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_siteperprocessandroid();
   }
  },
  {key::kStandardizedBrowserZoomEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_standardizedbrowserzoomenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().standardizedbrowserzoomenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_standardizedbrowserzoomenabled();
   }
  },
  {key::kStaticStorageQuotaEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_staticstoragequotaenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().staticstoragequotaenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_staticstoragequotaenabled();
   }
  },
  {key::kStrictMimetypeCheckForWorkerScriptsEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_strictmimetypecheckforworkerscriptsenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.strictmimetypecheckforworkerscriptsenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_strictmimetypecheckforworkerscriptsenabled();
   }
  },
  {key::kSuppressDifferentOriginSubframeDialogs,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_suppressdifferentoriginsubframedialogs();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.suppressdifferentoriginsubframedialogs();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_suppressdifferentoriginsubframedialogs();
   }
  },
  {key::kSyncDisabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_syncdisabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.syncdisabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_syncdisabled();
   }
  },
  {key::kTLS13EarlyDataEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_tls13earlydataenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().tls13earlydataenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_tls13earlydataenabled();
   }
  },
  {key::kThirdPartyPasswordManagersAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_thirdpartypasswordmanagersallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().thirdpartypasswordmanagersallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_thirdpartypasswordmanagersallowed();
   }
  },
  {key::kTranslateEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_translateenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.translateenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_translateenabled();
   }
  },
  {key::kUrlKeyedAnonymizedDataCollectionEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_urlkeyedanonymizeddatacollectionenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.urlkeyedanonymizeddatacollectionenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_urlkeyedanonymizeddatacollectionenabled();
   }
  },
  {key::kUrlKeyedMetricsAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_urlkeyedmetricsallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().urlkeyedmetricsallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_urlkeyedmetricsallowed();
   }
  },
  {key::kUserFeedbackAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_userfeedbackallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.userfeedbackallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_userfeedbackallowed();
   }
  },
  {key::kUserSecurityAuthenticatedReporting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_usersecurityauthenticatedreporting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().usersecurityauthenticatedreporting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_usersecurityauthenticatedreporting();
   }
  },
  {key::kUserSecuritySignalsReporting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_usersecuritysignalsreporting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().usersecuritysignalsreporting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_usersecuritysignalsreporting();
   }
  },
  {key::kVirtualKeyboardResizesLayoutByDefault,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_virtualkeyboardresizeslayoutbydefault();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.virtualkeyboardresizeslayoutbydefault();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_virtualkeyboardresizeslayoutbydefault();
   }
  },
  {key::kWebAudioOutputBufferingEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_webaudiooutputbufferingenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().webaudiooutputbufferingenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_webaudiooutputbufferingenabled();
   }
  },
  {key::kWebRtcEventLogCollectionAllowed,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webrtceventlogcollectionallowed();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.webrtceventlogcollectionallowed();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_webrtceventlogcollectionallowed();
   }
  },
  {key::kWebXRImmersiveArEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webxrimmersivearenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.webxrimmersivearenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_webxrimmersivearenabled();
   }
  },
  {key::kXSLTEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_xsltenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::BooleanPolicyProto& {
     return policy.subproto1().xsltenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::BooleanPolicyProto* {
     return policy.mutable_subproto1()->mutable_xsltenabled();
   }
  },
}};

const std::array<IntegerPolicyAccess, 55> kIntegerPolicyAccess {{
  {key::kAIModeSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_aimodesettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().aimodesettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_aimodesettings();
   }
  },
  {key::kAdsSettingForIntrusiveAdsSites,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_adssettingforintrusiveadssites();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.adssettingforintrusiveadssites();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_adssettingforintrusiveadssites();
   }
  },
  {key::kAndroidEntraSsoEnabled,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_androidentrassoenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().androidentrassoenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_androidentrassoenabled();
   }
  },
  {key::kAutofillPredictionSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_autofillpredictionsettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().autofillpredictionsettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_autofillpredictionsettings();
   }
  },
  {key::kBrowserSignin,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_browsersignin();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.browsersignin();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_browsersignin();
   }
  },
  {key::kChromeDataRegionSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_chromedataregionsetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().chromedataregionsetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_chromedataregionsetting();
   }
  },
  {key::kChromeVariations,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_chromevariations();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.chromevariations();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_chromevariations();
   }
  },
  {key::kCloudReportingUploadFrequency,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_cloudreportinguploadfrequency();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.cloudreportinguploadfrequency();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_cloudreportinguploadfrequency();
   }
  },
  {key::kCpuPerformanceTierOverride,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_cpuperformancetieroverride();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().cpuperformancetieroverride();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_cpuperformancetieroverride();
   }
  },
  {key::kDefaultAutomaticDownloadsSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_defaultautomaticdownloadssetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().defaultautomaticdownloadssetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_defaultautomaticdownloadssetting();
   }
  },
  {key::kDefaultClipboardSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultclipboardsetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultclipboardsetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultclipboardsetting();
   }
  },
  {key::kDefaultCookiesSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultcookiessetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultcookiessetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultcookiessetting();
   }
  },
  {key::kDefaultGeolocationSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultgeolocationsetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultgeolocationsetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultgeolocationsetting();
   }
  },
  {key::kDefaultIdleDetectionSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_defaultidledetectionsetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().defaultidledetectionsetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_defaultidledetectionsetting();
   }
  },
  {key::kDefaultImagesSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultimagessetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultimagessetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultimagessetting();
   }
  },
  {key::kDefaultJavaScriptJitSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultjavascriptjitsetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultjavascriptjitsetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultjavascriptjitsetting();
   }
  },
  {key::kDefaultJavaScriptOptimizerSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_defaultjavascriptoptimizersetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().defaultjavascriptoptimizersetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_defaultjavascriptoptimizersetting();
   }
  },
  {key::kDefaultJavaScriptSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultjavascriptsetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultjavascriptsetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultjavascriptsetting();
   }
  },
  {key::kDefaultNotificationsSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultnotificationssetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultnotificationssetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultnotificationssetting();
   }
  },
  {key::kDefaultPopupsSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultpopupssetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultpopupssetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultpopupssetting();
   }
  },
  {key::kDefaultSensorsSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsensorssetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultsensorssetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultsensorssetting();
   }
  },
  {key::kDefaultSerialGuardSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultserialguardsetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultserialguardsetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultserialguardsetting();
   }
  },
  {key::kDefaultWebBluetoothGuardSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultwebbluetoothguardsetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultwebbluetoothguardsetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultwebbluetoothguardsetting();
   }
  },
  {key::kDefaultWebHidGuardSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultwebhidguardsetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultwebhidguardsetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultwebhidguardsetting();
   }
  },
  {key::kDefaultWebUsbGuardSetting,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultwebusbguardsetting();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.defaultwebusbguardsetting();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_defaultwebusbguardsetting();
   }
  },
  {key::kDeveloperToolsAvailability,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_developertoolsavailability();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.developertoolsavailability();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_developertoolsavailability();
   }
  },
  {key::kDownloadRestrictions,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_downloadrestrictions();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.downloadrestrictions();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_downloadrestrictions();
   }
  },
  {key::kEnterpriseRealTimeUrlCheckMode,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_enterpriserealtimeurlcheckmode();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.enterpriserealtimeurlcheckmode();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_enterpriserealtimeurlcheckmode();
   }
  },
  {key::kExtensionDeveloperModeSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_extensiondevelopermodesettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().extensiondevelopermodesettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_extensiondevelopermodesettings();
   }
  },
  {key::kExtensionUnpublishedAvailability,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_extensionunpublishedavailability();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().extensionunpublishedavailability();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_extensionunpublishedavailability();
   }
  },
  {key::kFindAndFillWithGeminiSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_findandfillwithgeminisettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().findandfillwithgeminisettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_findandfillwithgeminisettings();
   }
  },
  {key::kFindsSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_findssettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().findssettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_findssettings();
   }
  },
  {key::kForceYouTubeRestrict,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_forceyoutuberestrict();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.forceyoutuberestrict();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_forceyoutuberestrict();
   }
  },
  {key::kGeminiActOnWebSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_geminiactonwebsettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().geminiactonwebsettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_geminiactonwebsettings();
   }
  },
  {key::kGeminiSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_geminisettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().geminisettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_geminisettings();
   }
  },
  {key::kGenAILocalFoundationalModelSettings,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_genailocalfoundationalmodelsettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().genailocalfoundationalmodelsettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_genailocalfoundationalmodelsettings();
   }
  },
  {key::kGenAiDefaultSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_genaidefaultsettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().genaidefaultsettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_genaidefaultsettings();
   }
  },
  {key::kIdleTimeout,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_idletimeout();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.idletimeout();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_idletimeout();
   }
  },
  {key::kIncognitoModeAvailability,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_incognitomodeavailability();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.incognitomodeavailability();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_incognitomodeavailability();
   }
  },
  {key::kIntranetRedirectBehavior,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_intranetredirectbehavior();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.intranetredirectbehavior();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_intranetredirectbehavior();
   }
  },
  {key::kIsolatedModeSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_isolatedmodesettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().isolatedmodesettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_isolatedmodesettings();
   }
  },
  {key::kLegacyCookieScopeEnabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_legacycookiescopeenabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().legacycookiescopeenabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_legacycookiescopeenabled();
   }
  },
  {key::kMaxConnectionsPerProxy,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_maxconnectionsperproxy();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.maxconnectionsperproxy();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_maxconnectionsperproxy();
   }
  },
  {key::kMaxConnectionsPerProxyForWebSocket,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_maxconnectionsperproxyforwebsocket();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().maxconnectionsperproxyforwebsocket();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_maxconnectionsperproxyforwebsocket();
   }
  },
  {key::kNetworkPredictionOptions,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_networkpredictionoptions();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.networkpredictionoptions();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_networkpredictionoptions();
   }
  },
  {key::kProvisionManagedClientCertificateForBrowser,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_provisionmanagedclientcertificateforbrowser();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().provisionmanagedclientcertificateforbrowser();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_provisionmanagedclientcertificateforbrowser();
   }
  },
  {key::kProvisionManagedClientCertificateForUser,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_provisionmanagedclientcertificateforuser();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().provisionmanagedclientcertificateforuser();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_provisionmanagedclientcertificateforuser();
   }
  },
  {key::kProxyServerMode,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_proxyservermode();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.proxyservermode();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_proxyservermode();
   }
  },
  {key::kSafeBrowsingProtectionLevel,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_safebrowsingprotectionlevel();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.safebrowsingprotectionlevel();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_safebrowsingprotectionlevel();
   }
  },
  {key::kSafeSitesFilterBehavior,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_safesitesfilterbehavior();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.safesitesfilterbehavior();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_safesitesfilterbehavior();
   }
  },
  {key::kSearchContentSharingSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_searchcontentsharingsettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().searchcontentsharingsettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_searchcontentsharingsettings();
   }
  },
  {key::kTabCompareSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_tabcomparesettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().tabcomparesettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_tabcomparesettings();
   }
  },
  {key::kTabGroupSharingSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_tabgroupsharingsettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().tabgroupsharingsettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_tabgroupsharingsettings();
   }
  },
  {key::kThirdPartyAiChatSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_thirdpartyaichatsettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.subproto1().thirdpartyaichatsettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_subproto1()->mutable_thirdpartyaichatsettings();
   }
  },
  {key::kTosDialogBehavior,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_tosdialogbehavior();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::IntegerPolicyProto& {
     return policy.tosdialogbehavior();
   },
   [](em::CloudPolicySettings& policy)
       -> em::IntegerPolicyProto* {
     return policy.mutable_tosdialogbehavior();
   }
  },
}};

const std::array<StringPolicyAccess, 46> kStringPolicyAccess {{
  {key::kAllowedDomainsForApps,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_alloweddomainsforapps();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.alloweddomainsforapps();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_alloweddomainsforapps();
   },
   StringPolicyType::STRING
  },
  {key::kAuthAndroidNegotiateAccountType,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_authandroidnegotiateaccounttype();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.authandroidnegotiateaccounttype();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_authandroidnegotiateaccounttype();
   },
   StringPolicyType::STRING
  },
  {key::kAuthNegotiateDelegateAllowlist,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_authnegotiatedelegateallowlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.authnegotiatedelegateallowlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_authnegotiatedelegateallowlist();
   },
   StringPolicyType::STRING
  },
  {key::kAuthSchemes,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_authschemes();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.authschemes();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_authschemes();
   },
   StringPolicyType::STRING
  },
  {key::kAuthServerAllowlist,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_authserverallowlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.authserverallowlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_authserverallowlist();
   },
   StringPolicyType::STRING
  },
  {key::kAutofillSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_autofillsettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.subproto1().autofillsettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_subproto1()->mutable_autofillsettings();
   },
   StringPolicyType::JSON
  },
  {key::kBrowsingDataLifetime,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_browsingdatalifetime();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.browsingdatalifetime();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_browsingdatalifetime();
   },
   StringPolicyType::JSON
  },
  {key::kCACertificatesWithConstraints,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_cacertificateswithconstraints();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.subproto1().cacertificateswithconstraints();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_subproto1()->mutable_cacertificateswithconstraints();
   },
   StringPolicyType::JSON
  },
  {key::kCloudManagementEnrollmentToken,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_cloudmanagementenrollmenttoken();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.cloudmanagementenrollmenttoken();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_cloudmanagementenrollmenttoken();
   },
   StringPolicyType::STRING
  },
  {key::kDataControlsRules,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_datacontrolsrules();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.subproto1().datacontrolsrules();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_subproto1()->mutable_datacontrolsrules();
   },
   StringPolicyType::JSON
  },
  {key::kDefaultSearchProviderImageURL,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsearchproviderimageurl();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.defaultsearchproviderimageurl();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_defaultsearchproviderimageurl();
   },
   StringPolicyType::STRING
  },
  {key::kDefaultSearchProviderImageURLPostParams,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsearchproviderimageurlpostparams();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.defaultsearchproviderimageurlpostparams();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_defaultsearchproviderimageurlpostparams();
   },
   StringPolicyType::STRING
  },
  {key::kDefaultSearchProviderName,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsearchprovidername();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.defaultsearchprovidername();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_defaultsearchprovidername();
   },
   StringPolicyType::STRING
  },
  {key::kDefaultSearchProviderSearchURL,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsearchprovidersearchurl();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.defaultsearchprovidersearchurl();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_defaultsearchprovidersearchurl();
   },
   StringPolicyType::STRING
  },
  {key::kDefaultSearchProviderSearchURLPostParams,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsearchprovidersearchurlpostparams();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.defaultsearchprovidersearchurlpostparams();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_defaultsearchprovidersearchurlpostparams();
   },
   StringPolicyType::STRING
  },
  {key::kDefaultSearchProviderSuggestURL,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsearchprovidersuggesturl();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.defaultsearchprovidersuggesturl();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_defaultsearchprovidersuggesturl();
   },
   StringPolicyType::STRING
  },
  {key::kDefaultSearchProviderSuggestURLPostParams,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsearchprovidersuggesturlpostparams();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.defaultsearchprovidersuggesturlpostparams();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_defaultsearchprovidersuggesturlpostparams();
   },
   StringPolicyType::STRING
  },
  {key::kDnsOverHttpsMode,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_dnsoverhttpsmode();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.dnsoverhttpsmode();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_dnsoverhttpsmode();
   },
   StringPolicyType::STRING
  },
  {key::kDnsOverHttpsTemplates,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_dnsoverhttpstemplates();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.dnsoverhttpstemplates();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_dnsoverhttpstemplates();
   },
   StringPolicyType::STRING
  },
  {key::kEnterpriseAuthenticationAppLinkPolicy,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_enterpriseauthenticationapplinkpolicy();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.enterpriseauthenticationapplinkpolicy();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_enterpriseauthenticationapplinkpolicy();
   },
   StringPolicyType::JSON
  },
  {key::kExtensionSettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_extensionsettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.extensionsettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_extensionsettings();
   },
   StringPolicyType::JSON
  },
  {key::kHomepageLocation,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_homepagelocation();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.homepagelocation();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_homepagelocation();
   },
   StringPolicyType::STRING
  },
  {key::kHttpsOnlyMode,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_httpsonlymode();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.httpsonlymode();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_httpsonlymode();
   },
   StringPolicyType::STRING
  },
  {key::kIsolateOrigins,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_isolateorigins();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.isolateorigins();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_isolateorigins();
   },
   StringPolicyType::STRING
  },
  {key::kIsolateOriginsAndroid,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_isolateoriginsandroid();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.isolateoriginsandroid();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_isolateoriginsandroid();
   },
   StringPolicyType::STRING
  },
  {key::kIsolateOriginsShortlist,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_isolateoriginsshortlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.subproto1().isolateoriginsshortlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_subproto1()->mutable_isolateoriginsshortlist();
   },
   StringPolicyType::STRING
  },
  {key::kManagedBookmarks,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_managedbookmarks();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.managedbookmarks();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_managedbookmarks();
   },
   StringPolicyType::JSON
  },
  {key::kNewTabPageLocation,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_newtabpagelocation();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.newtabpagelocation();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_newtabpagelocation();
   },
   StringPolicyType::STRING
  },
  {key::kOnFileDownloadedEnterpriseConnector,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_onfiledownloadedenterpriseconnector();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.onfiledownloadedenterpriseconnector();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_onfiledownloadedenterpriseconnector();
   },
   StringPolicyType::JSON
  },
  {key::kOnNetworkRequestEnterpriseConnector,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_onnetworkrequestenterpriseconnector();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.subproto1().onnetworkrequestenterpriseconnector();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_subproto1()->mutable_onnetworkrequestenterpriseconnector();
   },
   StringPolicyType::JSON
  },
  {key::kOnSecurityEventEnterpriseConnector,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_onsecurityevententerpriseconnector();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.onsecurityevententerpriseconnector();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_onsecurityevententerpriseconnector();
   },
   StringPolicyType::JSON
  },
  {key::kPreferSlowCiphers,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_preferslowciphers();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.subproto1().preferslowciphers();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_subproto1()->mutable_preferslowciphers();
   },
   StringPolicyType::STRING
  },
  {key::kPreferSlowKexAlgorithms,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_preferslowkexalgorithms();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.subproto1().preferslowkexalgorithms();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_subproto1()->mutable_preferslowkexalgorithms();
   },
   StringPolicyType::STRING
  },
  {key::kProxyBypassList,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_proxybypasslist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.proxybypasslist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_proxybypasslist();
   },
   StringPolicyType::STRING
  },
  {key::kProxyMode,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_proxymode();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.proxymode();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_proxymode();
   },
   StringPolicyType::STRING
  },
  {key::kProxyOverrideRules,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_proxyoverriderules();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.subproto1().proxyoverriderules();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_subproto1()->mutable_proxyoverriderules();
   },
   StringPolicyType::JSON
  },
  {key::kProxyPacUrl,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_proxypacurl();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.proxypacurl();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_proxypacurl();
   },
   StringPolicyType::STRING
  },
  {key::kProxyProvisioningDomains,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_proxyprovisioningdomains();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.subproto1().proxyprovisioningdomains();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_subproto1()->mutable_proxyprovisioningdomains();
   },
   StringPolicyType::JSON
  },
  {key::kProxyServer,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_proxyserver();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.proxyserver();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_proxyserver();
   },
   StringPolicyType::STRING
  },
  {key::kProxySettings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_proxysettings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.proxysettings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_proxysettings();
   },
   StringPolicyType::JSON
  },
  {key::kSerialAllowUsbDevicesForUrls,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_serialallowusbdevicesforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.serialallowusbdevicesforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_serialallowusbdevicesforurls();
   },
   StringPolicyType::JSON
  },
  {key::kVariationsRestrictParameter,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_variationsrestrictparameter();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.variationsrestrictparameter();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_variationsrestrictparameter();
   },
   StringPolicyType::STRING
  },
  {key::kWebHidAllowDevicesForUrls,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webhidallowdevicesforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.webhidallowdevicesforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_webhidallowdevicesforurls();
   },
   StringPolicyType::JSON
  },
  {key::kWebHidAllowDevicesWithHidUsagesForUrls,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webhidallowdeviceswithhidusagesforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.webhidallowdeviceswithhidusagesforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_webhidallowdeviceswithhidusagesforurls();
   },
   StringPolicyType::JSON
  },
  {key::kWebRtcUdpPortRange,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webrtcudpportrange();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.webrtcudpportrange();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_webrtcudpportrange();
   },
   StringPolicyType::STRING
  },
  {key::kWebUsbAllowDevicesForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webusballowdevicesforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringPolicyProto& {
     return policy.webusballowdevicesforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringPolicyProto* {
     return policy.mutable_webusballowdevicesforurls();
   },
   StringPolicyType::JSON
  },
}};

const std::array<StringListPolicyAccess, 90> kStringListPolicyAccess {{
  {key::kAllHttpAuthSchemesAllowedForOrigins,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_allhttpauthschemesallowedfororigins();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.allhttpauthschemesallowedfororigins();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_allhttpauthschemesallowedfororigins();
   }
  },
  {key::kAllowedDomainsForAppsList,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_alloweddomainsforappslist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().alloweddomainsforappslist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_alloweddomainsforappslist();
   }
  },
  {key::kAutoSelectCertificateForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_autoselectcertificateforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.autoselectcertificateforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_autoselectcertificateforurls();
   }
  },
  {key::kAutomaticDownloadsAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_automaticdownloadsallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().automaticdownloadsallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_automaticdownloadsallowedforurls();
   }
  },
  {key::kAutomaticDownloadsBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_automaticdownloadsblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().automaticdownloadsblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_automaticdownloadsblockedforurls();
   }
  },
  {key::kAutomaticFullscreenAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_automaticfullscreenallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().automaticfullscreenallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_automaticfullscreenallowedforurls();
   }
  },
  {key::kAutomaticFullscreenBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_automaticfullscreenblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().automaticfullscreenblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_automaticfullscreenblockedforurls();
   }
  },
  {key::kAutoplayAllowlist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_autoplayallowlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.autoplayallowlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_autoplayallowlist();
   }
  },
  {key::kCACertificates,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_cacertificates();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().cacertificates();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_cacertificates();
   }
  },
  {key::kCADistrustedCertificates,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_cadistrustedcertificates();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().cadistrustedcertificates();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_cadistrustedcertificates();
   }
  },
  {key::kCAHintCertificates,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_cahintcertificates();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().cahintcertificates();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_cahintcertificates();
   }
  },
  {key::kCertificateTransparencyEnforcementDisabledForCas,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_certificatetransparencyenforcementdisabledforcas();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.certificatetransparencyenforcementdisabledforcas();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_certificatetransparencyenforcementdisabledforcas();
   }
  },
  {key::kCertificateTransparencyEnforcementDisabledForUrls,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_certificatetransparencyenforcementdisabledforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.certificatetransparencyenforcementdisabledforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_certificatetransparencyenforcementdisabledforurls();
   }
  },
  {key::kClipboardAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_clipboardallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.clipboardallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_clipboardallowedforurls();
   }
  },
  {key::kClipboardBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_clipboardblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.clipboardblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_clipboardblockedforurls();
   }
  },
  {key::kCoalesceH2ConnectionsWithClientCertificatesForHosts,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_coalesceh2connectionswithclientcertificatesforhosts();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.coalesceh2connectionswithclientcertificatesforhosts();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_coalesceh2connectionswithclientcertificatesforhosts();
   }
  },
  {key::kCookiesAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_cookiesallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.cookiesallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_cookiesallowedforurls();
   }
  },
  {key::kCookiesBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_cookiesblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.cookiesblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_cookiesblockedforurls();
   }
  },
  {key::kCookiesSessionOnlyForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_cookiessessiononlyforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.cookiessessiononlyforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_cookiessessiononlyforurls();
   }
  },
  {key::kDefaultSearchProviderAlternateURLs,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsearchprovideralternateurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.defaultsearchprovideralternateurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_defaultsearchprovideralternateurls();
   }
  },
  {key::kDefaultSearchProviderEncodings,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_defaultsearchproviderencodings();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.defaultsearchproviderencodings();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_defaultsearchproviderencodings();
   }
  },
  {key::kDeveloperToolsAvailabilityAllowlist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_developertoolsavailabilityallowlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().developertoolsavailabilityallowlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_developertoolsavailabilityallowlist();
   }
  },
  {key::kDeveloperToolsAvailabilityBlocklist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_developertoolsavailabilityblocklist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().developertoolsavailabilityblocklist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_developertoolsavailabilityblocklist();
   }
  },
  {key::kEnableExperimentalPolicies,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_enableexperimentalpolicies();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.enableexperimentalpolicies();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_enableexperimentalpolicies();
   }
  },
  {key::kExplicitlyAllowedNetworkPorts,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_explicitlyallowednetworkports();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.explicitlyallowednetworkports();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_explicitlyallowednetworkports();
   }
  },
  {key::kExtensionAllowedTypes,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_extensionallowedtypes();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.extensionallowedtypes();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_extensionallowedtypes();
   }
  },
  {key::kExtensionInstallAllowlist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_extensioninstallallowlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.extensioninstallallowlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_extensioninstallallowlist();
   }
  },
  {key::kExtensionInstallBlocklist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_extensioninstallblocklist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.extensioninstallblocklist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_extensioninstallblocklist();
   }
  },
  {key::kExtensionInstallForcelist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_extensioninstallforcelist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.extensioninstallforcelist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_extensioninstallforcelist();
   }
  },
  {key::kExtensionInstallSources,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_extensioninstallsources();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.extensioninstallsources();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_extensioninstallsources();
   }
  },
  {key::kGeminiActOnWebAllowedForURLs,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_geminiactonweballowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().geminiactonweballowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_geminiactonweballowedforurls();
   }
  },
  {key::kGeminiActOnWebBlockedForURLs,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_geminiactonwebblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().geminiactonwebblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_geminiactonwebblockedforurls();
   }
  },
  {key::kGeolocationBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_geolocationblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().geolocationblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_geolocationblockedforurls();
   }
  },
  {key::kHSTSPolicyBypassList,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_hstspolicybypasslist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.hstspolicybypasslist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_hstspolicybypasslist();
   }
  },
  {key::kHttpAllowlist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_httpallowlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().httpallowlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_httpallowlist();
   }
  },
  {key::kIdleDetectionAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_idledetectionallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().idledetectionallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_idledetectionallowedforurls();
   }
  },
  {key::kIdleDetectionBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_idledetectionblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().idledetectionblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_idledetectionblockedforurls();
   }
  },
  {key::kIdleTimeoutActions,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_idletimeoutactions();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.idletimeoutactions();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_idletimeoutactions();
   }
  },
  {key::kImagesAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_imagesallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.imagesallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_imagesallowedforurls();
   }
  },
  {key::kImagesBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_imagesblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.imagesblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_imagesblockedforurls();
   }
  },
  {key::kIncognitoModeUrlAllowlist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_incognitomodeurlallowlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().incognitomodeurlallowlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_incognitomodeurlallowlist();
   }
  },
  {key::kIncognitoModeUrlBlocklist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_incognitomodeurlblocklist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().incognitomodeurlblocklist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_incognitomodeurlblocklist();
   }
  },
  {key::kJavaScriptAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_javascriptallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.javascriptallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_javascriptallowedforurls();
   }
  },
  {key::kJavaScriptBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_javascriptblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.javascriptblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_javascriptblockedforurls();
   }
  },
  {key::kJavaScriptJitAllowedForSites,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_javascriptjitallowedforsites();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.javascriptjitallowedforsites();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_javascriptjitallowedforsites();
   }
  },
  {key::kJavaScriptJitBlockedForSites,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_javascriptjitblockedforsites();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.javascriptjitblockedforsites();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_javascriptjitblockedforsites();
   }
  },
  {key::kJavaScriptOptimizerAllowedForSites,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_javascriptoptimizerallowedforsites();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().javascriptoptimizerallowedforsites();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_javascriptoptimizerallowedforsites();
   }
  },
  {key::kJavaScriptOptimizerBlockedForSites,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_javascriptoptimizerblockedforsites();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().javascriptoptimizerblockedforsites();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_javascriptoptimizerblockedforsites();
   }
  },
  {key::kLegacyCookieScopeEnabledForDomainList,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_legacycookiescopeenabledfordomainlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().legacycookiescopeenabledfordomainlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_legacycookiescopeenabledfordomainlist();
   }
  },
  {key::kLegacyTechReportAllowlist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_legacytechreportallowlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().legacytechreportallowlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_legacytechreportallowlist();
   }
  },
  {key::kLocalNetworkAccessAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_localnetworkaccessallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().localnetworkaccessallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_localnetworkaccessallowedforurls();
   }
  },
  {key::kLocalNetworkAccessBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_localnetworkaccessblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().localnetworkaccessblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_localnetworkaccessblockedforurls();
   }
  },
  {key::kLocalNetworkAccessIpAddressSpaceOverrides,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_localnetworkaccessipaddressspaceoverrides();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().localnetworkaccessipaddressspaceoverrides();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_localnetworkaccessipaddressspaceoverrides();
   }
  },
  {key::kLocalNetworkAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_localnetworkallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().localnetworkallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_localnetworkallowedforurls();
   }
  },
  {key::kLocalNetworkBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_localnetworkblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().localnetworkblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_localnetworkblockedforurls();
   }
  },
  {key::kLookalikeWarningAllowlistDomains,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_lookalikewarningallowlistdomains();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.lookalikewarningallowlistdomains();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_lookalikewarningallowlistdomains();
   }
  },
  {key::kLoopbackNetworkAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_loopbacknetworkallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().loopbacknetworkallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_loopbacknetworkallowedforurls();
   }
  },
  {key::kLoopbackNetworkBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_loopbacknetworkblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().loopbacknetworkblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_loopbacknetworkblockedforurls();
   }
  },
  {key::kMandatoryExtensionsForIncognitoNavigation,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_mandatoryextensionsforincognitonavigation();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().mandatoryextensionsforincognitonavigation();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_mandatoryextensionsforincognitonavigation();
   }
  },
  {key::kNotificationsAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_notificationsallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.notificationsallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_notificationsallowedforurls();
   }
  },
  {key::kNotificationsBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_notificationsblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.notificationsblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_notificationsblockedforurls();
   }
  },
  {key::kOverrideSecurityRestrictionsOnInsecureOrigin,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_overridesecurityrestrictionsoninsecureorigin();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.overridesecurityrestrictionsoninsecureorigin();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_overridesecurityrestrictionsoninsecureorigin();
   }
  },
  {key::kPolicyDictionaryMultipleSourceMergeList,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_policydictionarymultiplesourcemergelist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.policydictionarymultiplesourcemergelist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_policydictionarymultiplesourcemergelist();
   }
  },
  {key::kPolicyListMultipleSourceMergeList,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_policylistmultiplesourcemergelist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.policylistmultiplesourcemergelist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_policylistmultiplesourcemergelist();
   }
  },
  {key::kPopupsAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_popupsallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.popupsallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_popupsallowedforurls();
   }
  },
  {key::kPopupsBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_popupsblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.popupsblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_popupsblockedforurls();
   }
  },
  {key::kPreciseGeolocationAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_precisegeolocationallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().precisegeolocationallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_precisegeolocationallowedforurls();
   }
  },
  {key::kRestrictAccountsToPatterns,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_restrictaccountstopatterns();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.restrictaccountstopatterns();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_restrictaccountstopatterns();
   }
  },
  {key::kSSLErrorOverrideAllowedForOrigins,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_sslerroroverrideallowedfororigins();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.sslerroroverrideallowedfororigins();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_sslerroroverrideallowedfororigins();
   }
  },
  {key::kSaasUsageReportingDomainUrlsForBrowsers,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_saasusagereportingdomainurlsforbrowsers();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().saasusagereportingdomainurlsforbrowsers();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_saasusagereportingdomainurlsforbrowsers();
   }
  },
  {key::kSaasUsageReportingDomainUrlsForProfiles,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_saasusagereportingdomainurlsforprofiles();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().saasusagereportingdomainurlsforprofiles();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_saasusagereportingdomainurlsforprofiles();
   }
  },
  {key::kSafeBrowsingAllowlistDomains,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_safebrowsingallowlistdomains();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.safebrowsingallowlistdomains();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_safebrowsingallowlistdomains();
   }
  },
  {key::kSameOriginTabCaptureAllowedByOrigins,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_sameorigintabcaptureallowedbyorigins();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.sameorigintabcaptureallowedbyorigins();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_sameorigintabcaptureallowedbyorigins();
   }
  },
  {key::kScreenCaptureAllowedByOrigins,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_screencaptureallowedbyorigins();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.screencaptureallowedbyorigins();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_screencaptureallowedbyorigins();
   }
  },
  {key::kSensorsAllowedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_sensorsallowedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.sensorsallowedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_sensorsallowedforurls();
   }
  },
  {key::kSensorsBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_sensorsblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.sensorsblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_sensorsblockedforurls();
   }
  },
  {key::kSerialAllowAllPortsForUrls,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_serialallowallportsforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.serialallowallportsforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_serialallowallportsforurls();
   }
  },
  {key::kSerialAskForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_serialaskforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.serialaskforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_serialaskforurls();
   }
  },
  {key::kSerialBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_serialblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.serialblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_serialblockedforurls();
   }
  },
  {key::kSyncTypesListDisabled,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_synctypeslistdisabled();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.synctypeslistdisabled();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_synctypeslistdisabled();
   }
  },
  {key::kTabCaptureAllowedByOrigins,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_tabcaptureallowedbyorigins();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.tabcaptureallowedbyorigins();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_tabcaptureallowedbyorigins();
   }
  },
  {key::kURLAllowlist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_urlallowlist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.urlallowlist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_urlallowlist();
   }
  },
  {key::kURLBlocklist,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_urlblocklist();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.urlblocklist();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_urlblocklist();
   }
  },
  {key::kWebAuthenticationRemoteDesktopAllowedOrigins,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_subproto1() &&
              policy.subproto1().has_webauthenticationremotedesktopallowedorigins();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.subproto1().webauthenticationremotedesktopallowedorigins();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_subproto1()->mutable_webauthenticationremotedesktopallowedorigins();
   }
  },
  {key::kWebHidAllowAllDevicesForUrls,
   false,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webhidallowalldevicesforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.webhidallowalldevicesforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_webhidallowalldevicesforurls();
   }
  },
  {key::kWebHidAskForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webhidaskforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.webhidaskforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_webhidaskforurls();
   }
  },
  {key::kWebHidBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webhidblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.webhidblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_webhidblockedforurls();
   }
  },
  {key::kWebUsbAskForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webusbaskforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.webusbaskforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_webusbaskforurls();
   }
  },
  {key::kWebUsbBlockedForUrls,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_webusbblockedforurls();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.webusbblockedforurls();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_webusbblockedforurls();
   }
  },
  {key::kWindowCaptureAllowedByOrigins,
   true,
   [](const em::CloudPolicySettings& policy) {
     return policy.has_windowcaptureallowedbyorigins();
   },
   [](const em::CloudPolicySettings& policy)
       -> const em::StringListPolicyProto& {
     return policy.windowcaptureallowedbyorigins();
   },
   [](em::CloudPolicySettings& policy)
       -> em::StringListPolicyProto* {
     return policy.mutable_windowcaptureallowedbyorigins();
   }
  },
}};


}  // namespace policy::test
