<!--
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
chromium-metrics-reviews@google.com.
-->

<histogram-configuration>

<!-- Enum types -->

<enums>

<enum name="CaptivePortalStatus">
  <int value="0" label="UNKNOWN"/>
  <int value="1" label="OFFLINE"/>
  <int value="2" label="ONLINE"/>
  <int value="3" label="PORTAL"/>
  <int value="4" label="PROXY_AUTH_REQUIRED"/>
</enum>

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

<enum name="ConfirmationAlertSheetAction">
  <int value="1" label="Primary Button"/>
  <int value="2" label="Secondary Button"/>
  <int value="3" label="Tertiary Button"/>
  <int value="4" label="Dismiss Button"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/common/ui/confirmation_alert/confirmation_alert_constants.h:ConfirmationAlertSheetAction) -->

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

<enum name="CredentialExportScreenAction">
  <int value="0" label="Deselect All button pressed"/>
  <int value="1" label="Select All button pressed"/>
  <int value="2" label="Download to CSV button pressed"/>
  <int value="3" label="Continue button pressed"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/credential_exchange/public/metrics.h:CredentialExportScreenAction) -->

<enum name="CrFullscreenState">
  <int value="0" label="Entering Fullscreen State"/>
  <int value="1" label="Exiting Fullscreen State"/>
  <int value="2" label="In Fullscreen"/>
  <int value="3" label="Not In Fullscreen"/>
</enum>

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

<enum name="DataImportCredentialConflictScreenAction">
  <int value="0" label="Cancel"/>
  <int value="1" label="Deselect All"/>
  <int value="2" label="Select All"/>
  <int value="3" label="Continue"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/data_import/public/metrics.h:DataImportCredentialConflictScreenAction) -->

<enum name="DesktopIOSPromoAction">
  <int value="0" label="Dismissed"/>
  <int value="1" label="ExplicitlyClosed"/>
</enum>

<enum name="DesktopIOSPromoImpression">
  <int value="0" label="FirstImpression"/>
  <int value="1" label="SecondImpression"/>
  <int value="2" label="ThirdImpression"/>
</enum>

<enum name="DocumentDownloadConflictResolution">
  <int value="0" label="No Conflict"/>
  <int value="1" label="Previous Download Complete"/>
  <int value="2" label="Previous Download Cancelled"/>
  <int value="3" label="Previous Download Not Finished"/>
</enum>

<enum name="DocumentDownloadState">
  <int value="0" label="Not Started"/>
  <int value="1" label="In Progress"/>
  <int value="2"
      label="Cancelled (includes termination of tab and application)"/>
  <int value="3" label="Complete"/>
  <int value="4" label="Failed"/>
  <int value="5" label="Failed Not Resumable"/>
</enum>

<enum name="ExperienceKitCalendarTypes">
  <summary>
    This list corresponds to the calendar providers supported by Experience Kit
    on iOS.
  </summary>
  <int value="0" label="Google Calendar"/>
  <int value="1" label="Apple Calendar"/>
</enum>

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

<enum name="FullscreenModeTransitionTrigger">
  <int value="0" label="UserControlled"/>
  <int value="1" label="ForcedByCode"/>
  <int value="2" label="UserInitiatedFinishedByCode"/>
  <int value="3" label="ForcedByUser"/>
  <int value="4" label="BottomReached"/>
  <int value="5" label="NoChange"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/fullscreen/ui_bundled/fullscreen_metrics.h:FullscreenModeTransitionTrigger) -->

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

<enum name="GeminiViewState">
  <int value="0" label="Unknown"/>
  <int value="1" label="Hidden"/>
  <int value="2" label="Collapsed"/>
  <int value="3" label="Expanded"/>
</enum>

<!-- LINT.ThenChange(/ios/public/provider/chrome/browser/bwg/gemini_api.h:GeminiViewState) -->

<enum name="GeolocationAPI">
  <int value="0" label="Clear Watch"/>
  <int value="1" label="Get Current Position"/>
  <int value="2" label="Watch Position"/>
</enum>

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

<enum name="GoogleOneOutcome">
  <int value="0" label="Success (User likely purchased a plan)"/>
  <int value="1" label="Unknown error"/>
  <int value="2" label="Unspecified GoogleOne error"/>
  <int value="3" label="Flow externally interrupted"/>
  <int value="4" label="Flow interrupted to open a link"/>
  <int value="5" label="Flow interrupted by the user"/>
  <int value="6" label="GoogleOne already presented"/>
  <int value="7" label="Purchase failed"/>
  <int value="8" label="Flow continued in another app"/>
  <int value="9" label="Flow could not launch"/>
  <int value="10" label="Invalid parameters"/>
  <int value="11"
      label="Invalid parameters, falling back to opening URL in new tab"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/google_one/coordinator/google_one_coordinator.mm:GoogleOneOutcome) -->

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

<enum name="GuidedTourStep">
  <int value="0" label="NTP"/>
  <int value="1" label="Incognito"/>
  <int value="2" label="Long Press"/>
  <int value="3" label="Tab Group"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/shared/public/commands/guided_tour_commands.h:GuidedTourStep) -->

<enum name="InactiveTabsThresholdSettingType">
  <int value="0" label="Unknown"/>
  <int value="1" label="Never Move"/>
  <int value="2" label="One Week"/>
  <int value="3" label="Two Weeks"/>
  <int value="4" label="Three Weeks"/>
  <int value="5" label="Default Value"/>
</enum>

<enum name="IncognitoInterstitialActionType">
  <int value="0" label="Unknown"/>
  <int value="1" label="Open in Chrome Incognito"/>
  <int value="2" label="Open in Chrome (in a normal tab)"/>
  <int value="3" label="Cancel"/>
  <int value="4" label="Learn more about Incognito"/>
  <int value="5" label="Dismissed by external event"/>
</enum>

<enum name="IncognitoInterstitialSettingsActionType">
  <int value="0" label="Unknown"/>
  <int value="1" label="Enabled"/>
  <int value="2" label="Disabled"/>
</enum>

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

<enum name="IncognitoLockImpressionType">
  <int value="0" label="Soft lock on a single tab"/>
  <int value="1" label="Soft lock on the tab grid"/>
  <int value="2" label="Reauth lock on a single tab"/>
  <int value="3" label="Reauth lock on tab grid"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/incognito_reauth/ui_bundled/incognito_reauth_constants.h:IncognitoLockImpression) -->

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

<enum name="IncognitoLockOverlayInteractionType">
  <int value="0"
      label="User clicked unlock with reauth method button on the overlay."/>
  <int value="1"
      label="User clicked continue in incognito button on the overlay."/>
  <int value="2"
      label="User clicked close incognito tabs button on the overlay."/>
  <int value="3" label="User clicked see other tabs button on the overlay."/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/incognito_reauth/ui_bundled/incognito_reauth_constants.h:IncognitoLockOverlayInteraction) -->

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

<enum name="IncognitoLockSettingInteractionType">
  <int value="0" label="User selected Don't hide in settings"/>
  <int value="1"
      label="User selected hide with reauth method option in settings"/>
  <int value="2" label="User selected hide with soft lock option in settings"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/incognito_reauth/ui_bundled/incognito_reauth_constants.h:IncognitoLockSettingInteraction) -->

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

<enum name="IncognitoLockSettingStartupState">
  <int value="0" label="Do not hide"/>
  <int value="1" label="Hide with reauthentication method"/>
  <int value="2" label="Hide with soft lock"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/incognito_reauth/ui_bundled/incognito_reauth_constants.h:IncognitoLockSettingStartupState) -->

<enum name="IOSAddressValidationOutcome">
  <int value="0" label="Address is valid for Long Press"/>
  <int value="1" label="Address is valid for One Tap"/>
  <int value="2" label="Address has no component"/>
  <int value="3" label="Address is low confidence"/>
  <int value="4" label="Address has too many sections"/>
  <int value="5" label="Address is too short"/>
  <int value="6" label="Address has too many symbols"/>
  <int value="7" label="Address has no long word"/>
  <int value="8" label="Address is not validated by NSDataDetector"/>
</enum>

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

<enum name="IOSAIHubAction">
  <summary>The set of actions that can be performed on the AI Hub.</summary>
  <int value="0" label="Lens"/>
  <int value="1" label="ReaderMode"/>
  <int value="2" label="Gemini"/>
  <int value="3" label="Dismiss"/>
  <int value="4" label="ReaderModeOptions"/>
  <int value="5" label="GeminiSignedOut"/>
  <int value="6" label="GeminiIneligible"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/intelligence/page_action_menu/utils/ai_hub_metrics.h:IOSAIHubAction) -->

<enum name="IOSAnnotationType">
  <int value="0" label="Unknown"/>
  <int value="1" label="Date"/>
  <int value="2" label="Address"/>
  <int value="3" label="Phone"/>
  <int value="4" label="Link"/>
  <int value="5" label="Measurement"/>
  <int value="6" label="ParcelTracking"/>
  <int value="7" label="ParcelCarrier"/>
</enum>

<enum name="IOSAppModeFetchingOutcomeType">
  <int value="0" label="Incognito"/>
  <int value="1" label="Non-Incognito"/>
  <int value="2" label="Fetching Failure Error"/>
  <int value="3" label="Fetching Time Out Error"/>
</enum>

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

<enum name="IOSBackgroundSelectionOutcome">
  <int value="0" label="Background change was applied"/>
  <int value="1" label="Background change was canceled"/>
  <int value="2" label="Background was selected but change was canceled"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/home_customization/utils/home_customization_constants.h:BackgroundSelectionOutcome) -->

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

<enum name="IOSBestFeaturesDetailScreenActionType">
  <int value="0" label="Show me how"/>
  <int value="1" label="Continue in FRE sequence"/>
  <int value="2" label="Navigate back to main screen"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/first_run/best_features/ui/metrics_util.h:BestFeaturesDetailScreenActionType) -->

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

<enum name="IOSBestFeaturesItemType">
  <int value="0" label="Lens Search"/>
  <int value="1" label="Enhanced Safe Browsing"/>
  <int value="2" label="Locked Incognito Tabs"/>
  <int value="3" label="Save and Autofill Passwords"/>
  <int value="4" label="Tab Groups"/>
  <int value="5" label="Price Tracking and Insights"/>
  <int value="6" label="Autofill Passwords in Other Apps"/>
  <int value="7" label="Share Passwords with Family"/>
  <int value="8" label="Incognito Browsing"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/first_run/public/best_features_item.h:BestFeaturesItemType) -->

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

<enum name="IOSBestFeaturesMainScreenActionType">
  <int value="0" label="Continue without interacting with items"/>
  <int value="1" label="Lens Item Tapped"/>
  <int value="2" label="Enhanced Safe Browsing Item Tapped"/>
  <int value="3" label="Locked Incognito Tabs Item Tapped"/>
  <int value="4" label="Save Autofill Passwords Item Tapped"/>
  <int value="5" label="Tab Groups Tapped"/>
  <int value="6" label="Price Tracking Tapped"/>
  <int value="7" label="Passwords In Other Apps Item Tapped"/>
  <int value="8" label="Share Passwords Item Tapped"/>
  <int value="9" label="Incognito Browsing Item Tapped"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/first_run/best_features/ui/metrics_util.h:BestFeaturesMainScreenActionType) -->

<enum name="IOSBringAndroidTabsPromptActionType">
  <int value="0" label="Review tabs"/>
  <int value="1" label="Open tabs"/>
  <int value="2" label="Cancel"/>
  <int value="3" label="Swipe to dismiss"/>
</enum>

<enum name="IOSBringAndroidTabsTabsListActionType">
  <int value="0" label="Cancel"/>
  <int value="1" label="Swipe down"/>
  <int value="2" label="Open tabs"/>
</enum>

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

<enum name="IOSClipboardSource">
  <int value="0" label="EditMenu"/>
  <int value="1" label="ClipboardAPI"/>
  <int value="2" label="CustomAction"/>
</enum>

<!-- LINT.ThenChange(//ios/components/enterprise/data_controls/clipboard_enums.h:ClipboardSource) -->

<enum name="iOSCredentialIdentityStoreErrorForReporting">
  <int value="0" label="Unknown Error"/>
  <int value="1" label="Internal Error"/>
  <int value="2" label="Store Disabled"/>
  <int value="3" label="Store Busy"/>
</enum>

<enum name="IOSCredentialProviderNewCredentialUsername">
  <int value="0" label="Credential With Username"/>
  <int value="1" label="Credential Without Username"/>
</enum>

<enum name="IOSCredentialProviderPasswordCreated">
  <int value="0" label="Password Manually Added"/>
  <int value="1" label="Password Suggested"/>
  <int value="2" label="Password Suggested and Manually Changed"/>
</enum>

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

<enum name="IOSCredentialProviderPromoAction">
  <int value="0" label="Learn More"/>
  <int value="1" label="Go To Settings"/>
  <int value="2" label="Remind me later"/>
  <int value="3" label="No"/>
  <int value="4" label="Turn on autofill"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/credential_provider_promo/ui_bundled/credential_provider_promo_metrics.h:IOSCredentialProviderPromoAction) -->

<enum name="IOSCredentialProviderPromoSource">
  <int value="0" label="Unknown"/>
  <int value="1" label="Password Copied (deprecated)"/>
  <int value="2" label="Password Saved (deprecated)"/>
  <int value="3" label="Autofill Used"/>
  <int value="4" label="Set Up List"/>
  <int value="5" label="Tips Notification"/>
  <int value="6" label="Passkey Created"/>
</enum>

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

