<!--
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="BorealisAudioPath">
<summary>
These values describe the audio path in Borealis VM. They are used for both
input and output.
</summary>
<int value="0" label="Proton - ALSA"/>
<int value="1" label="PulseAudio"/>
<int value="2" label="PipeWire"/>
</enum>
<enum name="BorealisInstallResult">
<int value="0" label="Success"/>
<int value="1" label="User cancelled installation"/>
<int value="2" label="Borealis is not allowed"/>
<int value="3" label="Installation already in progress"/>
<int value="4" label="DLC reported an internal error"/>
<int value="5" label="Borealis DLC is not supported"/>
<int value="6" label="DLC service is busy"/>
<int value="7"
label="Device has a pending update and needs to be restarted to use
Borealis DLC"/>
<int value="8" label="Device needs more space to use Borealis DLC"/>
<int value="9" label="DLC faced an unknown error"/>
<int value="10" label="Device is offline"/>
<int value="11" label="DLC couldn't find an image at the correct version"/>
<int value="12" label="Unable to first-time launch VM"/>
<int value="13" label="Main app never showed up"/>
</enum>
<enum name="BorealisLaunchSource">
<int value="0" label="Unknown"/>
<int value="1" label="chromeos-steam://install"/>
<int value="2" label="Unified App Installer"/>
<int value="3" label="Steam installer Launcher app"/>
<int value="4" label="insert_coin crosh command"/>
<int value="5" label="App uninstaller"/>
<int value="6" label="App URL handler"/>
<int value="7" label="Retry clicked on launch error dialog"/>
<int value="8" label="Launch button on successful install"/>
</enum>
<enum name="BorealisStartupResult">
<int value="0" label="Success"/>
<int value="1" label="Cancelled"/>
<int value="2" label="Failed mounting DLC"/>
<int value="3" label="Failed creating disk image"/>
<int value="4" label="Failed starting VM"/>
<int value="5" label="Failed awaiting startup"/>
<int value="6" label="Failed Syncing Disks"/>
<int value="7" label="Failed starting wayland server"/>
<int value="8" label="Disallowed"/>
<int value="9" label="DLC install was cancelled"/>
<int value="10" label="DLC failed because the device is offline"/>
<int value="11" label="DLC couldn't find an image at the correct version"/>
<int value="12"
label="Device has a pending update and needs to be restarted to use
Borealis DLC"/>
<int value="13" label="Device needs more space to use Borealis DLC"/>
<int value="14" label="DLC service is busy"/>
<int value="15" label="DLC reported an internal error"/>
<int value="16" label="Borealis DLC is not supported"/>
<int value="17" label="DLC faced an unknown error"/>
<int value="18" label="Concierge was unavailable"/>
<int value="19" label="Recieved an empty disk response from Concierge"/>
<int value="20" label="Recieved an empty startup response from Concierge"/>
</enum>
</enums>
</histogram-configuration>