• Fergus Dall's avatar
    Disaggregate reporting on users canceling crostini installation · 1f1be08c
    Fergus Dall authored
    We want to know when during the installation process users are canceling
    
    This CL adds a new bucket to the histogram for each cancelable state
    of the installation process. Currently, it maps from install state to
    reporting bucket by doing arithmetic on enum values. I'm not sure this
    is the best way to do this, since it's vulnerable to us changing the
    numbering of install states in the future. The alternative would be to
    add a static map to the class from State to SetupResult.
    
    Bug: 703927
    Change-Id: I7ac2fd19b3370f2c46a7cd4bfe9be78b63f31612
    Reviewed-on: https://chromium-review.googlesource.com/c/1331094Reviewed-by: default avatarNicholas Verne <nverne@chromium.org>
    Commit-Queue: Fergus Dall <sidereal@google.com>
    Cr-Commit-Position: refs/heads/master@{#607465}
    1f1be08c
crostini_installer_view.cc 25 KB