<enum name="IOSCrossPlatformPromoType">
  <int value="1" label="Password"/>
  <int value="2" label="Address"/>
  <int value="3" label="Payment"/>
  <int value="4" label="EnhancedBrowsing"/>
  <int value="5" label="Lens"/>
</enum>

<!-- LINT.ThenChange(//components/desktop_to_mobile_promos/promos_types.h:PromoType) -->

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

<enum name="IOSDarkModeDetectionCrossedState">
  <int value="0" label="Not supported, Light mode"/>
  <int value="1" label="Not supported, Dark mode"/>
  <int value="2" label="Supported, Light mode"/>
  <int value="3" label="Supported, Dark mode"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/web/model/dark_mode_detection/dark_mode_detection_java_script_feature.mm:DarkModeDetectionCrossedState) -->

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

<enum name="IOSDataProtectionScreenshotBlockSource">
  <int value="0" label="Data Controls"/>
  <int value="1" label="Real-time Lookup"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/enterprise/data_protection/model/data_protection_tab_helper.h:ScreenshotBlockSource) -->

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

<enum name="IOSDefaultBrowserBannerPromoPromoSessionEndedReason">
  <int value="0" label="Impressions used up"/>
  <int value="1" label="User manually closed promo"/>
  <int value="2" label="User tapped promo"/>
  <int value="3" label="User navigated to SRP"/>
  <int value="4" label="User navigated to NTP"/>
  <int value="5" label="Chrome is now default browser"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/default_browser/model/utils.h:IOSDefaultBrowserBannerPromoPromoSessionEndedReason) -->

<enum name="IOSDefaultBrowserFullscreenPromoAction">
  <int value="0" label="Action Button"/>
  <int value="1" label="Cancel"/>
  <int value="2" label="Remind Me Later"/>
  <int value="3" label="Dismiss"/>
</enum>

<enum name="IOSDefaultBrowserPromoNonModalAction">
  <int value="0" label="Accepted"/>
  <int value="1" label="Appear"/>
  <int value="2" label="Dismiss"/>
  <int value="3" label="Timeout"/>
  <int value="4" label="Background prevented impression"/>
</enum>

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

<enum name="IOSDefaultBrowserPromoOverflowMenuAction">
  <summary>
    The action taken by the user on the Default Browser Overflow Menu Promo.
  </summary>
  <int value="0" label="No Action"/>
  <int value="1" label="Hidden"/>
  <int value="2" label="Tapped"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/default_browser/model/utils.h:IOSDefaultBrowserPromoOverflowMenuAction) -->

<enum name="IOSDefaultBrowserPromoType">
  <int value="0" label="General"/>
  <int value="1" label="Made for iOS"/>
  <int value="2" label="Stay Safe"/>
  <int value="3" label="All Tabs"/>
</enum>

<enum name="IOSDefaultBrowserSettingsPageUsage">
  <summary>
    The action taken by the user after they landed on the Default Browser
    Settings page.
  </summary>
  <int value="0" label="Open iOS Settings"/>
  <int value="1" label="Dismissed"/>
  <int value="2" label="Displayed"/>
</enum>

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

<enum name="IOSDefaultBrowserSettingsPassivePromoAction">
  <summary>
    The action taken by the user on the Default Browser Settings Passive Promo
    Card.
  </summary>
  <int value="0" label="Closed"/>
  <int value="1" label="Action"/>
  <int value="2" label="No Action"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/settings/ui_bundled/settings_table_view_controller.mm:IOSDefaultBrowserSettingsPassivePromoAction) -->

<enum name="IOSDefaultBrowserVideoPromoAction">
  <int value="0" label="Primary Action Button"/>
  <int value="1" label="Secondary Action Button"/>
  <int value="2" label="Swipe Down"/>
  <int value="3" label="Tertiary Action Button"/>
</enum>

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

<enum name="IOSDefaultStatusAPIOutcomeType">
  <int value="1" label="Success"/>
  <int value="2" label="Cooldown error"/>
  <int value="3" label="Other error"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/default_browser/default_status/model/default_status_helper_types.h:DefaultStatusAPIOutcomeType) -->

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

<enum name="IOSDefaultStatusHeuristicAssessment">
  <int value="0" label="True negative"/>
  <int value="1" label="False negative"/>
  <int value="2" label="True positive"/>
  <int value="3" label="False positive"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/default_browser/default_status/model/default_status_helper_types.h:DefaultStatusHeuristicAssessment) -->

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

<enum name="IOSDefaultStatusRetention">
  <int value="0" label="Became default"/>
  <int value="1" label="Became non-default"/>
  <int value="2" label="Remained default"/>
  <int value="3" label="Remained non-default"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/default_browser/default_status/model/default_status_helper_types.h:DefaultStatusRetention) -->

<enum name="IOSDeleteAllSavedCredentialsActions">
  <int value="0" label="User confirmed delete all saved credentials"/>
  <int value="1" label="User cancelled delete all saved credentials"/>
</enum>

<enum name="IOSDockingPromoAction">
  <int value="0" label="Toggle appearance (deprecated)"/>
  <int value="1" label="Primary Action Button (Got It)"/>
  <int value="2"
      label="Secondary Action Button (Remind Me Later) (deprecated)"/>
  <int value="3" label="Dismiss via Swipe"/>
  <int value="4" label="Dismiss via No Thanks (deprecated)"/>
</enum>

<enum name="IOSDockingPromoEligibility">
  <int value="0" label="Ineligible"/>
  <int value="1" label="Low Engagement User"/>
  <int value="2" label="No Recent Icon Launches"/>
  <int value="3" label="Low Engagement User with No Recent Icon Launches"/>
</enum>

<enum name="IOSEditMenuActions">
  <int value="0" label="Invalid"/>
  <int value="1" label="NativeCut"/>
  <int value="2" label="NativeCopy"/>
  <int value="3" label="NativePaste"/>
  <int value="4" label="NativeDelete"/>
  <int value="5" label="NativeSelect"/>
  <int value="6" label="NativeSelectAll"/>
  <int value="7" label="NativeReplace"/>
  <int value="8" label="NativeTransliterateChinese"/>
  <int value="9" label="NativeInsertDrawing"/>
  <int value="10" label="NativeScanText"/>
  <int value="11" label="NativeStyleBold"/>
  <int value="12" label="NativeStyleItalic"/>
  <int value="13" label="NativeStyleUnderline"/>
  <int value="14" label="NativeRTL"/>
  <int value="15" label="NativeLTR"/>
  <int value="16" label="NativeFindSelection"/>
  <int value="17" label="NativeDefine"/>
  <int value="18" label="NativeTranslate"/>
  <int value="19" label="NativeLearn"/>
  <int value="20" label="NativeSpeak"/>
  <int value="21" label="NativeSpeakMore"/>
  <int value="22" label="NativePause"/>
  <int value="23" label="NativeShare"/>
  <int value="24" label="ChromeLinkToText"/>
  <int value="25" label="ChromePartialTranslate"/>
  <int value="26" label="CommandOther"/>
  <int value="27" label="SearchWeb"/>
  <int value="28" label="CreateEvent"/>
  <int value="29" label="CreateReminder"/>
  <int value="30" label="ShowCalendar"/>
  <int value="31" label="SendMail"/>
  <int value="32" label="SendMessage"/>
  <int value="33" label="AddToContacts"/>
  <int value="34" label="Call"/>
  <int value="35" label="GetDirections"/>
  <int value="36" label="OpenMaps"/>
  <int value="37" label="UnitConversion"/>
  <int value="38" label="OtherDataDetector"/>
  <int value="39" label="ActionOther"/>
  <int value="40" label="UnknownMenuAction"/>
  <int value="41" label="OpenURL"/>
  <int value="42" label="AddToReadingList"/>
  <int value="43" label="SearchWith"/>
  <int value="44" label="Autofill (menu)"/>
  <int value="45" label="Autofill passwords"/>
  <int value="46" label="Autofill contacts"/>
  <int value="47" label="Autofill others"/>
  <int value="48" label="StartWritingTools"/>
  <int value="49" label="ShowTextFormattingOptions"/>
  <int value="50" label="ExplainWithGemini"/>
</enum>

<enum name="IOSEditMenuError">
  <int value="0" label="First method install failed"/>
  <int value="1" label="Second method install failed"/>
  <int value="2" label="Unexpected paramters on dismiss"/>
  <int value="3" label="Unexpected object structure on dismiss"/>
</enum>

<enum name="IOSEnhancedSafeBrowseringInfobarInteraction">
  <int value="0" label="Viewed"/>
  <int value="1" label="Tapped"/>
</enum>

<enum name="IOSErrorPagePresentationFailed">
  <int value="0" label="Unknown"/>
  <int value="1" label="Web View Released Error"/>
  <int value="2" label="JavaScript Exception Occurred"/>
  <int value="3" label="Other WKErrorDomain Error"/>
</enum>

<enum name="IOSExternalAction">
  <summary>
    The action passed to Chrome for iOS using an external action URL.
  </summary>
  <int value="0" label="Invalid Action"/>
  <int value="1" label="Open NTP"/>
  <int value="2" label="Default Browser Settings"/>
  <int value="3" label="Skipped Default Browser Settings For NTP"/>
  <int value="4" label="App Store Event For Gemini Promo"/>
  <int value="5" label="Gemini AI Summarization"/>
</enum>

<enum name="IOSFilePickerDriveAccountSelection">
  <int value="0" label="Change account"/>
  <int value="1" label="Add account success"/>
  <int value="2" label="Add account failure"/>
</enum>

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

<enum name="IOSFilePickerDriveDisplayed">
  <int value="0" label="The Drive element was displayed"/>
  <int value="1" label="The tab was killed"/>
  <int value="2" label="The feature was disabled"/>
  <int value="3" label="The tab was OTR"/>
  <int value="4" label="The user was not signed in"/>
  <int value="5" label="The feature was disabled by an enterprise policy"/>
  <int value="6" label="The Drive service is not supported"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/drive/model/drive_availability.mm:FilePickerDriveDisplayed) -->

<enum name="IOSFilePickerDriveFilter">
  <int value="0" label="Select Archives"/>
  <int value="1" label="Select Audio"/>
  <int value="2" label="Select Videos"/>
  <int value="3" label="Select Photos and Images"/>
  <int value="4" label="Select PDFs"/>
  <int value="5" label="Select Enable All"/>
</enum>

<enum name="IOSFilePickerDriveOutcome">
  <int value="0" label="Cancelled (no file selected, no error)"/>
  <int value="1" label="Interrupted by the user"/>
  <int value="2" label="Interrupted by the user after an error"/>
  <int value="3" label="Interrupted externally"/>
  <int value="4" label="Interrupted externally with selected file"/>
  <int value="5" label="Submitted from Search Text"/>
  <int value="6" label="Submitted from Search Recent"/>
  <int value="7" label="Submitted from Root Search"/>
  <int value="8" label="Submitted from My Drive"/>
  <int value="9" label="Submitted from Shared with me"/>
  <int value="10" label="Submitted from Shared Drives"/>
  <int value="11" label="Submitted from Recent"/>
  <int value="12" label="Submitted from Starred"/>
</enum>

<enum name="IOSFilePickerDriveSearchOutcome">
  <int value="0" label="Submitted search item"/>
  <int value="1" label="Submitted search subitem"/>
  <int value="2" label="Submitted non search item"/>
  <int value="3" label="Submitted without triggering search"/>
  <int value="4" label="Cancel without triggering search"/>
  <int value="5" label="Cancel after triggering search"/>
</enum>

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

<enum name="IOSFilePickerDriveSignInResult">
  <int value="0" label="Sign in success"/>
  <int value="1" label="Sign in cancelled"/>
  <int value="2" label="Sign in failed"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/drive_file_picker/coordinator/drive_file_picker_metrics_constants.h:IOSFilePickerDriveSignInResult) -->

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

<enum name="IOSFilePickerDriveSignInStatus">
  <int value="0" label="Signed in"/>
  <int value="1" label="Signed out without account on device"/>
  <int value="2" label="Signed out with account on device"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/drive_file_picker/coordinator/drive_file_picker_metrics_constants.h:IOSFilePickerDriveSignInStatus) -->

<enum name="IOSFilePickerDriveSorting">
  <int value="0" label="Sorted by name ascending"/>
  <int value="1" label="Sorted by name descending"/>
  <int value="2" label="Sorted by opened time ascending"/>
  <int value="3" label="Sorted by modified time descending"/>
  <int value="4" label="Sorted by modified time ascending"/>
  <int value="5" label="Cancel sorting selection"/>
</enum>

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

<enum name="IOSFileUploadPanelCameraActionVariant">
  <int value="0" label="PhotoAndVideo"/>
  <int value="1" label="Video"/>
  <int value="2" label="Photo"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/file_upload_panel/ui/constants.h:FileUploadPanelCameraActionVariant) -->

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

<enum name="IOSFileUploadPanelContextMenuActionVariant">
  <int value="0" label="FilePicker"/>
  <int value="1" label="PhotoPicker"/>
  <int value="2" label="Camera"/>
  <int value="3" label="DriveFilePicker"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/file_upload_panel/ui/constants.h:FileUploadPanelContextMenuActionVariant) -->

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

<enum name="IOSFileUploadPanelContextMenuVariant">
  <int value="0" label="PhotoPickerAndFilePicker"/>
  <int value="1" label="PhotoPickerAndCameraAndFilePicker"/>
  <int value="2" label="FilePickerAndDriveFilePicker"/>
  <int value="3" label="PhotoPickerAndFilePickerAndDriveFilePicker"/>
  <int value="4" label="PhotoPickerAndCameraAndFilePickerAndDriveFilePicker"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/file_upload_panel/ui/constants.h:FileUploadPanelContextMenuVariant) -->

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

