chromium/tools/metrics/histograms/metadata/sync/enums.xml

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

<!--

This file describes the enumerations referenced by entries in histograms.xml for
this directory. Some enums may instead be listed in the central enums.xml file
at src/tools/metrics/histograms/enums.xml when multiple files use them.

For best practices on writing enumerations descriptions, see
https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md#Enum-Histograms

Please follow the instructions in the OWNERS file in this directory to find a
reviewer. If no OWNERS file exists, please consider signing up at
go/reviewing-metrics (Googlers only), as all subdirectories are expected to
have an OWNERS file. As a last resort you can send the CL to
[email protected].
-->

<histogram-configuration>

<!-- Enum types -->

<enums>

<enum name="AndroidExplicitPassphrasePlatformApiResponse">
  <summary>
    Non-exhaustive set of possible responses for the the API internally called
    by ExplicitPassphrasePlatformClient (see class docs).
  </summary>
  <int value="-1" label="Error: Unknown"/>
  <int value="0" label="Success or data already decrypted"/>
  <int value="4" label="Error: SIGN_IN_REQUIRED"/>
  <int value="5" label="Error: INVALID_ACCOUNT"/>
  <int value="6" label="Error: RESOLUTION_REQUIRED"/>
  <int value="7" label="Error: NETWORK_ERROR"/>
  <int value="8" label="Error: INTERNAL_ERROR"/>
  <int value="10" label="Error: DEVELOPER_ERROR"/>
  <int value="17" label="Error: API_NOT_CONNECTED"/>
  <int value="19" label="Error: REMOTE_EXCEPTION"/>
  <int value="20" label="Error: CONNECTION_SUSPENDED_DURING_CALL"/>
  <int value="22" label="Error: RECONNECTION_TIMED_OUT"/>
  <int value="11000" label="Error: PASSPHRASE_REQUIRED"/>
  <int value="11001" label="Error: WRONG_PASSPHRASE"/>
  <int value="11004" label="Error: ACCESS_DENIED"/>
  <int value="11005" label="Error: AUTH_ERROR_RESOLVABLE"/>
  <int value="11006" label="Error: AUTH_ERROR_UNRESOLVABLE"/>
  <int value="11008" label="Error: BAD_REQUEST"/>
  <int value="11009" label="Error: BACKEND_GENERIC"/>
  <int value="11010" label="Error: BACKEND_RESOURCE_EXHAUSTED"/>
  <int value="11011" label="Error: INVALID_DATA"/>
  <int value="11012" label="Error: UNMAPPED_ERROR_CODE"/>
  <int value="11013" label="Error: UNEXPECTED_ERROR"/>
  <int value="11014" label="Error: KEY_RETRIEVAL_REQUIRED"/>
  <int value="43502" label="Error: CHROME_SYNC_API_CALL_ERROR"/>
  <int value="43504" label="Error: ERROR_WHILE_DOING_LEAK_CHECK_SERVICE_GRPC"/>
  <int value="43507" label="Error: REQUIRED_SYNCED_ACCOUNT_MISSING"/>
  <int value="43508" label="Error: LEAK_CHECK_SERVICE_AUTH_ERROR"/>
  <int value="43509" label="Error: LEAK_CHECK_SERVICE_RESOURCE_EXHAUSTED"/>
</enum>

<!-- LINT.IfChange(BookmarkGUIDSource) -->

<enum name="BookmarkGUIDSource">
  <summary>
    Whether a GUID came from BookmarkSpecifics, or, in case it was missing,
    whether an originator_client_item_id of valid GUID format replaced it or it
    was left empty.
  </summary>
  <int value="0" label="Specifics have a GUID"/>
  <int value="1" label="originator_client_item_id is a valid GUID"/>
  <int value="2" label="GUID field left empty"/>
  <int value="3" label="GUID was inferred"/>
  <int value="4"
      label="GUID cannot be inferred (possibly update with client tag)"/>
</enum>

<!-- LINT.ThenChange(/components/sync/engine/bookmark_update_preprocessing.cc:BookmarkGUIDSource) -->

<!-- LINT.IfChange(BookmarksGUIDDuplicates) -->

<enum name="BookmarksGUIDDuplicates">
  <int value="0" label="Matching urls"/>
  <int value="1" label="Matching folders"/>
  <int value="2" label="Different urls"/>
  <int value="3" label="Different folders"/>
  <int value="4" label="Different types"/>
</enum>

<!-- LINT.ThenChange(/components/sync_bookmarks/bookmark_model_merger.cc:BookmarksGUIDDuplicates) -->

<enum name="BooleanIsSignedIn">
  <int value="0" label="Not signed in"/>
  <int value="1" label="Signed in"/>
</enum>

<!-- LINT.IfChange(CrossUserSharingDecryptionResult) -->

<enum name="CrossUserSharingDecryptionResult">
  <int value="0" label="Succeeded"/>
  <int value="1" label="Invitation missing required fields"/>
  <int value="2" label="Failed to decrypt invitation"/>
  <int value="3" label="Failed to parse decrypted invitation"/>
</enum>

<!-- LINT.ThenChange(/components/sync/engine/data_type_worker.cc:CrossUserSharingDecryptionResult) -->

<!-- LINT.IfChange(CrossUserSharingKeyPairState) -->

<enum name="CrossUserSharingKeyPairState">
  <int value="0" label="Key pair valid"/>
  <int value="1" label="Public key not initialized"/>
  <int value="2" label="Public key version invalid"/>
  <int value="3" label="Corrupted public-private key pair"/>
  <int value="4" label="Pending keys are non-empty"/>
</enum>

<!-- LINT.ThenChange(/components/sync/nigori/nigori_state.cc:CrossUserSharingKeyPairState) -->

<!-- LINT.IfChange(CrossUserSharingKeyPairStateOnDecryptPendingKeys) -->

<enum name="CrossUserSharingKeyPairStateOnDecryptPendingKeys">
  <int value="0" label="Valid key pair"/>
  <int value="1" label="Missing private key"/>
  <int value="2" label="Empty key pair"/>
  <int value="3" label="Missing public key"/>
</enum>

<!-- LINT.ThenChange(/components/sync/nigori/nigori_sync_bridge_impl.cc:CrossUserSharingKeyPairStateOnDecryptPendingKeys) -->

<!-- LINT.IfChange(FaviconAvailabilityStatus) -->

<enum name="FaviconAvailabilityStatus">
  <int value="0" label="Favicon available locally"/>
  <int value="1" label="(obsolete) Favicon available via sync"/>
  <int value="2" label="Favicon not available"/>
</enum>

<!-- LINT.ThenChange(/components/favicon/core/history_ui_favicon_request_handler_impl.h:FaviconAvailabilityStatus) -->

<!-- LINT.IfChange(InvalidBookmarkSpecificsError) -->

<enum name="InvalidBookmarkSpecificsError">
  <int value="0" label="Empty specifics"/>
  <int value="1" label="Invalid URL"/>
  <int value="2" label="icon_url with missing favicon"/>
  <int value="3" label="Invalid icon_url"/>
  <int value="4" label="Non-unique meta_info keys"/>
  <int value="5" label="Invalid GUID"/>
  <int value="6" label="Invalid parent GUID"/>
  <int value="7" label="Invalid unique position"/>
  <int value="8" label="Banned GUID"/>
</enum>

<!-- LINT.ThenChange(/components/sync_bookmarks/bookmark_specifics_conversions.cc:InvalidBookmarkSpecificsError) -->

<!-- LINT.IfChange(OutgoingPasswordSharingInvitationCommitError) -->

<enum name="OutgoingPasswordSharingInvitationCommitError">
  <int value="0" label="Unknown error"/>
  <int value="1" label="Public Key verions mismatch"/>
  <int value="2" label="Not a family member"/>
</enum>

<!-- LINT.ThenChange(/components/sync/protocol/password_sharing_invitation_specifics.proto:OutgoingPasswordSharingInvitationCommitError) -->

<!-- LINT.IfChange(PassphraseTypeForMetrics) -->

<enum name="PassphraseTypeForMetrics">
  <int value="0" label="Unknown"/>
  <int value="1" label="Inconsistent state across profiles"/>
  <int value="2" label="Implicit passphrase"/>
  <int value="3" label="Keystore passphrase"/>
  <int value="4" label="Frozen implicit passphrase"/>
  <int value="5" label="Custom passphrase"/>
  <int value="6" label="Trusted vault passphrase"/>
</enum>

<!-- LINT.ThenChange(/components/sync/service/passphrase_type_metrics_provider.h:PassphraseTypeForMetrics) -->

<!-- LINT.IfChange(PendingInvalidationStatus) -->

