| Index: chrome/browser/profiles/profile_metrics.cc
|
| diff --git a/chrome/browser/profiles/profile_metrics.cc b/chrome/browser/profiles/profile_metrics.cc
|
| index 6dfcf73c00b427620233ea57f637a11da634bcb7..6060db96803b84c42e09c1d123e5c9fc334fb4ac 100644
|
| --- a/chrome/browser/profiles/profile_metrics.cc
|
| +++ b/chrome/browser/profiles/profile_metrics.cc
|
| @@ -329,8 +329,11 @@ void ProfileMetrics::LogProfileDeleteUser(ProfileDelete metric) {
|
| DCHECK(metric < NUM_DELETE_PROFILE_METRICS);
|
| UMA_HISTOGRAM_ENUMERATION("Profile.DeleteProfileAction", metric,
|
| NUM_DELETE_PROFILE_METRICS);
|
| - UMA_HISTOGRAM_ENUMERATION("Profile.NetUserCount", PROFILE_DELETED,
|
| - NUM_PROFILE_NET_METRICS);
|
| + if (metric != DELETE_PROFILE_USER_MANAGER_SHOW_WARNING) {
|
| + // If a user was actually deleted, update the net user count.
|
| + UMA_HISTOGRAM_ENUMERATION("Profile.NetUserCount", PROFILE_DELETED,
|
| + NUM_PROFILE_NET_METRICS);
|
| + }
|
| }
|
|
|
| void ProfileMetrics::LogProfileOpenMethod(ProfileOpen metric) {
|
|
|