<enum name="IOSFileUploadPanelEntryPointVariant">
  <int value="0" label="ContextMenu"/>
  <int value="1" label="Camera"/>
  <int value="2" label="FilePicker"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/file_upload_panel/ui/constants.h:FileUploadPanelEntryPointVariant) -->

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

<enum name="IOSGeminiAspectRatioBucket">
  <summary>
    Enum describing the aspect ratio of the image used to trigger Image Remix.
  </summary>
  <int value="0" label="Unknown (-∞, 0]"/>
  <int value="1" label="Very Tall (0, 0.3)"/>
  <int value="2" label="Tall [0.3, 0.8)"/>
  <int value="3" label="Slightly Tall [0.8, 1.0)"/>
  <int value="4" label="Perfect Square [1.0, 1.0]"/>
  <int value="5" label="Slightly Wide (1.0, 1.2]"/>
  <int value="6" label="Wide (1.2, 1.7]"/>
  <int value="7" label="Very Wide (1.7, ∞)"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiAspectRatioBucket) -->

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

<enum name="IOSGeminiCameraFlowOSCameraAuthorizationResult">
  <summary>
    Enum describing the result of an OS camera authorization request.
  </summary>
  <int value="0" label="Granted"/>
  <int value="1" label="Denied"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiCameraFlowOSCameraAuthorizationResult) -->

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

<enum name="IOSGeminiCameraPermissionAlertResult">
  <summary>
    Enum describing the result of the Gemini camera permission alert.
  </summary>
  <int value="0" label="Allow"/>
  <int value="1" label="Don't Allow"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiCameraPermissionAlertResult) -->

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

<enum name="IOSGeminiCameraPickerResult">
  <summary>
    Enum describing the result of the camera picker in the Gemini camera flow.
  </summary>
  <int value="0" label="Cancelled"/>
  <int value="1" label="Finished without image"/>
  <int value="2" label="Finished with image"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiCameraPickerResult) -->

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

<enum name="IOSGeminiDormantReason">
  <summary>
    Reasons why the Gemini Live session transitioned to dormant.
  </summary>
  <int value="0" label="Unknown"/>
  <int value="1" label="Interrupted By External Audio"/>
  <int value="2" label="Low Volume In Background"/>
  <int value="3" label="Low Volume In Foreground"/>
  <int value="4" label="Inactivity Timeout"/>
  <int value="5" label="Long Interaction Timeout"/>
  <int value="6" label="Moved To Background When Mic Off"/>
  <int value="7" label="User Stop"/>
  <int value="8" label="User Pause"/>
  <int value="9" label="Server Pause"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiDormantReason) -->

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

<enum name="IOSGeminiEntryPoint">
  <int value="0" label="Promo"/>
  <int value="1" label="Overflow Menu"/>
  <int value="2" label="AI Hub"/>
  <int value="3" label="Omnibox Chip (Skipped AI Hub)"/>
  <int value="4" label="Tab Reopen (Deprecated in M148)"/>
  <int value="5" label="App Bar"/>
  <int value="6" label="Image long-press context menu"/>
  <int value="7" label="Image Remix in-product help"/>
  <int value="8" label="Edit Menu (Explain)"/>
  <int value="9" label="Direct Omnibox Badge"/>
  <int value="10" label="AI Hub Sign-in Sheet"/>
  <int value="11" label="External App Store Event"/>
  <int value="12" label="Toolbar"/>
  <int value="13" label="App Switcher AI Summarization"/>
  <int value="14" label="AtMemory Search Unsupported Query"/>
  <int value="100" label="Unknown"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/utils/gemini_constants.h:EntryPoint) -->

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

<enum name="IOSGeminiFeedback">
  <int value="0" label="Thumbs Up"/>
  <int value="1" label="Thumbs Down"/>
</enum>

<!-- LINT.ThenChange(
    /ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiFeedback,
    /ios/chrome/browser/intelligence/bwg/model/gemini_session_delegate.h:GeminiFeedbackType
) -->

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

<enum name="IOSGeminiFirstPromptSubmissionMethod">
  <int value="0" label="Text"/>
  <int value="1" label="Summarize Chip"/>
  <int value="2" label="Check This Site Chip"/>
  <int value="3" label="Find Related Sites Chip"/>
  <int value="4" label="Ask About Page Chip"/>
  <int value="5" label="Create FAQ Chip"/>
  <int value="6" label="Unknown"/>
  <int value="7" label="Zero State Suggestions"/>
  <int value="8" label="What Can Gemini Do"/>
  <int value="9" label="Discovery Card"/>
  <int value="10" label="Omnibox Summarize"/>
  <int value="11" label="Omnibox Prompt"/>
  <int value="12" label="Transition to Live"/>
  <int value="13" label="Onboarding: What Can Gemini Do"/>
  <int value="14" label="Onboarding: Ask About Page"/>
  <int value="15" label="Onboarding: Summarize"/>
  <int value="16" label="Suggested Reply"/>
  <int value="17" label="Nano Banana: Turn This Page Into a Comic Strip"/>
  <int value="18" label="Nano Banana: Make a Folk Art Illustration"/>
  <int value="19" label="Nano Banana: Make a Custom Mini Figure"/>
  <int value="20" label="Nano Banana: Give Me a Grunge Makeover"/>
  <int value="21" label="Nano Banana: Turn This Image Into a Vintage Postcard"/>
  <int value="22"
      label="Nano Banana: Turn This Image Into a Watercolor Painting"/>
  <int value="23" label="Nano Banana: Make This Image Look Like Instant Film"/>
  <int value="24" label="Edit Menu Prompt"/>
  <int value="25" label="Onboarding: No I Am Done"/>
  <int value="26" label="Onboarding: Keep Learning"/>
  <int value="27" label="App Switcher Summarize"/>
</enum>

<!-- LINT.ThenChange(
    /ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiFirstPromptSubmissionMethod,
    /ios/chrome/browser/intelligence/bwg/utils/gemini_constants.h:InputType
) -->

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

<enum name="IOSGeminiFirstRunAction">
  <int value="0" label="Accept"/>
  <int value="1" label="Dismiss"/>
  <int value="2" label="Link Click"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiFirstRunAction) -->

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

<enum name="IOSGeminiFirstRunState">
  <summary>Current user state for the Gemini First Run.</summary>
  <int value="0" label="Pending"/>
  <int value="1" label="Started"/>
  <int value="2" label="Completed"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/utils/gemini_constants.h:FirstRunState) -->

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

<enum name="IOSGeminiFloatyUpdateSource">
  <int value="0" label="Unknown"/>
  <int value="1" label="View Transition"/>
  <int value="2" label="Web Navigation"/>
  <int value="3" label="Tab Grid"/>
  <int value="4" label="Non-Web Context Menu (e.g. Toolbar long press)"/>
  <int value="5" label="Web Context Menu"/>
  <int value="6" label="Forced From Scrolling"/>
  <int value="7" label="Overlay (e.g. Lens Overlay)"/>
  <int value="8" label="Ineligible Site"/>
  <int value="9" label="Forced From Query Response"/>
  <int value="10" label="Snackbar"/>
  <int value="11" label="Website Alert"/>
  <int value="12" label="Bottom Banner (e.g. Download Banner)"/>
  <int value="13" label="Keyboard"/>
  <int value="14" label="Gesture IPH"/>
  <int value="15" label="Search Related Page (Deprecated)"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/utils/gemini_constants.h:FloatyUpdateSource) -->

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

<enum name="IOSGeminiGoToOSSettingsAlertResult">
  <summary>
    Enum describing the result of the alert directing users to OS camera
    settings in the Gemini camera flow, shown when OS camera permissions are not
    authorized.
  </summary>
  <int value="0" label="Go to Settings"/>
  <int value="1" label="No thanks"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiGoToOSSettingsAlertResult) -->

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

<enum name="IOSGeminiImageActionButtonType">
  <int value="0" label="Unknown"/>
  <int value="1" label="Copy"/>
  <int value="2" label="Download"/>
  <int value="3" label="Share"/>
</enum>

<!-- LINT.ThenChange(ios/chrome/browser/intelligence/bwg/utils/gemini_constants.h:ImageActionButtonType) -->

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

<enum name="IOSGeminiIneligibilityReason">
  <int value="0" label="Workspace Restricted"/>
  <int value="1" label="Chrome Enterprise Disabled"/>
  <int value="2" label="Insufficient Account Capability"/>
  <int value="3" label="Account Unauthenticated"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiIneligibilityReason) -->

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

<enum name="IOSGeminiInputPlateAttachmentOption">
  <int value="0" label="Unknown"/>
  <int value="1" label="Camera"/>
  <int value="2" label="Gallery"/>
  <int value="3" label="Create Image Deselected"/>
  <int value="4" label="Create Image Selected"/>
</enum>

<!-- LINT.ThenChange(ios/chrome/browser/intelligence/bwg/utils/gemini_constants.h:InputPlateAttachmentOption) -->

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

<enum name="IOSGeminiInvocationPageType">
  <summary>
    Enum describing the page type from which Gemini was started.
  </summary>
  <int value="0" label="Extractable Web Page"/>
  <int value="1" label="PDF Document"/>
  <int value="2" label="New Tab Page"/>
  <int value="3" label="Chrome Internal Other"/>
  <int value="4" label="Other Non-Extractable"/>
  <int value="5" label="No WebState"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiInvocationPageType) -->

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

<enum name="IOSGeminiLiveFREOutcome">
  <summary>Onboarding final outcomes for Gemini Live FRE.</summary>
  <int value="0" label="Success"/>
  <int value="1" label="Dismissed on Consent Screen"/>
  <int value="2" label="Denied OS Mic Permission"/>
  <int value="3" label="Denied Chrome Mic Permission"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiLiveFREOutcome) -->

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

<enum name="IOSGeminiOSCameraAuthorizationInitialStatus">
  <summary>
    Enum describing the initial OS camera authorization status when the Gemini
    camera flow begins.
  </summary>
  <int value="0" label="Not Determined"/>
  <int value="1" label="Restricted"/>
  <int value="2" label="Denied"/>
  <int value="3" label="Authorized"/>
  <int value="4" label="Source Type Unavailable"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiOSCameraAuthorizationInitialStatus) -->

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

<enum name="IOSGeminiPageAvailability">
  <int value="0" label="Unavailable"/>
  <int value="1" label="Available"/>
  <int value="2" label="Search Result Page (Deprecated)"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiPageAvailability) -->

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

<enum name="IOSGeminiRegenerateOptionType">
  <summary>The type of regenerate option for a Gemini query retry.</summary>
  <int value="0" label="Unspecified"/>
  <int value="1" label="No Changes"/>
  <int value="2" label="Without Personalization"/>
  <int value="3" label="With Personalization"/>
  <int value="4" label="With Nano Banana Pro"/>
  <int value="5" label="Elaborate"/>
  <int value="6" label="Shorten"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/utils/gemini_constants.h:RegenerateOptionType) -->

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

<enum name="IOSGeminiSessionCancellationReason">
  <int value="0" label="Unknown"/>
  <int value="1" label="Stop Button Tapped"/>
  <int value="2" label="Outside Tapped"/>
  <int value="3" label="Close Button Tapped Expanded State"/>
  <int value="4" label="Close Button Tapped Collapsed State"/>
  <int value="5" label="Close Button Tapped Loading State"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiSessionCancellationReason) -->

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

<enum name="IOSGeminiSettingsItem">
  <int value="0" label="GeminiAppsActivity"/>
  <int value="1" label="Personalization"/>
  <int value="2" label="Extensions"/>
  <int value="3" label="Unknown"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/settings/ui_bundled/bwg/utils/gemini_settings_metrics.h:IOSGeminiSettingsItem) -->

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

<enum name="IOSGeminiViewStateTransition">
  <summary>
    Enum describing the transition between different Gemini view states.
  </summary>
  <int value="0" label="Unknown"/>
  <int value="1" label="CollapsedToExpanded"/>
  <int value="2" label="ExpandedToCollapsed"/>
  <int value="3" label="HiddenToCollapsed"/>
  <int value="4" label="HiddenToExpanded"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/bwg/metrics/gemini_metrics.h:IOSGeminiViewStateTransition) -->

<enum name="IOSHomeActionType">
  <int value="0" label="Most Visited Tiles"/>
  <int value="1" label="Shortcuts"/>
  <int value="2" label="Return to Recent Tab tile"/>
  <int value="3" label="Feed Card"/>
  <int value="4" label="Obsolete in M124 - Fake Omnibox tap"/>
  <int value="5" label="Set Up List"/>
  <int value="6" label="Omnibox navigation"/>
  <int value="7" label="Safety Check tile"/>
  <int value="8" label="Obsolete in M136 - Parcel Tracking tile"/>
  <int value="9" label="Distant tab resumption tile"/>
  <int value="10" label="Price Tracking Promo tile"/>
  <int value="11" label="Tips tile"/>
  <int value="12" label="ShopCard tile"/>
  <int value="13" label="Lens"/>
  <int value="14" label="Voice Search"/>
  <int value="15" label="Incognito Quick Action"/>
  <int value="16" label="AIM Quick Action"/>
  <int value="17" label="Tab Switcher"/>
  <int value="18" label="Plus Button"/>
</enum>

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

<enum name="IOSHomeCustomizationBackgroundStyle">
  <int value="0" label="Default NTP background was loaded"/>
  <int value="1" label="Color background was loaded"/>
  <int value="2" label="Gallery image background was loaded"/>
  <int value="3" label="User uploaded image background was loaded"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/home_customization/utils/home_customization_constants.h:HomeCustomizationBackgroundStyle) -->