<enum name="PendingInvalidationStatus">
  <int value="0" label="Acknowledged invalidation"/>
  <int value="1" label="Lost invalidation"/>
  <int value="2" label="Pending invalidations vector overflow"/>
  <int value="3" label="Same version (Deprecated)"/>
  <int value="4" label="Same known version"/>
  <int value="5" label="Same unknown version"/>
  <int value="6" label="DataType is not connected"/>
</enum>

<!-- LINT.ThenChange(/components/sync/engine/data_type_worker.h:PendingInvalidationStatus) -->

<!-- LINT.IfChange(RemoteBookmarkUpdateError) -->

<enum name="RemoteBookmarkUpdateError">
  <int value="0"
      label="Remote and local bookmarks types don't match (URL vs. Folder)"/>
  <int value="1" label="Invalid specifics"/>
  <int value="2" label="Invalid unique position (deprecated)"/>
  <int value="3"
      label="Permanent node creation in an incremental update (deprecated)"/>
  <int value="4" label="Parent entity not found in server"/>
  <int value="5" label="Parent node not found locally"/>
  <int value="6"
      label="Parent entity not found in server when processing a conflict"/>
  <int value="7"
      label="Parent node not found locally when processing a conflict"/>
  <int value="8" label="Failed to create a bookmark"/>
  <int value="9"
      label="The bookmark's GUID did not match the originator client item ID
             or client tag"/>
  <int value="10" label="Parent node is not a folder"/>
  <int value="11" label="GUID changed for an already-tracked server ID"/>
  <int value="12"
      label="Permanent node update received without a server-defined unique
             tag"/>
  <int value="13" label="Unsupported permanent folder server tag"/>
  <int value="14"
      label="Node is descendant of root node, without permanent folder
             (deprecated)"/>
</enum>

<!-- LINT.ThenChange(/components/sync_bookmarks/bookmark_model_merger.cc:RemoteBookmarkUpdateError) -->

<enum name="SyncablePref">
<!-- LINT.IfChange(CommonSyncablePref) -->

  <int value="0" label="(test) SyncablePrefForTesting"/>
  <int value="1" label="AutofillCreditCardEnabled"/>
  <int value="2" label="(obsolete) AutofillEnabledDeprecated"/>
  <int value="3" label="AutofillHasSeenIban"/>
  <int value="4" label="(obsolete) AutofillIBANEnabled"/>
  <int value="5" label="AutofillLastVersionDeduped"/>
  <int value="6" label="(obsolete) AutofillLastVersionDisusedAddressesDeleted"/>
  <int value="7" label="AutofillProfileEnabled"/>
  <int value="8" label="ShowAppsShortcutInBookmarkBar"/>
  <int value="9" label="ShowBookmarkBar"/>
  <int value="10" label="ShowManagedBookmarksInBookmarkBar"/>
  <int value="11" label="(obsolete) ClearBrowsingDataHistoryNoticeShownTimes"/>
  <int value="12" label="(obsolete) DeleteBrowsingHistory"/>
  <int value="13" label="(obsolete) DeleteBrowsingHistoryBasic"/>
  <int value="14" label="(obsolete) DeleteCache"/>
  <int value="15" label="(obsolete) DeleteCacheBasic"/>
  <int value="16" label="(obsolete) DeleteCookies"/>
  <int value="17" label="(obsolete) DeleteCookiesBasic"/>
  <int value="18" label="(obsolete) DeleteDownloadHistory"/>
  <int value="19" label="(obsolete) DeleteFormData"/>
  <int value="20" label="(obsolete) DeleteHostedAppsData"/>
  <int value="21" label="(obsolete) DeletePasswords"/>
  <int value="22" label="(obsolete) DeleteSiteSettings"/>
  <int value="23" label="(obsolete) DeleteTimePeriod"/>
  <int value="24" label="(obsolete) DeleteTimePeriodBasic"/>
  <int value="25" label="LastClearBrowsingDataTime"/>
  <int value="26" label="(obsolete) PreferencesMigratedToBasic"/>
  <int value="27" label="PriceEmailNotificationsEnabled"/>
  <int value="28" label="Font"/>
  <int value="29" label="(obsolete) OfferReaderMode"/>
  <int value="30" label="ReaderForAccessibility"/>
  <int value="31" label="Theme"/>
  <int value="32" label="AcceptLanguages"/>
  <int value="33" label="(obsolete) ApplicationLocale"/>
  <int value="34" label="SelectedLanguages"/>
  <int value="35" label="SyncDemographicsPrefName"/>
  <int value="36" label="CustomLinksInitialized"/>
  <int value="37" label="CustomLinksList"/>
  <int value="38" label="KeywordSpaceTriggeringEnabled"/>
  <int value="39" label="CredentialsEnableAutosignin"/>
  <int value="40" label="CredentialsEnableService"/>
  <int value="41" label="PasswordDismissCompromisedAlertEnabled"/>
  <int value="42" label="PasswordLeakDetectionEnabled"/>
  <int value="43" label="SyncedLastTimePasswordCheckCompleted"/>
  <int value="44" label="WasAutoSignInFirstRunExperienceShown"/>
  <int value="45" label="CanMakePaymentEnabled"/>
  <int value="46" label="AccountTailoredSecurityUpdateTimestamp"/>
  <int value="47" label="CookieControlsMode"/>
  <int value="48" label="SafeBrowsingEnabled"/>
  <int value="49" label="SyncedDefaultSearchProviderGUID"/>
  <int value="50" label="PrefForceTriggerTranslateCount"/>
  <int value="51" label="(obsolete) PrefNeverPromptSitesDeprecated"/>
  <int value="52" label="PrefTranslateAcceptedCount"/>
  <int value="53" label="PrefTranslateAutoAlwaysCount"/>
  <int value="54" label="PrefTranslateAutoNeverCount"/>
  <int value="55" label="PrefTranslateDeniedCount"/>
  <int value="56"
      label="(obsolete, no longer synced) PrefTranslateIgnoredCount"/>
  <int value="57" label="BlockedLanguages"/>
  <int value="58" label="OfferTranslateEnabled"/>
  <int value="59" label="PrefAlwaysTranslateList"/>
  <int value="60" label="PrefNeverPromptSitesWithTime"/>
  <int value="61" label="PrefTranslateRecentTarget"/>
  <int value="62" label="PrefDogfoodGroups"/>
  <int value="63" label="(test) SyncableMergeableDictPrefForTesting"/>
  <int value="64" label="AutofillPaymentCvcStorage"/>
  <int value="65" label="(obsolete) DeleteTimePeriodV2"/>
  <int value="66" label="(obsolete) DeleteTimePeriodV2Basic"/>
  <int value="67" label="SyncableMergeableListPrefForTesting"/>
  <int value="68" label="SyncableHistorySensitiveListPrefForTesting"/>
  <int value="69" label="AutofillPaymentCardBenefits"/>
  <int value="70" label="(obsolete) CloseTabs"/>
  <int value="71" label="ShowTabGroupsInBookmarkBar"/>
  <int value="72" label="FacilitatedPaymentsPix"/>
  <int value="73" label="SyncableTabGroups"/>
  <int value="74" label="AutoPinNewTabGroups"/>
  <int value="75" label="ShowGoogleLensShortcut"/>
  <int value="76" label="SharingVapidKey"/>
<!-- LINT.ThenChange(/components/sync_preferences/common_syncable_prefs_database.cc:CommonSyncablePref)-->

