<!--
Copyright 2023 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!--
This file describes the enumerations referenced by entries in histograms.xml for
this directory. Some enums may instead be listed in the central enums.xml file
at src/tools/metrics/histograms/enums.xml when multiple files use them.
For best practices on writing enumerations descriptions, see
https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md#Enum-Histograms
Please follow the instructions in the OWNERS file in this directory to find a
reviewer. If no OWNERS file exists, please consider signing up at
go/reviewing-metrics (Googlers only), as all subdirectories are expected to
have an OWNERS file. As a last resort you can send the CL to
[email protected].
-->
<histogram-configuration>
<!-- Enum types -->
<enums>
<enum name="GoogleUpdateErrorCode">
<int value="0" label="GOOGLE_UPDATE_NO_ERROR"/>
<int value="1" label="CANNOT_UPGRADE_CHROME_IN_THIS_DIRECTORY"/>
<int value="2" label="GOOGLE_UPDATE_JOB_SERVER_CREATION_FAILED (deprecated)"/>
<int value="3" label="GOOGLE_UPDATE_ONDEMAND_CLASS_NOT_FOUND"/>
<int value="4" label="GOOGLE_UPDATE_ONDEMAND_CLASS_REPORTED_ERROR"/>
<int value="5" label="GOOGLE_UPDATE_GET_RESULT_CALL_FAILED (deprecated)"/>
<int value="6" label="GOOGLE_UPDATE_GET_VERSION_INFO_FAILED (deprecated)"/>
<int value="7" label="GOOGLE_UPDATE_ERROR_UPDATING"/>
<int value="8" label="GOOGLE_UPDATE_DISABLED_BY_POLICY"/>
<int value="9" label="GOOGLE_UPDATE_DISABLED_BY_POLICY_AUTO_ONLY"/>
</enum>
<enum name="GoogleUpdateHashedCohortId">
<summary>
A hash of the update cohort id; a value of zero/none likely indicates no
cohort id, which suggests that the updater is broken or not present.
</summary>
<int value="0" label="None"/>
</enum>
<enum name="GoogleUpdateHashedCohortName">
<summary>
A hash of the update cohort name; a value of zero/none likely indicates no
cohort name, which suggests that the updater is broken or not present.
</summary>
<int value="0" label="None"/>
</enum>
<enum name="GoogleUpdateUpgradeStatus">
<int value="0" label="UPGRADE_STARTED (deprecated)"/>
<int value="1" label="UPGRADE_CHECK_STARTED (deprecated)"/>
<int value="2" label="UPGRADE_IS_AVAILABLE"/>
<int value="3" label="UPGRADE_SUCCESSFUL"/>
<int value="4" label="UPGRADE_ALREADY_UP_TO_DATE"/>
<int value="5" label="UPGRADE_ERROR"/>
</enum>
</enums>
</histogram-configuration>