<enum name="IOSHomeCustomizationEntrypoint">
  <int value="0" label="Main entrypoint"/>
  <int value="1" label="Magic Stack entrypoint"/>
  <int value="2" label="Promo entrypoint"/>
</enum>

<enum name="IOSIncognitoGridStatus">
  <int value="0" label="Enabled for unmanaged user"/>
  <int value="1" label="Enabled for supervised user"/>
  <int value="2" label="Enabled by enterprise policies"/>
  <int value="3" label="Disabled for unmanaged user"/>
  <int value="4" label="Disabled for supervised user"/>
  <int value="5" label="Disabled by enterprise policies"/>
</enum>

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

<enum name="IOSInstallAttributionType">
  <int value="0" label="None"/>
  <int value="1" label="Within 24 hours"/>
  <int value="2" label="Within 15 days"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/default_browser/model/install_attribution/install_attribution_helper.h:InstallAttributionType) -->

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

<enum name="IOSJavascriptErrorReportProcessorResult">
  <summary>The results of attempting to report a JavaScript error.</summary>
  <int value="0" label="Processor Unavailable"/>
  <int value="1" label="Api Missing"/>
  <int value="2" label="Duplicate"/>
  <int value="3" label="Upload Failed"/>
  <int value="4" label="Success"/>
  <int value="5" label="Filtered"/>
</enum>

<!-- LINT.ThenChange(//ios/web/js_features/window_error/web_js_error_report_processor.mm:IOSJavascriptErrorReportProcessorResult) -->

<enum name="IOSLaunchSource">
  <summary>The way the app was launched on iOS.</summary>
  <int value="0" label="App Icon"/>
  <int value="1" label="Long Press on App Icon"/>
  <int value="2" label="Widget"/>
  <int value="3" label="Spotlight Chrome (e.g. bookmark)"/>
  <int value="4" label="Link Opened by OS - Default Intent"/>
  <int value="5" label="Link Opened Specifically in Chrome from App"/>
  <int value="6" label="Siri Shortcut"/>
  <int value="7" label="X-Callback (incl. link shared to Chrome)"/>
  <int value="8" label="Handoff"/>
  <int value="9" label="Notification"/>
  <int value="10" label="External action opened in Chrome"/>
</enum>

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

<enum name="IOSLocationBarBadgeType">
  <int value="0" label="None"/>
  <int value="1" label="PasswordSave"/>
  <int value="2" label="PasswordUpdate"/>
  <int value="3" label="Incognito"/>
  <int value="4" label="Overflow"/>
  <int value="5" label="SaveCard"/>
  <int value="6" label="Translate"/>
  <int value="7" label="SaveAddressProfile"/>
  <int value="8" label="PermissionsCamera"/>
  <int value="9" label="PermissionsMicrophone"/>
  <int value="10" label="ContextualPanelEntryPointSample"/>
  <int value="11" label="PriceInsights"/>
  <int value="12" label="ReaderMode"/>
  <int value="13" label="GeminiContextualCueChip"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/location_bar/badge/model/badge_type.h:LocationBarBadgeType) -->

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

<enum name="IOSLocationBarLeadingIconType">
  <summary>The leading icon in the location bar</summary>
  <int value="0" label="None"/>
  <int value="1" label="Message (e.g. translate)"/>
  <int value="2" label="Price insight"/>
  <int value="3" label="Lens overlay"/>
  <int value="4" label="Reader mode"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/location_bar/ui_bundled/location_bar_metrics.h:IOSLocationBarLeadingIconType) -->

<enum name="IOSMagicStackModuleType">
  <int value="-1" label="Invalid"/>
  <int value="0" label="Most Visited Tiles"/>
  <int value="1" label="Shortcuts"/>
  <int value="2" label="Obsolete - Set Up List Sync"/>
  <int value="3" label="Set Up List Default Browser"/>
  <int value="4" label="Set Up List Autofill"/>
  <int value="5" label="Set Up List Compacted"/>
  <int value="6" label="Set Up List All Set"/>
  <int value="7" label="Safety Check"/>
  <int value="8" label="Obsolete in M123 - Safety Check Multi Row"/>
  <int value="9" label="Obsolete in M123 - Safety Check Multi Row Overflow"/>
  <int value="10" label="Tab Resumption"/>
  <int value="11" label="Obsolete in M134 - Parcel Tracking"/>
  <int value="12" label="Obsolete in M123 - Parcel Tracking See More"/>
  <int value="13" label="Set Up List Notifications"/>
  <int value="14" label="Placeholder"/>
  <int value="15" label="Price Tracking Promo"/>
  <int value="16" label="Tips (with Product Image)"/>
  <int value="17" label="Tips"/>
  <int value="18" label="Send Tab to Self Promo"/>
  <int value="19" label="Obsolete - Set Up List Docking"/>
  <int value="20" label="Obsolete - Set Up List Address Bar"/>
  <int value="21" label="ShopCard"/>
  <int value="22" label="App Bundle Promo"/>
  <int value="23" label="Default Browser"/>
  <int value="24" label="Level Up"/>
</enum>

<enum name="IOSMiniMapConsentOutcome">
  <int value="0" label="Consent was not required"/>
  <int value="1" label="Consent was skipped (already granted)."/>
  <int value="2" label="User accepted"/>
  <int value="3" label="User declined"/>
  <int value="4" label="User opened settings (double count)"/>
  <int value="5" label="User dismissed"/>
  <int value="6" label="Popover displayed"/>
</enum>

<enum name="IOSMiniMapOutcome">
  <int value="0" label="User exited normally"/>
  <int value="1" label="User opened a URL"/>
  <int value="2" label="User reported an issue"/>
  <int value="3" label="User opened settings"/>
  <int value="4" label="User opened a query"/>
  <int value="5" label="User disabled detection"/>
  <int value="6" label="User opened settings from disable confirmation"/>
</enum>

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

<enum name="IOSMostVisitedPinSiteFormUserAction">
  <int value="0" label="User dismisses form"/>
  <int value="1" label="User succesfully applies changes on the form"/>
  <int value="2" label="User dismisses form after failing to apply"/>
  <int value="3"
      label="User tries and succeeds to apply changes after failure"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/content_suggestions/most_visited_tiles/public/metrics.h:MostVisitedPinSiteFormUserAction) -->

<enum name="IOSMultiWindowConfiguration">
  <int value="0" label="Unspecified"/>
  <int value="1" label="Fullscreen"/>
  <int value="2" label="Fullscreen with Slideover"/>
  <int value="3" label="Shared Standard"/>
  <int value="4" label="Shared Standard with Slideover"/>
  <int value="5" label="Shared Compact"/>
  <int value="6" label="Shared Compact with Slideover"/>
  <int value="7" label="Slideover"/>
  <int value="8" label="Standard beside Standard"/>
  <int value="9" label="Standard beside Standard with Slideover"/>
  <int value="10" label="Standard beside Compact"/>
  <int value="11" label="Standard beside Compact with Slideover"/>
  <int value="12" label="Compact beside Compact"/>
  <int value="13" label="Compact beside Compact with Slideover"/>
</enum>

<enum name="IOSNotificationsOptInActionOnPrompt">
  <int value="0" label="Swiped to dismiss"/>
  <int value="1" label="No thanks tapped"/>
  <int value="2" label="Enable notifications tapped"/>
</enum>

<enum name="IOSNotificationsProminenceAlertActionResult">
  <int value="0" label="Open Settings tapped"/>
  <int value="1" label="No thanks tapped"/>
</enum>

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

<enum name="IOSNtpBackgroundServiceErrorType">
  <int value="0" label="None"/>
  <int value="1" label="Network error"/>
  <int value="2" label="Service error"/>
</enum>

<!-- LINT.ThenChange(/components/themes/ntp_background_data.h:ErrorType) -->

<enum name="IOSNTPImpressionCustomizationState">
  <int value="0" label="All components enabled"/>
  <int value="1"
      label="Most Visited Tiles and Magic Stack enabled; Feed disabled"/>
  <int value="2"
      label="Most Visited Tiles and Feed enabled; Magic Stack disabled"/>
  <int value="3"
      label="Magic Stack and Feed enabled; Most Visited Tiles disabled"/>
  <int value="4"
      label="Most Visited Tiles enabled; Magic Stack and Feed disabled"/>
  <int value="5"
      label="Magic Stack enabled; Most Visited Tiles and Feed disabled"/>
  <int value="6"
      label="Feed enabled; Most Visited Tiles and Magic Stack disabled"/>
  <int value="7" label="All components disabled"/>
</enum>

<enum name="IOSNTPImpressionType">
  <int value="0" label="Feed disabled"/>
  <int value="1" label="Feed visible"/>
  <int value="2" label="Feed collapsed"/>
</enum>

<enum name="IOSNTPNewBadgeShownResult">
  <int value="0" label="Shown"/>
  <int value="1" label="Obsolete in M140 - Not shown due to limit reached"/>
  <int value="2"
      label="Obsolete in M140 - Not shown due to the button already having
             been pressed"/>
</enum>

<enum name="IOSNTPOverscrollAction">
  <int value="0" label="Open New Tab"/>
  <int value="1" label="Pull to Refresh"/>
  <int value="2" label="Close Tab"/>
</enum>

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

<enum name="IOSOmniboxAssistiveKey">
  <int value="0" label="Key :"/>
  <int value="1" label="Key -"/>
  <int value="2" label="Key /"/>
  <int value="3" label="Key .com"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/omnibox/ui/keyboard_assist/omnibox_assistive_keyboard_utils.h:IOSOmniboxAssistiveKey) -->

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

<enum name="IOSOmniboxCopyType">
  <int value="0" label="Text"/>
  <int value="1" label="URL edited"/>
  <int value="2" label="URL pre-edit"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/omnibox/public/omnibox_metrics_helper.h:OmniboxCopyType) -->

<enum name="IOSOpenInDownloadResult">
  <int value="0" label="Download Succeeded"/>
  <int value="1" label="Download Canceled">
    User canceled the download manually.
  </int>
  <int value="2" label="Download Failed">
    Download failed either by getting a corrupted file or no file at all.
  </int>
</enum>

<enum name="IOSOpenInMimeType">
  <int value="0" label="Not handled"/>
  <int value="1" label="PDF"/>
  <int value="2" label="Microsof tWord"/>
  <int value="3" label="Microsoft Word OpenXML"/>
  <int value="4" label="JPEG"/>
  <int value="5" label="PNG"/>
  <int value="6" label="Microsoft PowerPoint"/>
  <int value="7" label="Microsoft PowerPoint OpenXML"/>
  <int value="8" label="RTF"/>
  <int value="9" label="SVG"/>
  <int value="10" label="Microsoft Excel"/>
  <int value="11" label="Microsoft Excel OpenXML"/>
</enum>

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

<enum name="IOSOverflowMenuAction">
  <int value="0" label="Reload"/>
  <int value="1" label="NewTab"/>
  <int value="2" label="NewIncognitoTab"/>
  <int value="3" label="NewWindow"/>
  <int value="4" label="Obsolete in M143 - Follow"/>
  <int value="5" label="Bookmark"/>
  <int value="6" label="ReadingList"/>
  <int value="7" label="ClearBrowsingData"/>
  <int value="8" label="Translate"/>
  <int value="9" label="DesktopSite"/>
  <int value="10" label="FindInPage"/>
  <int value="11" label="TextZoom"/>
  <int value="12" label="ReportAnIssue"/>
  <int value="13" label="Help"/>
  <int value="14" label="ShareChrome"/>
  <int value="15" label="EditActions"/>
  <int value="16" label="LensOverlay"/>
  <int value="17" label="AIPrototype"/>
  <int value="18" label="SetTabReminder"/>
  <int value="19" label="ReaderMode"/>
  <int value="20" label="AskGemini"/>
  <int value="21" label="HideToolbars"/>
  <int value="22" label="Obsolete in M150 - TabGroup"/>
  <int value="23" label="ShareThisPage"/>
  <int value="24" label="Obsolete in M152 - Signin"/>
  <int value="25" label="Identity"/>
  <int value="26" label="CustomizeHomePage"/>
</enum>

<!-- LINT.ThenChange(
    /ios/chrome/browser/popup_menu/overflow_menu/public/overflow_menu_constants.h:actionType
)-->

<enum name="IOSOverflowMenuActionType">
  <int value="0" label="No scroll, no action"/>
  <int value="1" label="Scroll, no action"/>
  <int value="2" label="No scroll, action"/>
  <int value="3" label="Scroll, action"/>
</enum>

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

<enum name="IOSOverflowMenuDestination">
  <int value="0" label="Bookmarks"/>
  <int value="1" label="History"/>
  <int value="2" label="ReadingList"/>
  <int value="3" label="Passwords"/>
  <int value="4" label="Downloads"/>
  <int value="5" label="RecentTabs"/>
  <int value="6" label="SiteInfo"/>
  <int value="7" label="Settings"/>
  <int value="8" label="WhatsNew"/>
  <int value="9" label="SpotlightDebugger"/>
  <int value="10" label="PriceNotifications"/>
  <int value="11" label="Cobalt"/>
  <int value="12" label="LevelUp"/>
</enum>

<!-- LINT.ThenChange(
    /ios/chrome/browser/popup_menu/overflow_menu/ui/overflow_menu_metrics.h:destination,
    /ios/chrome/browser/popup_menu/overflow_menu/public/overflow_menu_constants.h:destination
)-->

<enum name="IOSOverflowMenuReorderingReason">
  <int value="0" label="Error Badge"/>
  <int value="1" label="New Badge"/>
  <int value="2" label="Both Badges"/>