<!-- LINT.IfChange(ChromeSyncablePref) -->

  <int value="100000" label="AppLanguagePromptShown"/>
  <int value="100001" label="(Obsolete) PrefExplicitLanguageAskShown"/>
  <int value="100002" label="ContextualSearchEnabled_Android"/>
  <int value="100003" label="ContextualSearchWasFullyPrivacyEnabled"/>
  <int value="100004" label="AccessibilityImageLabelsEnabledAndroid"/>
  <int value="100005" label="AccessibilityImageLabelsOnlyOnWifi"/>
  <int value="100006" label="PromptForDownloadAndroid"/>
  <int value="100007" label="AccessibilityReadAnythingFontName"/>
  <int value="100008" label="AccessibilityReadAnythingFontScale"/>
  <int value="100009" label="AccessibilityReadAnythingColorInfo"/>
  <int value="100010" label="AccessibilityReadAnythingLineSpacing"/>
  <int value="100011" label="AccessibilityReadAnythingLetterSpacing"/>
  <int value="100012" label="LensRegionSearchEnabled"/>
  <int value="100013" label="HatsSurveyMetadata"/>
  <int value="100014" label="HomePage"/>
  <int value="100015" label="HomePageIsNewTabPage"/>
  <int value="100016" label="NtpCustomBackgroundDict"/>
  <int value="100017" label="LiveCaptionBubbleExpanded"/>
  <int value="100018" label="LiveCaptionBubblePinned"/>
  <int value="100019" label="LiveCaptionEnabled"/>
  <int value="100020" label="LiveCaptionLanguageCode"/>
  <int value="100021" label="LiveCaptionMediaFoundationRendererErrorSilenced"/>
  <int value="100022" label="ShowHomeButton"/>
  <int value="100023" label="PinnedExtensions"/>
  <int value="100024" label="SupervisedUserApprovedExtensions"/>
  <int value="100025"
      label="(obsolete, no longer synced) IsDefaultPageColorsOnHighContrast"/>
  <int value="100026" label="ShowFullscreenToolbar"/>
  <int value="100027" label="AllowJavascriptAppleEvents"/>
  <int value="100028" label="RestoreAppsAndPagesPrefName"/>
  <int value="100029" label="AccessibilityAutoclickDelayMs"/>
  <int value="100030" label="AccessibilityAutoclickEventType"/>
  <int value="100031" label="AccessibilityAutoclickMenuPosition"/>
  <int value="100032" label="AccessibilityAutoclickMovementThreshold"/>
  <int value="100033" label="AccessibilityAutoclickRevertToLeftClick"/>
  <int value="100034" label="AccessibilityAutoclickStabilizePosition"/>
  <int value="100035" label="AccessibilityCursorColor"/>
  <int value="100036"
      label="AccessibilityEnhancedNetworkVoicesInSelectToSpeakAllowed"/>
  <int value="100037" label="AccessibilityFloatingMenuPosition"/>
  <int value="100038" label="(obsolete) AccessibilityGreyscaleAmount"/>
  <int value="100039" label="(obsolete) AccessibilityHueRotationAmount"/>
  <int value="100040" label="(obsolete) AccessibilitySaturationAmount"/>
  <int value="100041"
      label="(obsolete) AccessibilityScreenMagnifierCenterFocus"/>
  <int value="100042"
      label="AccessibilityScreenMagnifierFocusFollowingEnabled"/>
  <int value="100043" label="AccessibilityScreenMagnifierMouseFollowingMode"/>
  <int value="100044" label="AccessibilitySelectToSpeakBackgroundShading"/>
  <int value="100045" label="AccessibilitySelectToSpeakEnhancedNetworkVoices"/>
  <int value="100046" label="AccessibilitySelectToSpeakEnhancedVoiceName"/>
  <int value="100047"
      label="AccessibilitySelectToSpeakEnhancedVoicesDialogShown"/>
  <int value="100048" label="AccessibilitySelectToSpeakHighlightColor"/>
  <int value="100049" label="AccessibilitySelectToSpeakNavigationControls"/>
  <int value="100050" label="AccessibilitySelectToSpeakVoiceName"/>
  <int value="100051" label="AccessibilitySelectToSpeakVoiceSwitching"/>
  <int value="100052" label="AccessibilitySelectToSpeakWordHighlight"/>
  <int value="100053" label="(obsolete) AccessibilitySepiaAmount"/>
  <int value="100054" label="AccessibilitySwitchAccessAutoScanEnabled"/>
  <int value="100055" label="AccessibilitySwitchAccessAutoScanKeyboardSpeedMs"/>
  <int value="100056" label="AccessibilitySwitchAccessAutoScanSpeedMs"/>
  <int value="100057" label="AccessibilitySwitchAccessNextDeviceKeyCodes"/>
  <int value="100058"
      label="AccessibilitySwitchAccessPointScanSpeedDipsPerSecond"/>
  <int value="100059" label="AccessibilitySwitchAccessPreviousDeviceKeyCodes"/>
  <int value="100060" label="AccessibilitySwitchAccessSelectDeviceKeyCodes"/>
  <int value="100061" label="AppNotificationBadgingEnabled"/>
  <int value="100062" label="EnableAutoScreenLock"/>
  <int value="100063" label="EnableStylusTools"/>
  <int value="100064" label="FilesAppFolderShortcuts"/>
  <int value="100065" label="FilesAppTrashEnabled"/>
  <int value="100066" label="FilesAppUIPrefsMigrated"/>
  <int value="100067" label="LaunchPaletteOnEjectEvent"/>
  <int value="100068" label="LauncherContinueSectionHidden"/>
  <int value="100069" label="LauncherFeedbackOnContinueSectionSent"/>
  <int value="100070" label="LauncherResultEverLaunched"/>
  <int value="100071" label="MessageCenterLockScreenMode"/>
  <int value="100072" label="MouseAcceleration"/>
  <int value="100073" label="MouseReverseScroll"/>
  <int value="100074" label="MouseScrollAcceleration"/>
  <int value="100075" label="MouseScrollSensitivity"/>
  <int value="100076" label="MouseSensitivity"/>
  <int value="100077" label="NaturalScroll"/>
  <int value="100078" label="OobeMarketingOptInChoice"/>
  <int value="100079" label="OobeMarketingOptInScreenFinished"/>
  <int value="100080" label="PointingStickAcceleration"/>
  <int value="100081" label="PointingStickSensitivity"/>
  <int value="100082" label="PowerAdaptiveChargingEnabled"/>
  <int value="100083" label="PowerAdaptiveChargingNudgeShown"/>
  <int value="100084" label="PrimaryMouseButtonRight"/>
  <int value="100085" label="PrimaryPointingStickButtonRight"/>
  <int value="100086" label="ProjectorAnnotatorLastUsedMarkerColor"/>
  <int value="100087" label="ProjectorCreationFlowEnabled"/>
  <int value="100088" label="ProjectorCreationFlowLanguage"/>
  <int value="100089" label="ProjectorGalleryOnboardingShowCount"/>
  <int value="100090" label="ProjectorViewerOnboardingShowCount"/>
  <int value="100091" label="ShelfAlignment"/>
  <int value="100092" label="ShelfAutoHideBehavior"/>
  <int value="100093" label="SuggestedContentEnabled"/>
  <int value="100094" label="SyncableWallpaperInfo"/>
  <int value="100095" label="TapDraggingEnabled"/>
  <int value="100096" label="TapToClickEnabled"/>
  <int value="100097" label="TouchpadAcceleration"/>
  <int value="100098" label="TouchpadHapticClickSensitivity"/>
  <int value="100099" label="TouchpadHapticFeedback"/>
  <int value="100100" label="TouchpadScrollAcceleration"/>
  <int value="100101" label="TouchpadScrollSensitivity"/>
  <int value="100102" label="TouchpadSensitivity"/>
  <int value="100103" label="XkbAutoRepeatDelay"/>
  <int value="100104" label="XkbAutoRepeatEnabled"/>
  <int value="100105" label="XkbAutoRepeatInterval"/>
  <int value="100106" label="MostRecentConnectTetheringResponderIds"/>
  <int value="100107" label="MostRecentTetherAvailablilityResponderIds"/>
  <int value="100108" label="GuestOsTerminalSettings"/>
  <int value="100109" label="PreferredLanguagesSyncable"/>
  <int value="100110" label="SyncOsDemographicsPrefName"/>
  <int value="100111" label="AppListPreferredOrder"/>
  <int value="100112" label="ChromeOSReleaseNotesVersion"/>
  <int value="100113" label="LanguageEnabledImesSyncable"/>
  <int value="100114" label="LanguagePreloadEnginesSyncable"/>
  <int value="100115" label="LanguageRemapAltKeyTo"/>
  <int value="100116" label="LanguageRemapAssistantKeyTo"/>
  <int value="100117" label="LanguageRemapBackspaceKeyTo"/>
  <int value="100118" label="LanguageRemapCapsLockKeyTo"/>
  <int value="100119" label="LanguageRemapControlKeyTo"/>
  <int value="100120" label="LanguageRemapEscapeKeyTo"/>
  <int value="100121" label="LanguageRemapExternalCommandKeyTo"/>
  <int value="100122" label="LanguageRemapExternalMetaKeyTo"/>
  <int value="100123" label="LanguageRemapSearchKeyTo"/>
  <int value="100124" label="MultiProfileNeverShowIntro"/>
  <int value="100125" label="MultiProfileWarningShowDismissed"/>
  <int value="100126" label="(obsolete) OfficeSetupComplete"/>
  <int value="100127" label="ResolveTimezoneByGeolocationMethod"/>
  <int value="100128" label="ResolveTimezoneByGeolocationMigratedToMethod"/>
  <int value="100129" label="ShelfDefaultPinLayoutRolls"/>
  <int value="100130" label="TextToSpeechLangToVoiceName"/>
  <int value="100131" label="TextToSpeechPitch"/>
  <int value="100132" label="TextToSpeechRate"/>
  <int value="100133" label="TextToSpeechVolume"/>
  <int value="100134" label="Use24HourClock"/>
  <int value="100135" label="UserPrintersAllowed"/>
  <int value="100136" label="(obsolete) ProximityAuthIsChromeOSLoginEnabled"/>
  <int value="100137" label="UserImageInfo"/>
  <int value="100138" label="GdataDisabled"/>
  <int value="100139" label="GdataCellularDisabled"/>
  <int value="100140" label="(obsolete) AlternateErrorPagesEnabled"/>
  <int value="100141" label="TabDiscardingExceptions"/>
  <int value="100142" label="AccessibilityImageLabelsEnabled"/>
  <int value="100143" label="AccessibilityImageLabelsOptInAccepted"/>
  <int value="100144" label="(obsolete) AccessibilityPdfOcrAlwaysActive"/>
  <int value="100145"
      label="(obsolete, no longer synced)
             ApplyPageColorsOnlyOnIncreasedContrast"/>
  <int value="100146" label="DefaultCharset"/>
  <int value="100147" label="DefaultTasksByMimeType"/>
  <int value="100148" label="DefaultTasksBySuffix"/>
  <int value="100149" label="DevToolsSyncPreferences"/>
  <int value="100150" label="DevToolsSyncedPreferencesSyncEnabled"/>
  <int value="100151" label="(obsolete) DownloadBubbleIphSuppression"/>
  <int value="100152" label="EnableDoNotTrack"/>
  <int value="100153" label="ExtensionCommands"/>
  <int value="100154" label="ExtensionsUIDeveloperMode"/>
  <int value="100155" label="HttpsOnlyModeEnabled"/>
  <int value="100156" label="LiveTranslateEnabled"/>
  <int value="100157" label="LiveTranslateTargetLanguageCode"/>
  <int value="100158" label="NetworkEasterEggHighScore"/>
  <int value="100159" label="NetworkPredictionOptions"/>
  <int value="100160" label="NetworkQualities"/>
  <int value="100161" label="(obsolete) NtpAppPageNames"/>
  <int value="100162" label="(obsolete, no longer synced) PageColors"/>
  <int value="100163" label="PerformanceTracingEnabled"/>
  <int value="100164" label="PluginsAlwaysOpenPdfExternally"/>
  <int value="100165" label="(obsolete) PrivacySandboxApisEnabled"/>
  <int value="100166" label="PrivacySandboxRelatedWebsiteSetsEnabled"/>
  <int value="100167" label="(obsolete) PrivacySandboxManuallyControlled"/>
  <int value="100168" label="PromptForDownload"/>
  <int value="100169" label="ProtectedContentDefault"/>
  <int value="100170" label="RestoreOnStartup"/>
  <int value="100171" label="SearchSuggestEnabled"/>
  <int value="100172" label="(obsolete) SharingVapidKey"/>
  <int value="100173" label="URLsToRestoreOnStartup"/>
  <int value="100174" label="SpellCheckEnable"/>
  <int value="100175" label="ProfileContentSettingsExceptionsAntiAbuse"/>
  <int value="100176"
      label="ProfileContentSettingsExceptionsAutomaticDownloads"/>
  <int value="100177" label="ProfileContentSettingsExceptionsCookies"/>
  <int value="100178"
      label="ProfileContentSettingsExceptionsGetDisplayMediaSetSelectAllScreens"/>
  <int value="100179" label="ProfileContentSettingsExceptionsImages"/>
  <int value="100180" label="ProfileContentSettingsExceptionsJavascript"/>
  <int value="100181" label="ProfileContentSettingsExceptionsLocalFonts"/>
  <int value="100182" label="ProfileContentSettingsExceptionsMouselock"/>
  <int value="100183" label="ProfileContentSettingsExceptionsPopups"/>
  <int value="100184" label="ProfileContentSettingsExceptionsWindowPlacement"/>
  <int value="100185" label="ProfileDefaultContentSettingValuesAntiAbuse"/>
  <int value="100186"
      label="ProfileDefaultContentSettingValuesAutomaticDownloads"/>
  <int value="100187" label="ProfileDefaultContentSettingValuesCookies"/>
  <int value="100188"
      label="ProfileDefaultContentSettingValuesGetDisplayMediaSetSelectAllScreens"/>
  <int value="100189" label="ProfileDefaultContentSettingValuesImages"/>
  <int value="100190" label="ProfileDefaultContentSettingValuesJavascript"/>
  <int value="100191" label="ProfileDefaultContentSettingValuesLocalFonts"/>
  <int value="100192" label="ProfileDefaultContentSettingValuesMouselock"/>
  <int value="100193" label="ProfileDefaultContentSettingValuesPopups"/>
  <int value="100194"
      label="ProfileDefaultContentSettingValuesWindowPlacement"/>
  <int value="100195" label="WebauthnCablev2Pairings"/>
  <int value="100196" label="DynamicColorColorScheme"/>
  <int value="100197" label="DynamicColorSeedColor"/>
  <int value="100198" label="LongPressDiacritics"/>
  <int value="100199" label="SidePanelCompanionEntryPinnedToToolbar"/>
  <int value="100200" label="AccessibilityColorCorrectionEnabled"/>
  <int value="100201" label="AccessibilityColorVisionCorrectionAmount"/>
  <int value="100202" label="AccessibilityColorVisionCorrectionType"/>
  <int value="100203" label="ShowDeskButtonInShelf"/>
  <int value="100204" label="OsDogfoodGroupsSyncPrefName"/>
  <int value="100205" label="ProjectorSWAUIPrefsMigrated"/>
  <int value="100206" label="iOSPasswordPromoLastImpressionTimestamp"/>
  <int value="100207" label="iOSPasswordPromoImpressionsCounter"/>
  <int value="100208" label="iOSPasswordPromoOptOut"/>
  <int value="100209" label="DynamicColorUseKMeans"/>
  <int value="100210" label="RemapToRightClickNotificationsRemaining"/>
  <int value="100211" label="SixPackKeyDeleteNotificationsRemaining"/>
  <int value="100212" label="SixPackKeyHomeNotificationsRemaining"/>
  <int value="100213" label="SixPackKeyEndNotificationsRemaining"/>
  <int value="100214" label="SixPackKeyPageUpNotificationsRemaining"/>
  <int value="100215" label="SixPackKeyPageDownNotificationsRemaining"/>
  <int value="100216" label="SixPackKeyInsertNotificationsRemaining"/>
  <int value="100217" label="LiveCaptionMaskOffensiveWords"/>
  <int value="100218" label="AshSessionTimeOfLastActivation"/>
  <int value="100219" label="BrowserColorScheme"/>
  <int value="100220" label="BrowserColorVariant"/>
  <int value="100221" label="GrayscaleThemeEnabled"/>
  <int value="100222" label="UserColor"/>
  <int value="100223" label="BlockAll3pcToggleEnabled"/>
  <int value="100224" label="TrackingProtectionLevel"/>
  <int value="100225" label="UserSpeakOnMuteDetectionEnabled"/>
  <int value="100226" label="ShouldShowSpeakOnMuteOptInNudge"/>
  <int value="100227" label="SpeakOnMuteOptInNudgeShownCount"/>
  <int value="100228" label="AccessibilityReadAnythingVoiceName"/>
  <int value="100229" label="AccessibilityReadAnythingSpeechRate"/>
  <int value="100230" label="AccessibilityReadAnythingHighlightGranularity"/>
  <int value="100231" label="AccessibilityReadAnythingHighlightColor"/>
  <int value="100232" label="PinnedActions"/>
  <int value="100233" label="PinnedSearchCompanionMigrationComplete"/>
  <int value="100234" label="TouchpadInternalSettings"/>
  <int value="100235" label="PointingStickInternalSettings"/>
  <int value="100236" label="MouseDefaultSettings"/>
  <int value="100237" label="KeyboardDefaultChromeOSSettings"/>
  <int value="100238" label="KeyboardDefaultNonChromeOSSettings"/>
  <int value="100239" label="TouchpadDefaultSettings"/>
  <int value="100240" label="FocusModeDoNotDisturb"/>
  <int value="100241" label="FocusModeSessionDuration"/>
  <int value="100242" label="ReadAloudVoiceSettings"/>
  <int value="100243" label="ReadAloudSpeed"/>
  <int value="100244" label="ReadAloudHighlightingEnabled"/>
  <int value="100245" label="HttpsFirstModeIncognito"/>
  <int value="100246"
      label="(obsolete) AccessibilityReadAnythingOmniboxIconLabelShownCount"/>
  <int value="100247" label="ApplicationLocale"/>
  <int value="100248" label="ListenToThisPageEnabled"/>
  <int value="100249" label="IpProtectionEnabled"/>
  <int value="100250" label="AccessibilityReadAnythingLinksEnabled"/>
  <int value="100251"
      label="kProfileContentSettingsPartitionedExceptionsAntiAbuse"/>
  <int value="100252"
      label="kProfileContentSettingsPartitionedExceptionsAutomaticDownloads"/>
  <int value="100253"
      label="kProfileContentSettingsPartitionedExceptionsCookies"/>
  <int value="100254"
      label="kProfileContentSettingsPartitionedExceptionsGetDisplayMediaSetSelectAllScreens"/>
  <int value="100255"
      label="kProfileContentSettingsPartitionedExceptionsImages"/>
  <int value="100256"
      label="kProfileContentSettingsPartitionedExceptionsJavascript"/>
  <int value="100257"
      label="kProfileContentSettingsPartitionedExceptionsLocalFonts"/>
  <int value="100258"
      label="kProfileContentSettingsPartitionedExceptionsMouselock"/>
  <int value="100259"
      label="kProfileContentSettingsPartitionedExceptionsPopups"/>
  <int value="100260"
      label="kProfileContentSettingsPartitionedExceptionsWindowPlacement"/>
  <int value="100261" label="(obsolete) kStandaloneWindowMigrationNudgeShown"/>
  <int value="100262" label="TabDiscardingExceptionsWithTime"/>
  <int value="100263" label="AccessibilityFaceGazeCursorSpeedUp"/>
  <int value="100264" label="AccessibilityFaceGazeCursorSpeedDown"/>
  <int value="100265" label="AccessibilityFaceGazeCursorSpeedLeft"/>
  <int value="100266" label="AccessibilityFaceGazeCursorSpeedRight"/>
  <int value="100267" label="AccessibilityFaceGazeCursorSmoothing"/>
  <int value="100268" label="AccessibilityFaceGazeCursorUseAcceleration"/>
  <int value="100269" label="FingerprintingProtectionEnabled"/>
  <int value="100270" label="AccessibilityFaceGazeGesturesToMacros"/>
  <int value="100271" label="AccessibilityFaceGazeGesturesToConfidence"/>
  <int value="100272" label="ShelfContainerAppPinRolls"/>
  <int value="100273"
      label="ProfileContentSettingsExceptionsTrackingProtection"/>
  <int value="100274"
      label="ProfileContentSettingsPartitionedExceptionsTrackingProtection"/>
  <int value="100275"
      label="ProfileDefaultContentSettingValuesTrackingProtection"/>
  <int value="100276" label="ShowForwardButton"/>
  <int value="100277" label="AccessibilityMagnifierFollowsSts"/>
  <int value="100278" label="AccessibilityReadAnythingLanguagesEnabled"/>
  <int value="100279" label="KeyboardDefaultSplitModifierSettings"/>
  <int value="100280" label="DisplayAmbientLightSensorLastEnabled"/>
  <int value="100281" label="AccessibilityMainNodeAnnotationsEnabled"/>
  <int value="100282" label="SyncableVersionedWallpaperInfo"/>
  <int value="100283" label="FocusModeSelectedTask"/>
  <int value="100284" label="FocusModeSoundSection"/>
  <int value="100285" label="kAccessibilityFaceGazeActionsEnabled"/>
  <int value="100286" label="kAccessibilityFaceGazeCursorControlEnabled"/>
  <int value="100287" label="kAccessibilityFaceGazeAdjustSpeedSeparately"/>
  <int value="100288" label="KeyboardAmbientLightSensorLastEnabled"/>
  <int value="100289" label="AccessibilityReadAnythingImagesEnabled"/>
  <int value="100290" label="ShelfMallAppPinRolls"/>
  <int value="100291" label="iOSAddressPromoLastImpressionTimestamp"/>
  <int value="100292" label="iOSAddressPromoImpressionsCounter"/>
  <int value="100293" label="iOSAddressPromoOptOut"/>
  <int value="100294" label="MahiNudgeShownCount"/>
  <int value="100295" label="AccessibilityMagnifierFollowsChromeVox"/>
  <int value="100296" label="KeyboardHasSplitModifierKeyboard"/>
  <int value="100297" label="HttpsFirstBalancedMode"/>
  <int value="100298" label="kAccessibilityFlashNotificationsEnabled"/>
  <int value="100299" label="kAccessibilityFlashNotificationsColor"/>
  <int value="100300" label="PinnedChromeLabsMigrationComplete"/>
  <int value="100301" label="AccessibilityFaceGazeGesturesToKeyCombos"/>
