Index: chrome/browser/profiles/profile_metrics.cc |
diff --git a/chrome/browser/profiles/profile_metrics.cc b/chrome/browser/profiles/profile_metrics.cc |
index 63c5f19ff3b8aebc4ba6843d9a98fc5f125155f6..23fe917e74674379d0d628f3e0aa3b4475abc1f1 100644 |
--- a/chrome/browser/profiles/profile_metrics.cc |
+++ b/chrome/browser/profiles/profile_metrics.cc |
@@ -365,6 +365,26 @@ void ProfileMetrics::LogProfileDelete(bool profile_was_signed_in) { |
UMA_HISTOGRAM_BOOLEAN("Profile.Delete", profile_was_signed_in); |
} |
+void ProfileMetrics::LogProfileDesktopSignin(ProfileDesktopSignin metric) { |
+ DCHECK_LT(metric, NUM_PROFILE_DESKTOP_SIGNIN_METRICS); |
+ UMA_HISTOGRAM_ENUMERATION("Profile.NewAvatarMenu.Signin", metric, |
+ NUM_PROFILE_DESKTOP_SIGNIN_METRICS); |
+} |
+ |
+void ProfileMetrics::LogProfileNewAvatarMenuUpgrade( |
+ ProfileNewAvatarMenuUpgrade metric) { |
+ DCHECK_LT(metric, NUM_PROFILE_AVATAR_MENU_UPGRADE_METRICS); |
+ UMA_HISTOGRAM_ENUMERATION("Profile.NewAvatarMenu.Upgrade", metric, |
+ NUM_PROFILE_AVATAR_MENU_UPGRADE_METRICS); |
+} |
+ |
+void ProfileMetrics::LogProfileNewAvatarMenuNotYou( |
+ ProfileNewAvatarMenuNotYou metric) { |
+ DCHECK_LT(metric, NUM_PROFILE_AVATAR_MENU_NOT_YOU_METRICS); |
+ UMA_HISTOGRAM_ENUMERATION("Profile.NewAvatarMenu.NotYou", metric, |
+ NUM_PROFILE_AVATAR_MENU_NOT_YOU_METRICS); |
+} |
+ |
#if defined(OS_ANDROID) |
void ProfileMetrics::LogProfileAndroidAccountManagementMenu( |
ProfileAndroidAccountManagementMenu metric, |