Boris, I'll leave it to you and the team to tackle the remaining work here. I updated one of the reasons (comment 6) but the rest are still USER_CLICKED_...
As of https://chromium-review.googlesource.com/c/chromium/src/+/1175797/, the "reason" for sign-out becomes critical to deciding whether sign-out is allowed (i.e. not prohibited by policy). Sign-outs that user USER_CLICKED_... as a reason will appear as user-initiated and may end up disallowed.
In practice this is not a behavior change for android. It was historically the case that IsSignoutProhibited() potentially prohibited *all* sign-outs regardless of reason, so the fact that android uses USER_CLICKED_... almost everywhere just maintains the status quo. But Android may have non-user-initated signouts that should be allowed (similar to the ACCOUNT_REMOVED_FROM_DEVICE sign-out in comment 6).
Additionally, using the right reason is desirable from a metrics pov.
Comment 1 by chcunningham@chromium.org
, Aug 10Status: Started (was: Untriaged)