<!-- LINT.ThenChange(/chrome/browser/sync/prefs/chrome_syncable_prefs_database.cc:ChromeSyncablePref)-->

<!-- LINT.IfChange(IosSyncablePref) -->

  <int value="200000" label="ArticlesForYouEnabled"/>
  <int value="200001" label="ContextualSearchEnabled_IOS"/>
  <int value="200002" label="DefaultCharset_IOS"/>
  <int value="200003" label="EnableDoNotTrack_IOS"/>
  <int value="200004" label="IosHandoffToOtherDevices"/>
  <int value="200005" label="NetworkPredictionSetting"/>
  <int value="200006" label="NTPContentSuggestionsEnabled"/>
  <int value="200007" label="NTPContentSuggestionsForSupervisedUserEnabled"/>
  <int value="200008" label="SearchSuggestEnabled_IOS"/>
  <int value="200009" label="TrackPricesOnTabsEnabled"/>
  <int value="200010" label="VoiceSearchLocale"/>
<!-- LINT.ThenChange(/ios/chrome/browser/sync/model/prefs/ios_chrome_syncable_prefs_database.cc:IosSyncablePref)-->

</enum>

<!-- LINT.IfChange(SyncBookmarkModelMetadataCorruptionReason) -->

<enum name="SyncBookmarkModelMetadataCorruptionReason">
  <int value="0" label="No corruption"/>
  <int value="1" label="Entity missing server id"/>
  <int value="2" label="Tombstone has a bookmark id"/>
  <int value="3" label="Non-tombstone is missing a bookmark id"/>
  <int value="4" label="DEPRECATED_4"/>
  <int value="5" label="DEPRECATED_5"/>
  <int value="6" label="Duplicated server ids exist"/>
  <int value="7" label="Bookmark id does not exist in model"/>
  <int value="8" label="Bookmark in model is missing sync metadata"/>
  <int value="9" label="Client tag hash does not match bookmark GUID"/>
  <int value="10" label="Duplicate client tag hashes exist"/>
  <int value="11" label="Managed bookmark has sync metadata"/>
  <int value="12" label="Entity missing client tag hash"/>
  <int value="13" label="Entity missing favicon hash"/>