</enum>

<enum name="IOSOverflowMenuSmartSortingChange">
  <int value="0" label="Newly Enabled"/>
  <int value="1" label="Newly Disabled"/>
</enum>

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

<enum name="IOSPageActionMenuFeatureType">
  <int value="0" label="Translate"/>
  <int value="1" label="PopupBlocker"/>
  <int value="2" label="CameraPermission"/>
  <int value="3" label="MicrophonePermission"/>
  <int value="4" label="PriceTracking"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/page_action_menu/utils/ai_hub_metrics.h:IOSPageActionMenuFeatureType) -->

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

<enum name="IOSPageActionMenuFooterReason">
  <summary>
    Reason for showing an ineligibility disclaimer in the Page Action Menu
    footer.
  </summary>
  <int value="0" label="Gemini - Enterprise Policies"/>
  <int value="1" label="Lens - Enterprise Policies"/>
  <int value="2" label="Lens - Non Google Search Engine"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/page_action_menu/utils/ai_hub_metrics.h:IOSPageActionMenuFooterReason) -->

<enum name="IOSPageLoadCountNavigationType">
  <int value="0" label="Chrome URL Navigation"/>
  <int value="1" label="Same Document Web Navigation"/>
  <int value="2" label="Page Load Navigation"/>
  <int value="3" label="Obsolete - Loading Started"/>
</enum>

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

<enum name="IOSPageStabilityOutcome">
  <int value="0" label="kUnknown"/>
  <int value="1" label="kStable"/>
  <int value="2" label="kStableBeforeMinDelay"/>
  <int value="3" label="kTimeout"/>
  <int value="4" label="kWebFrameGoingAway"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/intelligence/actor/tools/model/ios_page_stability_metrics.h:IOSPageStabilityOutcome) -->

<enum name="IOSParcelTrackingOptInStatus">
  <int value="0" label="Never Track"/>
  <int value="1" label="Always Track"/>
  <int value="2" label="Ask To Track"/>
  <int value="3" label="Status Not Set"/>
</enum>

<enum name="IOSPermissionEvent">
  <int value="0" label="Camera permission disabled"/>
  <int value="1" label="Camera permission enabled"/>
  <int value="2" label="Microphone permission disabled"/>
  <int value="3" label="Microphone permission enabled"/>
</enum>

<enum name="IOSPermissionRequest">
  <int value="0" label="Camera permission"/>
  <int value="1" label="Microphone permission"/>
  <int value="2" label="Camera and Microphone permissions"/>
</enum>

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

<enum name="IOSPersistTabContextDeleteDirectoryResult">
  <summary>
    Result of attempting to delete the persisted tab contexts directory and its
    contents.
  </summary>
  <int value="0" label="Delete Success"/>
  <int value="1" label="Directory Not Found"/>
  <int value="2" label="Delete Failure"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/persist_tab_context/metrics/persist_tab_context_metrics.h:IOSPersistTabContextDeleteDirectoryResult) -->

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

<enum name="IOSPersistTabContextDeleteResult">
  <summary>
    The result of attempting to delete a persisted tab context from storage.
  </summary>
  <int value="0" label="Success"/>
  <int value="1" label="Storage Path Empty"/>
  <int value="2" label="Delete Failure"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/persist_tab_context/metrics/persist_tab_context_metrics.h:IOSPersistTabContextDeleteResult) -->

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

<enum name="IOSPersistTabContextReadResult">
  <summary>
    The result of attempting to read a persisted tab context from storage.
  </summary>
  <int value="0" label="Success"/>
  <int value="1" label="File Not Found"/>
  <int value="2" label="Storage Path Empty"/>
  <int value="3" label="Read Failure"/>
  <int value="4" label="Parse Failure"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/persist_tab_context/metrics/persist_tab_context_metrics.h:IOSPersistTabContextReadResult) -->

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

<enum name="IOSPersistTabContextWriteResult">
  <summary>
    The result of attempting to write a persisted tab context to storage.
  </summary>
  <int value="0" label="Success"/>
  <int value="1" label="Storage Path Empty"/>
  <int value="2" label="Write Failure"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/intelligence/persist_tab_context/metrics/persist_tab_context_metrics.h:IOSPersistTabContextWriteResult) -->

<enum name="IOSPhotosServiceUploadFailureType">
  <int value="0" label="None"/>
  <int value="1" label="The service is already uploading."/>
  <int value="10" label="Failure occurred while retrieving an existing album."/>
  <int value="20" label="Failure occurred while creating a new album."/>
  <int value="30"
      label="Failure occurred during the first step of uploading a photo."/>
  <int value="31"
      label="Failure occurred during the first step of uploading a photo (no
             data in response)."/>
  <int value="32"
      label="Failure occurred during the first step of uploading a photo
             (response is not text)."/>
  <int value="33"
      label="Failure occurred during the first step of uploading a photo
             (token could not be decoded)."/>
  <int value="40"
      label="Failure occurred during the second step of uploading a photo."/>
  <int value="41"
      label="Failure occurred during the second step of uploading a photo
             because the remaining storage in the user's account is not
             enough to perform this operation."/>
</enum>

<enum name="IOSPostRestoreDefaultBrowserActionOnPrompt">
  <int value="0" label="No Thanks"/>
  <int value="1" label="Go To Settings"/>
  <int value="2" label="Swipe to Dismiss"/>
</enum>

<enum name="IOSPostRestoreSigninChoice">
  <int value="0" label="Continue"/>
  <int value="1" label="Dismiss"/>
</enum>

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

<enum name="IOSPromoRegistrationState">
  <int value="0" label="kRegistration"/>
  <int value="1" label="kDeregistrationBeforePromoDisplay"/>
  <int value="2" label="kDeregistrationAfterPromoDisplay"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/promos_manager/model/constants.h:PromoRegistrationState) -->

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

<enum name="IOSPromosManagerPromo">
  <int value="0" label="Test Promo"/>
<!--  Default Browser (Fullscreen) not in use, yet.-->

  <int value="1" label="Default Browser (Fullscreen)"/>
  <int value="2" label="App Store Rating"/>
<!--  Credential Provider Extension not in use, yet.-->

  <int value="3" label="Credential Provider Extension"/>
  <int value="4" label="Post Restore Sign-In (Fullscreen)"/>
  <int value="5" label="Post Restore Sign-In (Alert)"/>
  <int value="6" label="What's New"/>
  <int value="7" label="Choice Promo"/>
  <int value="8" label="Post Restore Default Browser (Alert)"/>
  <int value="9" label="Default Browser Remind Me Later"/>
  <int value="10" label="Omnibox Position"/>
  <int value="11" label="Docking Promo"/>
  <int value="12" label="Docking Promo (Remind Me Later)"/>
  <int value="13" label="All Tabs default browser promo"/>
  <int value="14" label="Made for iOS default browser promo"/>
  <int value="15" label="Stay Safe default browser promo"/>
  <int value="16" label="Post-default browser abandonment alert."/>
  <int value="17" label="Fullscreen sign-in promo."/>
  <int value="18" label="Welcome Back promo"/>
  <int value="19" label="(Obsolete) BWG promo"/>
  <int value="20" label="Safari Import (Remind Me Later)"/>
  <int value="21" label="Default Browser off cycle promo"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/promos_manager/model/constants.h:Promo) -->

<enum name="IOSPromosManagerPromoType">
  <int value="0" label="StandardPromoViewProvider"/>
  <int value="1" label="BanneredPromoViewProvider"/>
  <int value="2" label="StandardPromoAlertProvider"/>
  <int value="3" label="StandardPromoDisplayHandler"/>
</enum>

<enum name="IOSPromptAndroidTabsStatus">
  <int value="0" label="Sync Disabled"/>
  <int value="1" label="Segmentation Incomplete"/>
  <int value="2" label="Prompt Shown and Dismissed"/>
  <int value="3" label="Tab Sync Disabled"/>
  <int value="4" label="No Active Tabs"/>
  <int value="5" label="Not Android Switcher"/>
  <int value="6" label="Success"/>
</enum>

<enum name="IOSSafetyCheckHiddenReason">
  <int value="0" label="Manually disabled"/>
  <int value="1" label="No issues"/>
</enum>

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

<enum name="IOSSafetyCheckNotificationsOptInSource">
  <int value="0" label="SafetyCheckPageOptIn"/>
  <int value="1" label="SafetyCheckPageOptOut"/>
  <int value="2" label="PasswordCheckupPageOptIn"/>
  <int value="3" label="PasswordCheckupPageOptOut"/>
  <int value="4" label="MagicStackLongPressMenuOptIn"/>
  <int value="5" label="MagicStackLongPressMenuOptOut"/>
  <int value="6" label="MagicStackTopRightActionButtonOptIn"/>
  <int value="7" label="MagicStackTopRightActionButtonOptOut"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/safety_check_notifications/utils/constants.h:SafetyCheckNotificationsOptInSource) -->

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

<enum name="IOSSafetyCheckNotificationType">
  <int value="0" label="Update Chrome"/>
  <int value="1" label="Passwords"/>
  <int value="2" label="Safe Browsing"/>
  <int value="3" label="Error"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/safety_check_notifications/utils/constants.h:SafetyCheckNotificationType) -->

<enum name="IOSSaveToDriveGetResponseLinkFailure">
  <int value="0" label="Missing Result"/>
  <int value="1" label="Missing File Link"/>
</enum>

<enum name="IOSSaveToDriveOutcomeType">
  <int value="0" label="Failure - WebState Hidden"/>
  <int value="1" label="Failure - WebState Destroyed"/>
  <int value="2" label="Failure - Download Destroyed"/>
  <int value="3" label="Failure - Canceled (Files Selected)"/>
  <int value="4" label="Failure - Canceled (Drive Selected)"/>
  <int value="5" label="Success - Selected Files"/>
  <int value="6" label="Success - Selected Drive"/>
  <int value="7" label="Success - Opted to Manage Storage"/>
</enum>

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

<enum name="IOSSaveToDriveSignInResultType">
  <int value="0" label="Success"/>
  <int value="1" label="Success With Profile Switch"/>
  <int value="2" label="Cancelled"/>
  <int value="3" label="Failed"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/drive/model/drive_metrics.h:SaveToDriveSignInResult) -->

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

<enum name="IOSSaveToDriveSignInStatusType">
  <int value="0" label="Signed In"/>
  <int value="1" label="Signed Out Without Account On Device"/>
  <int value="2" label="Signed Out With Account On Device"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/drive/model/drive_metrics.h:SaveToDriveSignInStatus) -->

<enum name="IOSSaveToDriveUploadTaskStateType">
  <int value="0" label="Not Started"/>
  <int value="1" label="In Progress"/>
  <int value="2" label="Cancelled"/>
  <int value="3" label="Complete"/>
  <int value="4" label="Failed"/>
</enum>

<enum name="IOSSaveToPhotosAccountPickerType">
  <int value="0"
      label="Account picker not presented because a default account exists"/>
  <int value="1" label="User tapped 'Cancel' in the account picker"/>
  <int value="2" label="User selected an identity in the account picker"/>
</enum>

<enum name="IOSSaveToPhotosContextMenuType">
  <int value="0"
      label="'Save to Google Photos' action was unavailable and the user
             tapped 'Save to Photos' (saved image locally)"/>
  <int value="2"
      label="'Save to Google Photos' action was available but the user tapped
             'Save to Photos' (saved image locally)"/>
  <int value="3"
      label="'Save to Google Photos' action was available and the user tapped
             'Save to Google Photos'"/>
</enum>

<enum name="IOSSaveToPhotosSettingsType">
  <int value="0"
      label="User has NOT set a default Save to Photos account and did NOT
             opt-in to skip the account picker"/>
  <int value="1"
      label="User has set a default Save to Photos account which exists on
             device and did NOT opt-in to skip the account picker"/>
  <int value="2"
      label="User has set a default Save to Photos account but it is not on
             device anymore and did NOT opt-in to skip the account picker"/>
  <int value="3"
      label="User has set a default Save to Photos account which exists on
             device and did opt-in to skip the account picker"/>
  <int value="4"
      label="User has set a default Save to Photos account but it is not on
             device anymore; the user did opt-in to skip the account picker"/>
</enum>

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

<enum name="IOSSaveToPhotosSignInResultType">
  <int value="0" label="Success"/>
  <int value="1" label="Cancelled"/>
  <int value="2" label="Failed"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/photos/model/photos_metrics.h:SaveToPhotosSignInResult) -->

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

<enum name="IOSSaveToPhotosSignInStatusType">
  <int value="0" label="Signed In"/>
  <int value="1" label="Signed Out Without Account On Device"/>
  <int value="2" label="Signed Out With Account On Device"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/photos/model/photos_metrics.h:SaveToPhotosSignInStatus) -->

<enum name="IOSSaveToPhotosType">
  <int value="0" label="Failure - WebState destroyed"/>
  <int value="1" label="Failure - User signed-out"/>
  <int value="2"
      label="Failure - User cancelled in 'This File Could Not Be Uploaded'
             alert"/>
  <int value="3" label="Failure - Cancelled with account picker"/>
  <int value="4" label="Failure - Cancelled with snackbar button"/>
  <int value="5" label="Success - No post-upload action"/>
  <int value="6" label="Success - Photo opened in Photos app"/>
  <int value="7"
      label="Success - StoreKit opened and app not installed (maybe dismissed
             before full installation)"/>
  <int value="8" label="Success - StoreKit opened and app installed"/>
  <int value="9" label="Failure - User out-of-storage and DID manage storage"/>
  <int value="10"
      label="Failure - User out-of-storage and did NOT manage storage"/>
</enum>

