Index: chrome/browser/profiles/profile_metrics.cc |
diff --git a/chrome/browser/profiles/profile_metrics.cc b/chrome/browser/profiles/profile_metrics.cc |
index 0804fd88b8de1a4f9306faa0cec4e890e09404e1..05ac76ba25a4d7c2be066981ab7a7d08eca3e059 100644 |
--- a/chrome/browser/profiles/profile_metrics.cc |
+++ b/chrome/browser/profiles/profile_metrics.cc |
@@ -139,6 +139,8 @@ bool ProfileMetrics::CountProfileInformation(ProfileManager* manager, |
counts->signedin++; |
if (info_cache.IsUsingGAIAPictureOfProfileAtIndex(i)) |
counts->gaia_icon++; |
+ if (info_cache.ProfileIsAuthErrorAtIndex(i)) |
+ counts->auth_errors++; |
} |
} |
} |
@@ -178,6 +180,8 @@ void ProfileMetrics::LogNumberOfProfiles(ProfileManager* manager) { |
counts.unused); |
UMA_HISTOGRAM_COUNTS_100("Profile.NumberOfSignedInProfilesWithGAIAIcons", |
counts.gaia_icon); |
+ UMA_HISTOGRAM_COUNTS_100("Profile.NumberOfProfilesWithAuthErrors", |
+ counts.auth_errors); |
LogLockedProfileInformation(manager); |
UpdateReportedOSProfileStatistics(counts.total, counts.signedin); |