</enum>

<!-- LINT.ThenChange(/components/sync_bookmarks/synced_bookmark_tracker.h:SyncBookmarkModelMetadataCorruptionReason) -->

<!-- LINT.IfChange(SyncClientToServerMessageContents) -->

<enum name="SyncClientToServerMessageContents">
  <summary>
    Type of a network message sent from the client to the sync server.
  </summary>
  <int value="1" label="COMMIT"/>
  <int value="2" label="GET_UPDATES"/>
  <int value="3" label="AUTHENTICATE"/>
  <int value="4" label="DEPRECATED_4"/>
  <int value="5" label="CLEAR_SERVER_DATA"/>
</enum>

<!-- LINT.ThenChange(/components/sync/protocol/sync.proto:SyncClientToServerMessageContents) -->

<!-- LINT.IfChange(SyncConflictResolution) -->

<enum name="SyncConflictResolution">
  <int value="0" label="Changes match"/>
  <int value="1" label="Use local"/>
  <int value="2" label="Use remote"/>
  <int value="3" label="Ignore local encryption"/>
  <int value="4" label="Ignore remote encryption"/>
</enum>

<!-- LINT.ThenChange(/components/sync/model/conflict_resolution.h:SyncConflictResolution) -->

<enum name="SyncCryptographerPendingKeysState">
  <int value="0" label="Does not have pending keys"/>
  <int value="1" label="Has pending keys"/>
</enum>

<enum name="SyncCryptographerReadyState">
  <int value="0" label="Not Ready"/>
  <int value="1" label="Ready"/>
</enum>

<!-- LINT.IfChange(SyncCustomPassphraseKeyDerivationMethodState) -->

<enum name="SyncCustomPassphraseKeyDerivationMethodState">
  <int value="0" label="Not set"/>
  <int value="1" label="Unsupported method"/>
  <int value="2" label="PBKDF2_HMAC_SHA1_1003"/>
  <int value="3" label="SCRYPT_8192_8_11"/>
</enum>

<!-- LINT.ThenChange(/components/sync/nigori/nigori_sync_bridge_impl.cc:SyncCustomPassphraseKeyDerivationMethodState) -->

<!-- LINT.IfChange(SyncDataTypeErrorSite) -->

<enum name="SyncDataTypeErrorSite">
  <int value="0" label="ReportError() called by the bridge"/>
  <int value="1" label="Error returned when applying full updates"/>
  <int value="2" label="Error returned when applying incremental updates"/>
  <int value="3"
      label="Error returned when applying updates on commit response"/>
  <int value="4"
      label="Error triggered by update not matching
             SupportsIncrementalUpdates()"/>