<enum name="IOSSearchWithContext">
  <int value="0" label="Normal Mode, Google Search engine"/>
  <int value="1" label="Normal Mode, Other Search engine"/>
  <int value="2" label="Incognito Mode, Google Search engine"/>
  <int value="3" label="Incognito Mode, Other Search engine"/>
</enum>

<enum name="IOSSetUpListItemType">
  <int value="1" label="Obsolete - SignIn Sync"/>
  <int value="2" label="Default Browser"/>
  <int value="3" label="Autofill"/>
  <int value="4" label="Obsolete - Follow"/>
  <int value="5" label="All Set"/>
  <int value="6" label="Notifications"/>
  <int value="7" label="Obsolete in M138 - Docking"/>
  <int value="8" label="Obsolete in M138 - Address Bar"/>
  <int value="9" label="Safari import"/>
  <int value="10" label="Background customization"/>
</enum>

<enum name="IOSShareExtensionReceivedEntrySource">
  <int value="0" label="Unknown Application"/>
  <int value="1" label="Chrome share extension"/>
</enum>

<enum name="IOSShareExtensionReceivedEntryType">
  <int value="0" label="Invalid item"/>
  <int value="1" label="Cancelled item"/>
  <int value="2" label="Reading list item"/>
  <int value="3" label="Bookmark item"/>
  <int value="4" label="Open in Chrome item"/>
  <int value="5" label="Open in Chrome Incognito item"/>
  <int value="6" label="Image search item"/>
  <int value="7" label="Text search item"/>
  <int value="8" label="Incognito image search item"/>
  <int value="9" label="Incognito text search item"/>
</enum>

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

<enum name="IOSSigninFullscreenPromoEvents">
  <int value="0" label="Promo Manager Triggered"/>
  <int value="1" label="Promo not shown due to policy"/>
  <int value="2" label="Promo not shown because the UI was blocked."/>
  <int value="3" label="Promo UI Started"/>
  <int value="4" label="Sign in UI Started"/>
  <int value="5" label="HistorySync UI Started"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/authentication/ui_bundled/signin/signin_constants.h:SigninFullscreenPromoEvents) -->

<enum name="IOSSpotlightAction">
  <int value="0" label="New Tab"/>
  <int value="1" label="New Incognito Tab"/>
  <int value="2" label="Voice Search"/>
  <int value="3" label="QR Code Scanner"/>
  <int value="4" label="Set Default Browser"/>
  <int value="5" label="Search with Lens"/>
</enum>

<enum name="IOSSpotlightAvailability">
  <int value="0" label="Unsupported"/>
  <int value="1" label="Unavailable"/>
  <int value="2" label="Available"/>
</enum>

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

<enum name="IOSSpotlightDonatedIntentType">
  <int value="0" label="Search In Chrome"/>
  <int value="1" label="Open Reading List"/>
  <int value="2" label="Open Bookmarks"/>
  <int value="3" label="Open Recent Tabs"/>
  <int value="4" label="Open Tab Grid"/>
  <int value="5" label="Open Voice Search"/>
  <int value="6" label="Open New Tab"/>
  <int value="7" label="Play Dino Game"/>
  <int value="8" label="Set Default Browser"/>
  <int value="9" label="View History"/>
  <int value="10" label="Open Latest Tab"/>
  <int value="11" label="Start Lens"/>
  <int value="12" label="Clear Browsing Data"/>
  <int value="13" label="Open In Chrome"/>
  <int value="14" label="Open In Incognito"/>
  <int value="15" label="Open New Incognito Tab"/>
  <int value="16" label="Manage Payment Methods"/>
  <int value="17" label="Run Safety Check"/>
  <int value="18" label="Manage Passwords"/>
  <int value="19" label="Manage Settings"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/intents/model/intent_type.h:IOSSpotlightDonatedIntentType) -->

<enum name="IOSSpotlightOrigin">
  <int value="0" label="Unknown Origin"/>
  <int value="1" label="Bookmark"/>
  <int value="2" label="Top Sites"/>
  <int value="3" label="Actions"/>
  <int value="4" label="Reading list"/>
  <int value="5" label="Open tab"/>
</enum>

<enum name="IOSTabSwitcherDragDropTabs">
  <int value="0" label="A tab is dragged."/>
  <int value="1" label="A tab is dropped at the same index position."/>
  <int value="2" label="A tab is dropped at a new index position."/>
  <int value="3" label="A tab is dropped outside of its collection view."/>
</enum>

<enum name="IOSTabSwitcherDragOrigin">
  <int value="0"
      label="The item is from the same collection in the same Chrome window."/>
  <int value="1" label="The item is from the same Chrome window."/>
  <int value="2" label="The item is from another Chrome window."/>
  <int value="3" label="The item is not a Chrome Tab."/>
</enum>

<enum name="IOSTabSwitcherPageChangeInteraction">
  <int value="0" label="Unknown Interaction"/>
  <int value="1" label="Scroll View Drag"/>
  <int value="2" label="Page Control Tap"/>
  <int value="3" label="Page Control Drag"/>
  <int value="4" label="Item Drag"/>
  <int value="5" label="Voice Over Swipe"/>
</enum>

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

<enum name="IOSTaskOrchestratorTaskSchedulingOutcome">
  <int value="0" label="Scheduled"/>
  <int value="1" label="Dropped due to Gaia ID mismatch"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/app/task_orchestrator.h:TaskSchedulingOutcome) -->

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

<enum name="IOSThemeSyncInitialState">
  <summary>
    Records the state of the Sync server during the initial setup flow for iOS
    themes.
  </summary>
  <int value="0" label="EmptyServer"/>
  <int value="1" label="HasRemoteData"/>
  <int value="2" label="TooManySpecificsError"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/home_customization/model/theme_syncable_service_ios_constants.h:IOSThemeSyncInitialState) -->

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

<enum name="IOSThemeSyncRemoteAction">
  <summary>
    Records the outcome of evaluating an incoming remote iOS theme from the Sync
    server.
  </summary>
  <int value="0" label="Applied"/>
  <int value="1" label="Ignored: Managed by policy"/>
  <int value="2" label="Ignored: Already matches"/>
  <int value="3" label="Error: Missing specifics"/>
  <int value="4" label="Error: Too many changes"/>
  <int value="5" label="Error: Invalid change type"/>
  <int value="6" label="Ignored (Local Theme Unsyncable)"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/home_customization/model/theme_syncable_service_ios_constants.h:IOSThemeSyncRemoteAction) -->

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

<enum name="IOSThemeSyncStopAction">
  <summary>
    Records the action taken by the client when the iOS Theme Sync service is
    stopped, disabled, or cleared.
  </summary>
  <int value="0" label="RestoredLocalTheme"/>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/home_customization/model/theme_syncable_service_ios_constants.h:IOSThemeSyncStopAction) -->

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

<enum name="IOSTipsNotificationPromoAction">
  <int value="0" label="Primary Action"/>
  <int value="1" label="Secondary Action"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/tips_notifications/model/utils.h:TipsNotificationPromoAction) -->

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

<enum name="IOSTipsNotificationType">
  <int value="0" label="Default Browser"/>
  <int value="1" label="What's New"/>
  <int value="2" label="Sign In"/>
  <int value="3" label="Error"/>
  <int value="4" label="SetUpList Continuation"/>
  <int value="5" label="Docking"/>
  <int value="6" label="Omnibox Position"/>
  <int value="7" label="Lens"/>
  <int value="8" label="Enhanced Safe Browsing"/>
  <int value="9" label="Lens Overlay"/>
  <int value="10" label="CPE"/>
  <int value="11" label="Incognito Lock"/>
  <int value="12" label="Trusted Vault Key Retrieval"/>
  <int value="13" label="Tab Groups"/>
  <int value="14" label="Price Tracking"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/tips_notifications/model/utils.h:TipsNotificationType) -->

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

<enum name="IOSTipsNotificationUserType">
  <int value="0" label="Unknown"/>
  <int value="1" label="Less Engaged"/>
  <int value="2" label="Active Seeker"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/tips_notifications/model/utils.h:TipsNotificationUserType) -->

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

<enum name="IOSTipsTrustedVaultNotificationEvents">
  <int value="0" label="Trusted Vault key retrieval flow started."/>
  <int value="1"
      label="Key retrieval flow did not start. Trusted Vault key is already
             available."/>
  <int value="2"
      label="Key retrieval flow did not start. Sync service does not exist
             for profile."/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/tips_notifications/model/utils.h:TrustedVaultNotificationEvents) -->

<enum name="IOSUpgradeCenterFailureReason">
  <int value="0" label="Invalid URL"/>
  <int value="1" label="Invalid Version"/>
</enum>

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

<enum name="IOSUserInterfaceStyle">
  <int value="0" label="Unspecified"/>
  <int value="1" label="Light"/>
  <int value="2" label="Dark"/>
  <int value="3" label="Unsupported"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/metrics/model/user_interface_style_recorder.mm:InterfaceStyleForReporting) -->

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

<enum name="IOSUserUploadedImageError">
  <int value="0" label="No error"/>
  <int value="1" label="Failed to create directory"/>
  <int value="2" label="Failed to write file"/>
  <int value="3" label="Failed to convert to JPEG"/>
  <int value="4" label="Failed to read file"/>
  <int value="5" label="Failed to create a UIImage from the loaded data"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/home_customization/utils/home_customization_constants.h:UserUploadedImageError) -->

<enum name="IOSWebFileInputAttributes">
  <int value="0" label="No Accept"/>
  <int value="1" label="No Accept, Multiple files"/>
  <int value="2" label="Mixed"/>
  <int value="3" label="Mixed, Multiple files"/>
  <int value="4" label="Unknown"/>
  <int value="5" label="Unknown, Multiple files"/>
  <int value="6" label="Image"/>
  <int value="7" label="Image, Multiple files"/>
  <int value="8" label="Video"/>
  <int value="9" label="Video, Multiple files"/>
  <int value="10" label="Audio"/>
  <int value="11" label="Audio, Multiple files"/>
  <int value="12" label="Archive"/>
  <int value="13" label="Archive, Multiple files"/>
  <int value="14" label="PDF"/>
  <int value="15" label="PDF, Multiple files"/>
  <int value="16" label="Doc"/>
  <int value="17" label="Doc, Multiple files"/>
  <int value="18" label="Apple"/>
  <int value="19" label="Apple, Multiple files"/>
</enum>

<enum name="IOSWebFileInputContentState">
  <int value="0" label="Single file, empty"/>
  <int value="1" label="Single file, already selected"/>
  <int value="2" label="Multiple files, empty"/>
  <int value="3" label="Multiple files, already selected"/>
</enum>

<enum name="IOSWidgetKitAction">
  <int value="0" label="Dino Widget - Game"/>
  <int value="1" label="Search Widget - Search"/>
  <int value="2" label="Quick Actions Widget - Search"/>
  <int value="3" label="Quick Actions Widget - Incognito"/>
  <int value="4" label="Quick Actions Widget - Voice Search"/>
  <int value="5" label="Quick Actions Widget - QR Reader"/>
  <int value="6" label="Lockscreen Launcher Widget - Search"/>
  <int value="7" label="Lockscreen Launcher Widget - Incognito"/>
  <int value="8" label="Lockscreen Launcher Widget - Voice Search"/>
  <int value="9" label="Lockscreen Launcher Widget - Dino Game"/>
  <int value="10" label="Quick Actions Widget - Lens"/>
  <int value="11" label="Shortcuts Widget - Search"/>
  <int value="12" label="Shortcuts Widget - Open Shortcut"/>
  <int value="13" label="Search Passwords Widget - Search Passwords"/>
</enum>

<enum name="IOSWidgetKitDeletedUiCount">
  <int value="0" label="Deleted account ui displayed"/>
</enum>

<enum name="IOSWidgetKitExtensionKind">
  <int value="0" label="Dino game widget"/>
  <int value="1" label="Search widget"/>
  <int value="2" label="Quick actions widget"/>
  <int value="3" label="A widget that has become obsolete"/>
  <int value="4" label="Lockscreen launcher widget - Search"/>
  <int value="5" label="Lockscreen launcher widget - Incognito"/>
  <int value="6" label="Lockscreen launcher widget - Voice Search"/>
  <int value="7" label="Lockscreen launcher widget - Dino Game"/>
  <int value="8" label="Shortcuts widget"/>
  <int value="9" label="Search Passwords widget"/>
</enum>

<enum name="LanguageDetectionMethod">
  <int value="0" label="TFLite model"/>
  <int value="1" label="CLD3 (TFLite model unavailable)"/>
  <int value="2" label="CLD3 (TFLite model disabled)"/>
  <int value="3" label="CLD3 (TFLite model run but is ignored) (deprecated)"/>
</enum>

<enum name="LinkToTextShouldOfferResult">
  <int value="0" label="Success"/>
  <int value="1" label="Rejected in JavaScript (deprecated)"/>
  <int value="2" label="Blocklisted"/>
  <int value="3" label="Unable to invoke JavaScript"/>
  <int value="4" label="Web layer task timeout (deprecated)"/>
  <int value="5" label="Dispatched timeout (deprecated)"/>
  <int value="6" label="Selection empty"/>
  <int value="7" label="User editing"/>
  <int value="8" label="Text Input view not found"/>
  <int value="9" label="Success, with lower certainty"/>
</enum>

<enum name="MediaAPIParams">
  <int value="0" label="Unknown"/>
  <int value="1" label="Audio Only"/>
  <int value="2" label="Video Only"/>
  <int value="3" label="Audio and Video"/>
</enum>

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

