| Index: chrome/browser/chromeos/arc/arc_optin_uma.cc
|
| diff --git a/chrome/browser/chromeos/arc/arc_optin_uma.cc b/chrome/browser/chromeos/arc/arc_optin_uma.cc
|
| index b52991a391af47a11c5d99cc826273855cf612c3..c1996cdecb827ffe2b8fa65c578425424607886d 100644
|
| --- a/chrome/browser/chromeos/arc/arc_optin_uma.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_optin_uma.cc
|
| @@ -64,6 +64,13 @@ void UpdateAuthCheckinAttempts(int32_t num_attempts) {
|
| UMA_HISTOGRAM_SPARSE_SLOWLY("ArcAuth.CheckinAttempts", num_attempts);
|
| }
|
|
|
| +void UpdateAuthAccountCheckStatus(mojom::AccountCheckStatus status) {
|
| + DCHECK(status < mojom::AccountCheckStatus::SIZE);
|
| + UMA_HISTOGRAM_ENUMERATION("ArcAuth.AccountCheckStatus",
|
| + static_cast<int>(status),
|
| + static_cast<int>(mojom::AccountCheckStatus::SIZE));
|
| +}
|
| +
|
| void UpdateSilentAuthCodeUMA(OptInSilentAuthCode state) {
|
| UMA_HISTOGRAM_ENUMERATION("Arc.OptInSilentAuthCode", static_cast<int>(state),
|
| static_cast<int>(OptInSilentAuthCode::SIZE));
|
|
|