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..180b9a7e5e6fbe74df469f5bef1279237995d7cf 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); |
noms (inactive)
2015/01/08 21:49:04
nit: I'm not sure I like this name. At first glanc
Mike Lerman
2015/01/09 02:15:04
It almost reads like English! Might make it compre
|
+ UMA_HISTOGRAM_COUNTS_100("Profile.NumberOfProfileAuthErrors", |
+ counts.auth_errors); |
LogLockedProfileInformation(manager); |
UpdateReportedOSProfileStatistics(counts.total, counts.signedin); |