<enum name="MetricKitExitData">
  <int value="0" label="App exited normally"/>
  <int value="1" label="App exited abnormally"/>
  <int value="2" label="Watchdog terminated the app"/>
  <int value="3" label="App used too much CPU time"/>
  <int value="4" label="App used too much memory"/>
  <int value="5" label="Terminated to free up memory"/>
  <int value="6" label="Suspended while having file locks"/>
  <int value="7" label="Invalid memory access"/>
  <int value="8" label="Illegal or undefined instruction"/>
  <int value="9" label="Exceeded allocated time for background task"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/metrics/model/histogram_bridge.h:MetricKitExitReason) -->

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

<enum name="NonModalSignInPromoAction">
  <int value="0" label="Accept"/>
  <int value="1" label="Appear"/>
  <int value="2" label="Dismiss"/>
  <int value="3" label="Timeout"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/authentication/signin/non_modal_promo/coordinator/non_modal_signin_promo_metrics_util.h:NonModalSignInPromoAction) -->

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

<enum name="NotificationType">
  <int value="0" label="Default Browser [Tip]"/>
  <int value="1" label="Whats New [Tip]"/>
  <int value="2" label="Sign in [Tip]"/>
  <int value="3" label="Set Up List Continuation [Tip]"/>
  <int value="4" label="Docking [Tip]"/>
  <int value="5" label="Omnibox Position [Tip"/>
  <int value="6" label="Lens [Tip]"/>
  <int value="7" label="Enhanced Safe Browsing [Tip]"/>
  <int value="8" label="Update Chrome [SafetyCheck]"/>
  <int value="9" label="Passwords [SafetyCheck]"/>
  <int value="10" label="Safe Browsing [SafetyCheck]"/>
  <int value="11" label="Lens Overlay [Tip]"/>
  <int value="12" label="CPE [Tip]"/>
  <int value="13" label="Incognito Lock [Tip]"/>
  <int value="14" label="unknown type"/>
  <int value="15" label="Send Tab"/>
  <int value="16" label="Trusted Vault Key Retrieval [Tip]"/>
  <int value="17" label="Reminder"/>
  <int value="18" label="Commerce"/>
  <int value="19" label="Content"/>
  <int value="20" label="Passwords [Cross Platform Promos]"/>
  <int value="21" label="Safe Browsing [Cross Platform Promos]"/>
  <int value="22" label="Lens [Cross Platform Promos]"/>
  <int value="23" label="Tab Groups [Cross Platform Promos]"/>
  <int value="24" label="Price Tracking [Cross Platform Promos]"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/push_notification/model/constants.h:NotificationType) -->

<enum name="NtpBackgroundCacheCleanupEvent">
  <int value="0" label="Cleanup Skipped (New User)"/>
  <int value="1" label="Cleanup Triggered"/>
  <int value="2" label="Cleanup Completed Success"/>
  <int value="3" label="Cleanup Completed Failure"/>
  <int value="4" label="Refetch Triggered"/>
  <int value="5" label="Refetch Completed Success"/>
  <int value="6" label="Refetch Completed Failure"/>
</enum>

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

<enum name="OmniboxPositionType">
  <int value="0" label="Top"/>
  <int value="1" label="Bottom"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/omnibox/model/omnibox_position/omnibox_position_browser_agent.mm:OmniboxPositionType) -->

<enum name="PageLoadedSnapshotResult">
  <int value="0" label="Snapshot not attempted, page load failed">
    Snapshot was not attempted because the page load failed and would result in
    a stale snapshot.
  </int>
  <int value="1" label="Snapshot was attempted, but the snapshot failed."/>
  <int value="2" label="Snapshot was successfully taken."/>
</enum>

<enum name="PartialTranslateOutcome">
  <int value="0" label="Partial Translate success"/>
  <int value="1" label="Selection too long, user cancelled"/>
  <int value="2" label="Selection too long, user pressed full translate"/>
  <int value="3" label="Selection empty, user cancelled"/>
  <int value="4" label="Selection empty, user pressed full translate"/>
  <int value="5" label="Partial translate failed, user cancelled"/>
  <int value="6" label="Partial translate failed, user pressed full translate"/>
</enum>

<enum name="PasswordSuggestionBottomSheetExitReason">
  <int value="0" label="Bottom Sheet dismissed"/>
  <int value="1" label="Used password suggestion"/>
  <int value="2" label="Accessed Password Manager through the long press menu"/>
  <int value="3" label="Accessed Password Details through the long press menu"/>
  <int value="4" label="The suggestion provider's type was incorrect"/>
  <int value="5"
      label="Bottom Sheet couldn't be presented for various reasons"/>
</enum>

<enum name="PaymentsSuggestionBottomSheetExitReason">
  <int value="0" label="Bottom Sheet dismissed"/>
  <int value="1" label="Used payment suggestion"/>
  <int value="2" label="Accessed Payment Methods through the long press menu"/>
  <int value="3" label="Accessed Payment Details through the long press menu"/>
  <int value="4" label="The suggestion provider's type was incorrect"/>
  <int value="5"
      label="Bottom Sheet couldn't be presented for various reasons"/>
</enum>

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

<enum name="PictureInPictureAppRestoration">
  <int value="0"
      label="Manual App Restoration (e.g. app switcher, home screen...)"/>
  <int value="1" label="Picture in Picture Fullscreen Button"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/picture_in_picture/public/picture_in_picture_constants.h:PictureInPictureAppRestoration) -->

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

<enum name="PictureInPictureDismissalReason">
  <int value="0" label="Not Supported"/>
  <int value="1" label="Manual App Restoration"/>
  <int value="2" label="In-App Close Button"/>
  <int value="3" label="In-App Swipe to Close"/>
  <int value="4" label="Picture in Picture Close Button"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/picture_in_picture/public/picture_in_picture_constants.h:PictureInPictureDismissalReason) -->

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

<enum name="ProfileNotificationRequestCreationFailureReason">
  <int value="0" label="Invalid Profile Name"/>
  <int value="1" label="Invalid Time Interval"/>
  <int value="2" label="Invalid Client Identifier"/>
  <int value="3" label="Invalid Source Content Provided"/>
  <int value="4" label="Content MutableCopy Failed"/>
  <int value="5" label="Trigger Creation Failed"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/push_notification/model/constants.h:ProfileNotificationRequestCreationFailureReason) -->

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

<enum name="PromoStyleSheetAction">
  <int value="1" label="Primary Button"/>
  <int value="2" label="Secondary Button"/>
  <int value="3" label="Tertiary Button"/>
  <int value="4" label="Dismiss Button"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/common/ui/promo_style/constants.h:PromoStyleSheetAction) -->

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

<enum name="PromoWithTrustedVaultKeyRetrievalAction">
  <int value="0" label="Displayed"/>
  <int value="1" label="Acted upon"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/settings/ui_bundled/password/passwords_table_view_constants.h:PromoWithTrustedVaultKeyRetrievalAction) -->

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

<enum name="PushNotificationClientId">
  <int value="1" label="Commerce"/>
  <int value="2" label="Content"/>
  <int value="3" label="Tips"/>
  <int value="4" label="Sports"/>
  <int value="5" label="Safety Check"/>
  <int value="6" label="Send Tab"/>
  <int value="7" label="Reminders"/>
  <int value="8" label="Cross-Platform Promos"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/push_notification/model/push_notification_client_id.h:PushNotificationClientId) -->

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

<enum name="PushNotificationClientManagerFailurePoint">
  <int value="0" label="Will Present Notification"/>
  <int value="1" label="Did Register With APNS"/>
  <int value="2" label="App Did Enter Foreground"/>
<!-- DEPRECATED: This failure point is no longer used as the code path
  that logged it has been removed. -->

  <int value="3" label="Handle Notification Response (Deprecated)"/>
  <int value="4" label="Will Process Incoming Remote Notification"/>
  <int value="5" label="GetClientManager: Null Profile Input"/>
  <int value="6" label="GetClientManager: Missing Profile Service"/>
  <int value="7" label="GetClientManager: Failed To Get Profile Name"/>
  <int value="8" label="GetClientManager: Profile Not Found By Name"/>
  <int value="9" label="GetProfileName: Empty Name Provided"/>
  <int value="10" label="GetProfileName: Direct Name Not Found In Storage"/>
  <int value="11" label="Continuation: Missing Client Manager"/>
  <int value="12" label="HandleInteraction: Invalid Profile Name"/>
  <int value="13" label="HandleInteraction: Missing Target Scene">
    Indicates the system had to fall back to the foreground active scene because
    the notification's specific target scene couldn't be found. Unlike most
    other entries in this enum, this represents a non-critical fallback scenario
    recorded for monitoring, rather than a failure preventing interaction
    handling.
  </int>
  <int value="14" label="HandleInteraction: Missing Fallback Scene"/>
  <int value="15" label="GetTargetScene: Response Scene Nil"/>
  <int value="16" label="GetProfileName: Missing or Empty Gaia ID"/>
  <int value="17" label="GetProfileName: Gaia ID Not Mapped"/>
  <int value="18" label="GetProfileName: Mapped Name Not Found In Storage"/>
  <int value="19" label="GetClientManager: Profile Load Failed"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/push_notification/model/constants.h:PushNotificationClientManagerFailurePoint) -->

<enum name="PushNotificationLifecycleEvent">
  <int value="0" label="Notification received on device"/>
  <int value="1"
      label="Notification presented on device while is in foreground"/>
  <int value="2" label="User tapped on notification"/>
</enum>

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

<enum name="PushNotificationOptInAccessPoint">
  <int value="1" label="Tips"/>
  <int value="2" label="SetUpList"/>
  <int value="3" label="SendTabMagicStackPromo"/>
  <int value="4" label="SafetyCheck"/>
  <int value="5" label="Feed"/>
  <int value="6" label="Settings"/>
  <int value="7" label="PriceTrackingMagicStackPromo"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/push_notification/model/constants.h:NotificationOptInAccessPoint) -->

<enum name="PushNotificationPermissionPromptStatus">
  <int value="0" label="Accepted"/>
  <int value="1" label="Declined"/>
  <int value="2" label="Error"/>
</enum>

<enum name="PushNotificationPermissionProvisionalStatus">
  <int value="0" label="Accepted"/>
  <int value="1" label="Notifications previously authorized or ineligible"/>
  <int value="2" label="Error"/>
</enum>

<enum name="PushNotificationSettingsAuthorizationStatus">
  <int value="0" label="Not Determined"/>
  <int value="1" label="Denied"/>
  <int value="2" label="Authorized"/>
  <int value="3" label="Provisional"/>
  <int value="4" label="Ephemeral"/>
  <int value="5" label="Invalid"/>
</enum>

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

<enum name="PushNotificationTargetProfileHandlingResult">
  <summary>
    Records the outcome of handling a push notification interaction in a
    multi-profile environment. Tracks whether the correct target Profile handled
    the interaction, either because it was already active or because a profile
    switch was initiated. Recorded in
    IOS.PushNotification.MultiProfile.PushNotificationTargetProfileHandlingResult.
  </summary>
  <int value="0" label="CorrectProfileActive">
    Success: The notification's target Profile was already the active Profile in
    the target UI scene.
  </int>
  <int value="1" label="SwitchEnsuredCorrectProfile">
    Success: The notification's target Profile was not the active Profile; a
    profile switch was initiated.
  </int>
  <int value="2" label="ProfileUnidentifiable">
    The originating Profile could not be determined from the notification's
    metadata.
  </int>
  <int value="3" label="FailureSceneUnavailable">
    Failure: No suitable UI scene could be found to handle the interaction.
  </int>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/push_notification/model/constants.h:PushNotificationTargetProfileHandlingResult) -->

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

<enum name="ReaderModeAccessPoint">
  <int value="0" label="Contextual Chip"/>
  <int value="1" label="Tools Menu"/>
  <int value="2" label="AI Hub"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeAccessPoint) -->

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

<enum name="ReaderModeAccessPointWithMode">
  <int value="0" label="Contextual Chip in Regular"/>
  <int value="1" label="Contextual Chip in Incognito"/>
  <int value="2" label="Tools Menu in Regular"/>
  <int value="3" label="Tools Menu in Incognito"/>
  <int value="4" label="AI Hub in Regular"/>
  <int value="5" label="AI Hub in Incognito"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeAccessPointWithMode) -->

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

<enum name="ReaderModeCustomizationType">
  <int value="0" label="Font scale"/>
  <int value="1" label="Font family"/>
  <int value="2" label="Theme"/>
  <int value="3" label="Enable/Disable Links"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeCustomizationType) -->

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

<enum name="ReaderModeDeactivationReason">
  <int value="0" label="Explicit UI action"/>
  <int value="1" label="Navigation"/>
  <int value="2" label="Distillation failure"/>
  <int value="3" label="Host tab destroyed"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeDeactivationReason) -->

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

<enum name="ReaderModeDistillerOutcome">
  <int value="0" label="Contextual Chip / Distillable"/>
  <int value="1" label="Contextual Chip / Not distillable"/>
  <int value="2" label="Tools Menu / Distillable"/>
  <int value="3" label="Tools Menu / Not distillable"/>
  <int value="4" label="AI Hub / Distillable"/>
  <int value="5" label="AI Hub / Not distillable"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeDistillerOutcome) -->

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

<enum name="ReaderModeDistillerResult">
  <int value="0" label="Not distillable"/>
  <int value="1" label="Distillable"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeDistillerResult) -->

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

<enum name="ReaderModeFontFamily">
  <int value="0" label="Sans Serif"/>
  <int value="1" label="Serif"/>
  <int value="2" label="Monospace"/>
  <int value="3" label="Lexend"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeFontFamily) -->

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

