Chromium Code Reviews| 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..9e35c036681b71b19ce4791a2c7187f6abe64d2c 100644 |
| --- a/chrome/browser/chromeos/arc/arc_optin_uma.cc |
| +++ b/chrome/browser/chromeos/arc/arc_optin_uma.cc |
| @@ -64,6 +64,12 @@ void UpdateAuthCheckinAttempts(int32_t num_attempts) { |
| UMA_HISTOGRAM_SPARSE_SLOWLY("ArcAuth.CheckinAttempts", num_attempts); |
| } |
| +void UpdateAuthAccountCheckStatus(AccountCheckStatus status) { |
| + UMA_HISTOGRAM_ENUMERATION("ArcAuth.AccountCheckStatus", |
| + static_cast<int>(status), |
| + static_cast<int>(AccountCheckStatus::SIZE)); |
|
dcheng
2017/03/25 00:55:04
Hmm... this doesn't work without the static cast?
khmel
2017/03/25 01:24:14
Thank for caring this case! I confirmed that this
|
| +} |
| + |
| void UpdateSilentAuthCodeUMA(OptInSilentAuthCode state) { |
| UMA_HISTOGRAM_ENUMERATION("Arc.OptInSilentAuthCode", static_cast<int>(state), |
| static_cast<int>(OptInSilentAuthCode::SIZE)); |