</enum>

<!-- LINT.ThenChange(/components/sync/model/client_tag_based_data_type_processor.h:SyncDataTypeErrorSite) -->

<!-- LINT.IfChange(SyncDataTypes) -->

<enum name="SyncDataTypes">
  <int value="0" label="Unspecified"/>
  <int value="1"
      label="(Obsolete) Top Level Folder. Removed on 03/2021 (M91)."/>
  <int value="2" label="Bookmarks"/>
  <int value="3" label="Preferences"/>
  <int value="4" label="Passwords"/>
  <int value="5" label="Autofill Profile"/>
  <int value="6" label="Autocomplete"/>
  <int value="7" label="Themes"/>
  <int value="8" label="(Obsolete) Typed URLs"/>
  <int value="9" label="Extensions"/>
  <int value="10" label="Search Engines"/>
  <int value="11" label="Sessions"/>
  <int value="12" label="Apps"/>
  <int value="13" label="App Settings"/>
  <int value="14" label="Extension Settings"/>
  <int value="15" label="(Obsolete) App Notifications"/>
  <int value="16" label="History Delete Directives"/>
  <int value="17" label="Nigori"/>
  <int value="18" label="Device Information"/>
  <int value="19" label="(Obsolete) Experiments"/>
  <int value="20" label="(Obsolete) Synced Notifications"/>
  <int value="21" label="Priority Preferences"/>
  <int value="22" label="Dictionary"/>
  <int value="23" label="(Obsolete) Favicon Images. Removed on 01/2021 (M90)."/>
  <int value="24"
      label="(Obsolete) Favicon Tracking. Removed on 01/2021 (M90)."/>
  <int value="25" label="Proxy Tabs"/>
  <int value="26" label="Managed User Settings"/>
  <int value="27" label="(Obsolete) Managed Users"/>
  <int value="28" label="(Obsolete) Articles"/>
  <int value="29" label="App List"/>
  <int value="30" label="(Obsolete) Managed User Shared Settings"/>
  <int value="31" label="(Obsolete) Synced Notification App Info"/>
  <int value="32" label="(Obsolete) Wifi Credentials"/>
  <int value="33" label="(Obsolete) Managed User Allowlists"/>
  <int value="34" label="Autofill Wallet"/>
  <int value="35" label="Autofill Wallet Metadata"/>
  <int value="36" label="Arc Package"/>
  <int value="37" label="Printers"/>
  <int value="38" label="Reading List"/>
  <int value="39" label="User Events"/>
  <int value="40" label="(Obsolete) Mountain Shares"/>
  <int value="41" label="User Consents"/>
  <int value="42" label="Send Tab"/>
  <int value="43" label="Security Events"/>
  <int value="44" label="Wi-Fi Configurations"/>
  <int value="45" label="Web Apps"/>
  <int value="46" label="OS Preferences"/>
  <int value="47" label="OS Priority Preferences"/>
  <int value="48" label="Sharing Message"/>
  <int value="49" label="Autofill Wallet Offer"/>
  <int value="50" label="Workspace Desk"/>
  <int value="51" label="History"/>
  <int value="52" label="Printers Authorization Servers"/>
  <int value="53" label="Contact info"/>
  <int value="54" label="Autofill Wallet Usage"/>
  <int value="55" label="(Obsolete) Segmentation"/>
  <int value="56" label="Saved Tab Groups"/>
  <int value="57" label="Power Bookmark"/>
  <int value="58" label="WebAuthn Credentials"/>
  <int value="59" label="Incoming Password Sharing Invitations"/>
  <int value="60" label="Outgoing Password Sharing Invitations"/>
  <int value="61" label="Autofill Wallet Credential"/>
  <int value="62" label="WebAPKs"/>
  <int value="63" label="Shared Tab Group Data"/>
  <int value="64" label="Collaboration Groups"/>
  <int value="65" label="Plus Address"/>
  <int value="66" label="Product Comparison"/>
  <int value="67" label="Cookies"/>
  <int value="68" label="Plus Address Settings"/>
</enum>

<!-- LINT.ThenChange(/components/sync/base/data_type.h:SyncDataTypes) -->

<!-- LINT.IfChange(SyncEntityChange) -->

<enum name="SyncEntityChange">
  <summary>
    Type of change of a sync entity. Recorded once for every sync entity
    whenever it is commited to the server or updated from the server.
  </summary>
  <int value="0" label="Local deletion (commited upstream)"/>
  <int value="1" label="Local creation (commited upstream)"/>
  <int value="2" label="Local update (commited upstream)"/>
  <int value="3" label="Remote incremental deletion (updated downstream)"/>
  <int value="4" label="Remote incremental update (updated downstream)"/>
  <int value="5" label="Remote initial update (updated downstream)"/>
</enum>

<!-- LINT.ThenChange(/components/sync/engine/cycle/entity_change_metric_recording.h:SyncEntityChange) -->

<!-- LINT.IfChange(SyncerErrorValues) -->

<enum name="SyncerErrorValues">
  <int value="0" label="UNSET"/>
  <int value="1" label="(deprecated) CANNOT_DO_WORK"/>
  <int value="2" label="NETWORK_CONNECTION_UNAVAILABLE"/>
  <int value="3" label="NETWORK_IO_ERROR"/>
  <int value="4" label="SYNC_SERVER_ERROR"/>
  <int value="5" label="SYNC_AUTH_ERROR"/>
  <int value="6" label="(deprecated) SERVER_RETURN_INVALID_CREDENTIAL"/>
  <int value="7" label="SERVER_RETURN_UNKNOWN_ERROR"/>
  <int value="8" label="SERVER_RETURN_THROTTLED"/>
  <int value="9" label="SERVER_RETURN_TRANSIENT_ERROR"/>
  <int value="10" label="SERVER_RETURN_MIGRATION_DONE"/>
  <int value="11" label="(deprecated) SERVER_RETURN_CLEAR_PENDING"/>
  <int value="12" label="SERVER_RETURN_NOT_MY_BIRTHDAY"/>
  <int value="13" label="SERVER_RETURN_CONFLICT"/>
  <int value="14" label="SERVER_RESPONSE_VALIDATION_FAILED"/>
  <int value="15" label="SERVER_RETURN_DISABLED_BY_ADMIN"/>
  <int value="16" label="(deprecated) SERVER_RETURN_USER_ROLLBACK"/>
  <int value="17" label="(deprecated) SERVER_RETURN_PARTIAL_FAILURE"/>
  <int value="18" label="SERVER_RETURN_CLIENT_DATA_OBSOLETE"/>
  <int value="19" label="SERVER_RETURN_ENCRYPTION_OBSOLETE"/>
  <int value="20" label="(deprecated) DATATYPE_TRIGGERED_RETRY"/>
  <int value="21" label="(deprecated) SERVER_MORE_TO_DOWNLOAD"/>
  <int value="22" label="SYNCER_OK"/>
</enum>

<!-- LINT.ThenChange(/components/sync/engine/syncer.h:SyncerErrorValues) -->

<!-- LINT.IfChange(SyncErrorInfobarTypes) -->

<enum name="SyncErrorInfobarTypes">
  <summary>Possible errors that can trigger a sync error infobar.</summary>
  <int value="1" label="Sign in needs update"/>
  <int value="2" label="Service unavailable (deprecated)"/>
  <int value="3" label="Needs passphrase"/>
  <int value="4" label="Unrecoverable error (deprecated)"/>
  <int value="5" label="Sync settings not confirmed"/>
  <int value="6" label="Sync needs trusted vault key"/>
  <int value="7" label="Sync trusted vault recoverability degraded"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/settings/model/sync/utils/sync_util.mm:SyncErrorInfobarTypes) -->

<!-- LINT.IfChange(SyncErrorType) -->

<enum name="SyncErrorType">
  <summary>Possible errors that can be returned by the sync server.</summary>
  <int value="1" label="(Obsolete) DEPRECATED_ACCESS_DENIED"/>
  <int value="2" label="NOT_MY_BIRTHDAY"/>
  <int value="3" label="THROTTLED">
    You might want to look at Sync.ThrottledSomeDataTypes to correlate this with
    throttling of a specific data type, or Sync.ThrottledAllDataTypes for
    throttling of the whole client.
  </int>
  <int value="4" label="(Obsolete) DEPRECATED_AUTH_EXPIRED"/>
  <int value="5" label="(Obsolete) DEPRECATED_USER_NOT_ACTIVATED"/>
  <int value="6" label="(Obsolete) DEPRECATED_AUTH_INVALID"/>
  <int value="7" label="CLEAR_PENDING"/>
  <int value="8" label="TRANSIENT_ERROR"/>
  <int value="9" label="MIGRATION_DONE"/>
  <int value="10" label="DISABLED_BY_ADMIN"/>
  <int value="11" label="(Obsolete) DEPRECATED_USER_ROLLBACK"/>
  <int value="12" label="PARTIAL_FAILURE">
    You might want to look at Sync.BackedOffDataType to see the per-type effect
    of this.
  </int>
  <int value="13" label="CLIENT_DATA_OBSOLETE"/>
  <int value="14" label="ENCRYPTION_OBSOLETE"/>
  <int value="100" label="UNKNOWN"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/settings/model/sync/utils/sync_util.mm:SyncErrorType) -->