<enum name="ReaderModeHeuristicClassification">
  <int value="0" label="Correct match: Page not eligible with empty distill"/>
  <int value="1"
      label="Incorrect match: Page not eligible with populated distill"/>
  <int value="2" label="Incorrect match: Page eligible with empty distill"/>
  <int value="3" label="Correct match: Page eligible with populated distill"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeHeuristicClassification) -->

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

<enum name="ReaderModeHeuristicResult">
  <int value="0" label="Malformed Response"/>
  <int value="1" label="Eligible"/>
  <int value="2" label="Not eligible (content only)"/>
  <int value="3" label="Not eligible (length only)"/>
  <int value="4" label="Not eligible (content and length)"/>
  <int value="5" label="Not eligible (optimization guide ineligible)"/>
  <int value="6" label="Not eligible (optimization guide unknown)"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeHeuristicResult) -->

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

<enum name="ReaderModeState">
  <int value="0" label="Heuristic Canceled"/>
  <int value="1" label="Heuristic Started"/>
  <int value="2" label="Heuristic Completed"/>
  <int value="3" label="Distillation Started"/>
  <int value="4" label="Distillation Completed"/>
  <int value="5" label="Reader shown"/>
  <int value="6" label="Distillation Canceled"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeState) -->

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

<enum name="ReaderModeTheme">
  <int value="0" label="Light"/>
  <int value="1" label="Dark"/>
  <int value="2" label="Sepia"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeTheme) -->

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

<enum name="ReaderModeTranslationPageEventState">
  <int value="0" label="Source untranslated, Reading Mode untranslated"/>
  <int value="1" label="Source untranslated, Reading Mode translated"/>
  <int value="2" label="Source manually translated, Reading Mode translated"/>
  <int value="3"
      label="Source manually translated, Reading Mode translated new language"/>
  <int value="4" label="Source manually translated, Reading Mode untranslated"/>
  <int value="5" label="Source auto-translated, Reading Mode translated"/>
  <int value="6"
      label="Source auto-translated, Reading Mode translated new language"/>
  <int value="7" label="Source auto-translated, Reading Mode untranslated"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/reader_mode/model/constants.h:ReaderModeTranslationPageEventState) -->

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

<enum name="SafariDataImportEntryPointAction">
  <int value="0" label="Dismiss">
    Dismisses it by tapping on the top-right X button
  </int>
  <int value="1" label="Import">Starts the import process</int>
  <int value="2" label="Remind Me Later">
    Snoozes it by tapping &quot;remind me later&quot;
  </int>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/safari_data_import/public/metrics.h:SafariDataImportEntryPointAction) -->

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

<enum name="SafariDataImportExportEducationAction">
  <int value="0" label="Cancel">Dismiss the workflow</int>
  <int value="1" label="Go to Settings">
    Go to iOS settings and export from Safari
  </int>
  <int value="2" label="I've exported my data">Continues to import</int>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/safari_data_import/public/metrics.h:SafariDataImportExportEducationAction) -->

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

<enum name="SafariDataImportStage">
  <int value="0" label="not started">
    user has not selected a file for import
  </int>
  <int value="1" label="file loading">selecting or preprocessing zip file</int>
  <int value="2" label="ready to import"/>
  <int value="3" label="importing">
    user should not be able to exit from this stage
  </int>
  <int value="4" label="import complete"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/safari_data_import/public/safari_data_import_stage.h:SafariDataImportStage) -->

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

<enum name="ScanCardOfferToSaveAction">
  <int value="0" label="Ignore"/>
  <int value="1" label="Accept"/>
  <int value="2" label="Reject"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/autofill/scan_save_and_fill/ui/payments_scan_save_and_fill_edit_view_controller.h:ScanCardOfferToSaveAction) -->

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

<enum name="ScanCardSuggestionBottomSheetExitReason">
  <int value="0" label="Ignore"/>
  <int value="1" label="Accept Suggestion"/>
  <int value="2" label="Reject Suggestion"/>
  <int value="3" label="Could Not Present"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/autofill/scan_save_and_fill/coordinator/payments_scan_save_and_fill_offer_bottom_sheet_mediator.h:ScanCardSuggestionBottomSheetExitReason) -->

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

<enum name="SyncedSetUpAppliedPref">
  <int value="0" label="OmniboxPosition"/>
  <int value="1" label="MagicStackHomeModule"/>
  <int value="2" label="MostVisitedHomeModule"/>
  <int value="3" label="PriceTrackingHomeModule"/>
  <int value="4" label="SafetyCheckHomeModule"/>
  <int value="5" label="TabResumptionHomeModule"/>
  <int value="6" label="TipsHomeModule"/>
  <int value="7" label="Unknown"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/synced_set_up/public/synced_set_up_metrics.h:SyncedSetUpAppliedPref) -->

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

<enum name="SyncedSetUpRemotePrefDifference">
  <int value="0" label="NoDifference">
    No differences were found between remote prefs and the local device.
  </int>
  <int value="1" label="ProfilePrefsDiffered">
    Only remote profile prefs differed from the local device.
  </int>
  <int value="2" label="LocalStatePrefsDiffered">
    Only remote local-state prefs differed from the local device.
  </int>
  <int value="3" label="BothPrefsDiffered">
    Both remote profile and remote local-state prefs differed from the local
    device.
  </int>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/synced_set_up/coordinator/synced_set_up_mediator.mm:SyncedSetUpRemotePrefDifference) -->

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

<enum name="SyncedSetUpSnackbarInteraction">
  <int value="0" label="ShownSuggestion">
    The initial suggestion snackbar (offering to apply changes) was shown.
  </int>
  <int value="1" label="ClickedApply">
    User clicked &quot;Apply&quot; on the suggestion snackbar.
  </int>
  <int value="2" label="DismissedSuggestion">
    The suggestion snackbar timed out (user ignored).
  </int>
  <int value="3" label="ShownAppliedConfirmation">
    The &quot;Applied&quot; confirmation (with &quot;Undo&quot; button) was
    shown.
  </int>
  <int value="4" label="ClickedUndo">
    User clicked &quot;Undo&quot; on the applied confirmation.
  </int>
  <int value="5" label="DismissedAppliedConfirmation">
    The &quot;Applied&quot; confirmation timed out (user accepted the change).
  </int>
  <int value="6" label="ShownUndoneConfirmation">
    The &quot;Undone&quot; confirmation (with &quot;Redo&quot; button) was
    shown.
  </int>
  <int value="7" label="ClickedRedo">
    User clicked &quot;Redo&quot; on the undone confirmation.
  </int>
  <int value="8" label="DismissedUndoneConfirmation">
    The &quot;Undone&quot; confirmation timed out (user accepted the reversion).
  </int>
</enum>

<!-- LINT.ThenChange(//ios/chrome/browser/synced_set_up/public/synced_set_up_metrics.h:SyncedSetUpSnackbarInteraction) -->

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

<enum name="SyncedSetUpTriggerSource">
  <int value="0" label="PostFirstRun">
    Triggered as part of the Post-First Run Experience.
  </int>
  <int value="1" label="RemotePrefChange">
    Triggered by a remote pref change notification from Sync.
  </int>
  <int value="2" label="SceneActivation">
    Triggered by a scene becoming foreground active.
  </int>
  <int value="3" label="ServiceStatusChange">
    Triggered by the CrossDevicePrefTracker becoming available.
  </int>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/synced_set_up/public/synced_set_up_metrics.h:SyncedSetUpTriggerSource) -->

<enum name="TextSelectionDetectedEntityType">
  <int value="0" label="Unknown"/>
  <int value="1" label="None"/>
  <int value="2" label="Datetime"/>
  <int value="3" label="Address"/>
  <int value="4" label="Phone number"/>
  <int value="5" label="Email"/>
  <int value="6" label="ParcelTracking"/>
  <int value="7" label="Measurement"/>
</enum>

<enum name="TrendingQueryIndex">
  <summary>
    Index of a trending query view on the new tab page. This is only an enum so
    that the dashboard won't produce misleading statistics like averages.
  </summary>
  <int value="0" label="0"/>
  <int value="1" label="1"/>
  <int value="2" label="2"/>
  <int value="3" label="3"/>
  <int value="4" label="kMaxValue"/>
</enum>

<enum name="UnitChangeTypes">
  <int value="0" label="Unchanged"/>
  <int value="1" label="Imperial Area"/>
  <int value="2" label="Metric Area"/>
  <int value="3" label="Imperial Information Storage"/>
  <int value="4" label="Metric Information Storage"/>
  <int value="5" label="Imperial Length"/>
  <int value="6" label="Metric Length"/>
  <int value="7" label="Imperial Mass"/>
  <int value="8" label="Metric Mass"/>
  <int value="9" label="Imperial Speed"/>
  <int value="10" label="Metric Speed"/>
  <int value="11" label="Imperial Temperature"/>
  <int value="12" label="Metric Temperature"/>
  <int value="13" label="Imperial Volume"/>
  <int value="14" label="Metric Volume"/>
</enum>

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

<enum name="UserFeedbackSender">
  <int value="0" label="ToolsMenu"/>
  <int value="1" label="SadTab"/>
  <int value="2" label="Feed"/>
  <int value="3" label="KeyCommand"/>
  <int value="4" label="MiniMap"/>
  <int value="5" label="ParcelTracking"/>
  <int value="6" label="UnitConversion"/>
  <int value="7" label="ContentNotification"/>
</enum>

<!-- LINT.ThenChange(/ios/public/provider/chrome/browser/user_feedback/user_feedback_sender.h:UserFeedbackSender) -->

<enum name="VariationsFirstRunSeedApplicationStage">
  <int value="0" label="Seed missing">
    No seed in native variations seed store
  </int>
  <int value="1" label="Seed stored">
    Seed stored in native variations seed store
  </int>
  <int value="2" label="Seed imported">
    Variations service imported seed from native variations seed store
  </int>
  <int value="3" label="Seed used">Seed is applied by variations service</int>
</enum>

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

<enum name="WebUIMojoActions">
  <int value="0" label="Success">
    A Mojo message was processed successfully.
  </int>
  <int value="1" label="Failure">
    An error occurred while processing a Mojo message.
  </int>
</enum>

<!-- LINT.ThenChange(/ios/web/webui/web_ui_metrics.h:WebUIMojoActions) -->

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

<enum name="WelcomeBackPromoRegistrationResult">
  <int value="0" label="Success"/>
  <int value="1" label="Failure_TimeSinceActiveLimitNotMet"/>
  <int value="2" label="Failure_MinEligibleFeaturesNotMet"/>
  <int value="3" label="Failure_SessionEndTimeNil"/>
  <int value="4" label="Failure_FirstRun"/>
  <int value="5" label="Failure_TrackerInitialization"/>
  <int value="6" label="Failure_NotResurrectedUser"/>
</enum>

<!-- LINT.ThenChange(/ios/chrome/browser/welcome_back/metrics/welcome_back_metrics.h:WelcomeBackPromoRegistrationResult) -->

<enum name="WhatsNewType">
  <int value="-1" label="Error"/>
  <int value="0" label="Search Tabs"/>
  <int value="1" label="New Overflow Menu"/>
  <int value="2" label="Shared Highlighting"/>
  <int value="3" label="Add Password Manually"/>
  <int value="4" label="Use Chrome By Default"/>
  <int value="5" label="Passwords In Ither Apps"/>
  <int value="6" label="Autofill"/>
  <int value="7" label="Incognito Tabs From Other Apps"/>
  <int value="8" label="Incognito Lock"/>
  <int value="9" label="Calendar Event"/>
  <int value="10" label="Chrome Actions"/>
  <int value="11" label="Mini Maps"/>
  <int value="12" label="Lens Search"/>
  <int value="13" label="Bottom Omnibox"/>
  <int value="14" label="Enhanced Safe Browsing"/>
  <int value="15" label="Password Manager Widget"/>
  <int value="16" label="Pinned Tabs"/>
  <int value="17" label="Inactive Tabs"/>
  <int value="18" label="Package Tracking"/>
  <int value="19" label="Password Sharing"/>
  <int value="20" label="Customizable Overflow Menu"/>
  <int value="21" label="Docking Bling"/>
  <int value="22" label="Price Tracking"/>
  <int value="23" label="Price History"/>
  <int value="24" label="Other Buying Options"/>
  <int value="25" label="Lens Search What You See"/>
  <int value="26" label="Lens Translate"/>
  <int value="27" label="Lens Question"/>
  <int value="28" label="Passkeys"/>
  <int value="29" label="Choose From Drive"/>
  <int value="30" label="Save To Drive"/>
  <int value="31" label="Bling Enterprise Profiles"/>
</enum>

<enum name="WindowActivityOrigin">
  <int value="0" label="WindowActivityUnknownOrigin"/>
  <int value="1" label="WindowActivityExternalOrigin"/>
  <int value="2" label="WindowActivityRestoredOrigin"/>
  <int value="3" label="WindowActivityContextMenuOrigin"/>
  <int value="4" label="WindowActivityReadingListOrigin"/>
  <int value="5" label="WindowActivityBookmarksOrigin"/>
  <int value="6" label="WindowActivityHistoryOrigin"/>
  <int value="7" label="WindowActivityToolsOrigin"/>
  <int value="8" label="WindowActivityRecentTabsOrigin"/>
  <int value="9" label="WindowActivityLocationBarSteadyViewOrigin"/>
  <int value="10" label="WindowActivityContentSuggestionsOrigin"/>
  <int value="11" label="WindowActivityTabDragOrigin"/>
  <int value="12" label="WindowActivityKeyCommandOrigin"/>
</enum>

</enums>

</histogram-configuration>