<!-- LINT.IfChange(SyncErrorUiAction) -->

<enum name="SyncErrorUiAction">
  <int value="0" label="Shown"/>
  <int value="1" label="Dismissed"/>
  <int value="2" label="Button clicked"/>
</enum>

<!-- LINT.ThenChange(/chrome/android/java/src/org/chromium/chrome/browser/sync/settings/SyncSettingsUtils.java:SyncErrorUiAction) -->

<!-- LINT.IfChange(SyncFeatureOrTransport) -->

<enum name="SyncFeatureOrTransport">
  <int value="0" label="Full Sync feature."/>
  <int value="1" label="Sync transport only."/>
</enum>

<!-- LINT.ThenChange(/components/sync/service/sync_service_impl.cc:SyncFeatureOrTransport) -->

<!-- LINT.IfChange(SyncFeatureStatusForSyncToSigninMigration) -->

<enum name="SyncFeatureStatusForSyncToSigninMigration">
  <int value="0" label="Undefined"/>
  <int value="1" label="Disabled or paused"/>
  <int value="2" label="Initializing"/>
  <int value="3" label="Active"/>
</enum>

<!-- LINT.ThenChange(/components/sync/service/sync_feature_status_for_migrations_recorder.h:SyncFeatureStatusForSyncToSigninMigration) -->

<!-- LINT.IfChange(SyncGetUpdatesOrigin) -->

<enum name="SyncGetUpdatesOrigin">
  <summary>
    Equivalent to proto SyncEnums.GetUpdatesOrigin: represents a reason for a
    client to issue a GetUpdates request to the sync server.
  </summary>
  <int value="0" label="UNKNOWN_ORIGIN"/>
  <int value="4" label="PERIODIC"/>
  <int value="7" label="NEWLY_SUPPORTED_DATATYPE"/>
  <int value="8" label="MIGRATION"/>
  <int value="9" label="NEW_CLIENT"/>
  <int value="10" label="RECONFIGURATION"/>
  <int value="12" label="GU_TRIGGER"/>
  <int value="13" label="RETRY"/>
  <int value="14" label="PROGRAMMATIC"/>
</enum>

<!-- LINT.ThenChange(/components/sync/protocol/sync_enums.proto:SyncGetUpdatesOrigin) -->

<!-- LINT.IfChange(SyncHistoryDatabaseError) -->

<enum name="SyncHistoryDatabaseError">
  <int value="0"
      label="Error in MergeFullSyncData() or ApplyIncrementalSyncChanges():
             writing visit data"/>
  <int value="1"
      label="Error in MergeFullSyncData() or ApplyIncrementalSyncChanges():
             writing metadata"/>
  <int value="2" label="OnDatabaseError() called"/>
  <int value="3" label="Error in LoadMetadata()"/>
  <int value="4"
      label="(Obsolete) Error in OnURLVisited(): reading visit data. Was
             never recorded."/>
  <int value="5"
      label="(Obsolete) Error in OnURLsDeleted(): reading metadata. Was never
             recorded."/>
  <int value="6"
      label="(Obsolete) Error in OnVisitUpdated(): reading URL data. Was
             never recorded."/>
  <int value="7" label="Error in GetAllData(): reading metadata"/>
</enum>

<!-- LINT.ThenChange(/components/history/core/browser/sync/history_sync_bridge.cc:SyncHistoryDatabaseError) -->

<!-- LINT.IfChange(SyncHistorySpecificsError) -->

<enum name="SyncHistorySpecificsError">
  <int value="0"
      label="Missing required fields (visit time, originator cache GUID, or
             redirect entries)"/>
  <int value="1" label="Too old (already expired)"/>
  <int value="2" label="Too new (too far in the future)"/>
  <int value="3" label="Unwanted URL (e.g. file: or chrome:)"/>
</enum>

<!-- LINT.ThenChange(/components/history/core/browser/sync/history_sync_bridge.cc:SyncHistorySpecificsError) -->

<!-- LINT.IfChange(SyncIncomingInvalidationStatus) -->

<enum name="SyncIncomingInvalidationStatus">
  <summary>Possible outcomes of handling incoming sync invalidations.</summary>
  <int value="0" label="Success"/>
  <int value="1" label="Failed to parse payload"/>
  <int value="2" label="Contains only unknown data types"/>
</enum>

<!-- LINT.ThenChange(/components/sync/service/glue/sync_engine_backend.h:SyncIncomingInvalidationStatus) -->

<!-- LINT.IfChange(SyncInitialState) -->

<enum name="SyncInitialState">
  <int value="0" label="Sync-the-feature can start"/>
  <int value="1" label="No signed in user"/>
  <int value="2"
      label="Sync-the-transport can start (Sync-the-feature turned off but
             initial setup complete)"/>
  <int value="3"
      label="Sync-the-transport can start (Sync-the-feature turned off with
             initial setup incomplete"/>
  <int value="4"
      label="Sync-the-transport can start (Sync-the-feature turned on but
             initial setup incomplete"/>
  <int value="5" label="Disallowed by enterprise policy"/>
  <int value="6"
      label="Disallowed by the platform (obsolete, was never recorded)"/>
</enum>

<!-- LINT.ThenChange(/components/sync/service/sync_service_impl.cc:SyncInitialState) -->

<enum name="SyncKeystoreDecryptionFailure">
  <int value="0" label="No keystore key"/>
  <int value="1" label="Unknown reason"/>
</enum>

<!-- LINT.IfChange(SyncPassphraseType) -->

<enum name="SyncPassphraseType">
  <int value="0" label="IMPLICIT_PASSPHRASE"/>
  <int value="1" label="KEYSTORE_PASSPHRASE"/>
  <int value="2" label="FROZEN_IMPLICIT_PASSPHRASE"/>
  <int value="3" label="CUSTOM_PASSPHRASE"/>
  <int value="4" label="TRUSTED_VAULT_PASSPHRASE"/>
</enum>

<!-- LINT.ThenChange(/components/sync/base/passphrase_enums.h:SyncPassphraseType) -->

<!-- LINT.IfChange(SyncPasswordNotesStateInUpdate) -->

<enum name="SyncPasswordNotesStateInUpdate">
  <int value="0"
      label="Notes field is not set either in the specifics data or the
             backup"/>
  <int value="1" label="Notes field is set in the specifics data."/>
  <int value="2" label="Notes field is set only in the backup"/>
  <int value="3"
      label="Notes field is set only in the backup but not decryptable"/>
</enum>

<!-- LINT.ThenChange(/components/sync/engine/data_type_worker.h:SyncPasswordNotesStateInUpdate) -->

<!-- LINT.IfChange(SyncPlaceholderTabResyncResult) -->

<enum name="SyncPlaceholderTabResyncResult">
  <int value="0" label="PLACEHOLDER_TAB_FOUND"/>
  <int value="1" label="PLACEHOLDER_TAB_RESYNCED"/>
  <int value="2" label="PLACEHOLDER_TAB_NOT_SYNCED"/>
  <int value="3" label="PLACEHOLDER_TAB_RESYNC_FAILED"/>
</enum>

<!-- LINT.ThenChange(/components/sync_sessions/local_session_event_handler_impl.cc:SyncPlaceholderTabResyncResult) -->

<!-- LINT.IfChange(SyncResetEngineReason) -->

<enum name="SyncResetEngineReason">
  <int value="0" label="Shutdown"/>
  <int value="1" label="Unrecoverable error"/>
  <int value="2" label="Disabled account"/>
  <int value="3"
      label="(Obsolete) Requested pref change. Removed 04/2024 (and not used
             for some time before that)"/>
  <int value="4" label="Upgrade client error"/>
  <int value="5"
      label="(Obsolete) Set sync allowed by platform. Removed 01/2022."/>
  <int value="6" label="Credentials updated"/>
  <int value="7" label="Reset local Sync data"/>
  <int value="8" label="Not signed in"/>
  <int value="9" label="Enterprise policy"/>
  <int value="10" label="Disable sync on client"/>
</enum>

<!-- LINT.ThenChange(/components/sync/service/sync_service_impl.h:SyncResetEngineReason) -->

<!-- LINT.IfChange(SyncSharingMessageCommitErrorCode) -->

<enum name="SyncSharingMessageCommitErrorCode">
  <int value="0" label="Ok"/>
  <int value="1" label="Invalid argument"/>
  <int value="2" label="Not found"/>
  <int value="3" label="Internal"/>
  <int value="4" label="Unavailable"/>
  <int value="5" label="Resource exhausted"/>
  <int value="6" label="Unauthenticated"/>
  <int value="7" label="Permission denied"/>
  <int value="8" label="Sync turned off"/>
  <int value="9" label="Sync network error"/>
  <int value="10" label="[DEPRECATED] Sync server or auth error"/>
  <int value="11" label="Sync bridge timeout"/>
  <int value="12" label="Sync server error"/>
  <int value="13" label="Sync auth error"/>
</enum>

<!-- LINT.ThenChange(/components/sync/protocol/sharing_message_specifics.proto:SyncSharingMessageCommitErrorCode) -->

<!-- LINT.IfChange(SyncToSigninMigrationDataTypeDecision) -->

<enum name="SyncToSigninMigrationDataTypeDecision">
  <int value="0" label="Migrate"/>
  <int value="1" label="Don't migrate, data type disabled"/>
  <int value="2" label="Don't migrate, data type not active"/>
</enum>

<!-- LINT.ThenChange(/components/browser_sync/sync_to_signin_migration.h:SyncToSigninMigrationDataTypeDecision) -->

<!-- LINT.IfChange(SyncToSigninMigrationDecisionOverall) -->

<enum name="SyncToSigninMigrationDecisionOverall">
  <int value="0" label="Migrate"/>
  <int value="1" label="Don't migrate, not signed in"/>
  <int value="2" label="Don't migrate, not syncing"/>
  <int value="3" label="Don't migrate, Sync-the-feature status undefined"/>
  <int value="4" label="Don't migrate, Sync-the-feature status initializing"/>
  <int value="5" label="Don't migrate, migration feature flag disabled"/>
  <int value="6" label="Undo the migration"/>
  <int value="7" label="Don't undo: already completed or not necessary"/>
  <int value="8" label="Migrate forced"/>
</enum>

<!-- LINT.ThenChange(/components/browser_sync/sync_to_signin_migration.cc:SyncToSigninMigrationDecisionOverall) -->

<!-- LINT.IfChange(SyncToSigninMigrationReadingListStep) -->

<enum name="SyncToSigninMigrationReadingListStep">
  <summary>
    A step in the ReadingList migration process, within the wider Sync-to-Signin
    migration.
  </summary>
  <int value="0" label="Decision to migrate was made"/>
  <int value="1" label="Migration was started"/>
  <int value="2" label="Migration failed (and will be retried)"/>
  <int value="3" label="Migration finished successfully"/>
</enum>

<!-- LINT.ThenChange(/components/sync/base/data_type_histogram.h:SyncToSigninMigrationReadingListStep) -->

<!-- LINT.IfChange(SyncUserEventType) -->

<enum name="SyncUserEventType">
  <int value="0" label="Unknown"/>
  <int value="1" label="TestEvent"/>
  <int value="2" label="GaiaPasswordReuseEvent"/>
  <int value="3" label="GaiaPasswordCapturedEvent"/>
  <int value="4" label="FlocIdComputedEvent"/>
</enum>

<!-- LINT.ThenChange(/components/sync_user_events/user_event_service_impl.cc:SyncUserEventType) -->

<!-- LINT.IfChange(TrustedVaultDegradedRecoverabilityValue) -->

<enum name="TrustedVaultDegradedRecoverabilityValue">
  <int value="0" label="Unknown"/>
  <int value="1" label="Not degraded"/>
  <int value="2" label="Degraded"/>
</enum>

<!-- LINT.ThenChange(/components/trusted_vault/proto/local_trusted_vault.proto:TrustedVaultDegradedRecoverabilityValue) -->

<!-- LINT.IfChange(TrustedVaultDeviceRegistrationOutcome) -->

<enum name="TrustedVaultDeviceRegistrationOutcome">
  <int value="0" label="Success"/>
  <int value="1" label="Already registered"/>
  <int value="2" label="Local data obsolete"/>
  <int value="3" label="Transient access token fetching error"/>
  <int value="4" label="Persistent access token fetching error"/>
  <int value="5" label="Primary account changed access token fetching error"/>
  <int value="6" label="Network error"/>
  <int value="7" label="Other error"/>
</enum>

<!-- LINT.ThenChange(/components/trusted_vault/trusted_vault_histograms.h:TrustedVaultDeviceRegistrationOutcome) -->

<!-- LINT.IfChange(TrustedVaultDeviceRegistrationState) -->

<enum name="TrustedVaultDeviceRegistrationState">
  <int value="0" label="Already registered V0"/>
  <int value="1" label="Local keys are stale"/>
  <int value="2" label="Throttled client side"/>
  <int value="3" label="Attempting registration with newly generated keys"/>
  <int value="4" label="Attempting registration with preexisting keys"/>
  <int value="5"
      label="Attempting registration while having persistent authentication
             error (deprecated)"/>
  <int value="6" label="Already registered V1"/>
</enum>

<!-- LINT.ThenChange(/components/trusted_vault/trusted_vault_histograms.h:TrustedVaultDeviceRegistrationState) -->

<!-- LINT.IfChange(TrustedVaultDownloadKeysStatus) -->

<enum name="TrustedVaultDownloadKeysStatus">
  <int value="0" label="Success"/>
  <int value="1" label="Member not found or corrupted (deprecated)"/>
  <int value="2" label="No new keys"/>
  <int value="3" label="Key proof verification failed"/>
  <int value="4" label="Access token fetching failed"/>
  <int value="5" label="Other error"/>
  <int value="6" label="Member not found"/>
  <int value="7" label="Membership not found"/>
  <int value="8" label="Membership corrupted"/>
  <int value="9" label="Membership empty"/>
  <int value="10" label="No primary account"/>
  <int value="11" label="Device not registered"/>
  <int value="12" label="Throttled client side"/>
  <int value="13" label="Corrupted local device registration"/>
  <int value="14" label="Aborted"/>
  <int value="15" label="Network error"/>
</enum>

<!-- LINT.ThenChange(/components/trusted_vault/trusted_vault_histograms.h:TrustedVaultDownloadKeysStatus) -->

<!-- LINT.IfChange(TrustedVaultFetchKeysAttempt) -->

<enum name="TrustedVaultFetchKeysAttempt">
  <int value="0" label="First attempt"/>
  <int value="1" label="Second attempt"/>
</enum>

<!-- LINT.ThenChange(/components/sync/service/sync_service_crypto.cc:TrustedVaultFetchKeysAttempt) -->

<!-- LINT.IfChange(TrustedVaultFileReadStatus) -->

<enum name="TrustedVaultFileReadStatus">
  <int value="0" label="Success"/>
  <int value="1" label="File not found"/>
  <int value="2" label="File read failed"/>
  <int value="3" label="MD5 digest mismatch"/>
  <int value="4" label="File proto deserialization failed"/>
  <int value="5" label="Data proto deserialization failed"/>
</enum>

<!-- LINT.ThenChange(/components/trusted_vault/trusted_vault_histograms.h:TrustedVaultFileReadStatus) -->

<!-- LINT.IfChange(TrustedVaultHintDegradedRecoverabilityChangedReason) -->

<enum name="TrustedVaultHintDegradedRecoverabilityChangedReason">
  <int value="0" label="Recovery method added"/>
  <int value="1" label="Persistent auth error resolved"/>
</enum>

<!-- LINT.ThenChange(/components/trusted_vault/trusted_vault_histograms.h:TrustedVaultHintDegradedRecoverabilityChangedReason) -->

<!-- LINT.IfChange(TrustedVaultRecoverabilityStatus) -->

<enum name="TrustedVaultRecoverabilityStatus">
  <int value="0" label="Not degraded"/>
  <int value="1" label="Degraded"/>
  <int value="2" label="Error"/>
</enum>

<!-- LINT.ThenChange(/components/trusted_vault/trusted_vault_connection.h:TrustedVaultRecoverabilityStatus) -->

<!-- LINT.IfChange(TrustedVaultUserActionTrigger) -->

<enum name="TrustedVaultUserActionTrigger">
  <int value="0" label="Settings page"/>
  <int value="1" label="Profile menu"/>
  <int value="2" label="OS-level notification"/>
  <int value="3" label="New Tab Page Infobar"/>
  <int value="4" label="Password Manager Error Message"/>
</enum>

<!-- LINT.ThenChange(/components/sync/service/sync_service_utils.h:TrustedVaultRecoverabilityStatus) -->

</enums>

</histogram-configuration>