| Index: chrome/browser/profiles/profile_metrics.h
|
| diff --git a/chrome/browser/profiles/profile_metrics.h b/chrome/browser/profiles/profile_metrics.h
|
| index 99ec02f48e18deb967f03a20d3e358fd3635eea7..30fcc678506479fc72be9ff09cd94b3133981cb0 100644
|
| --- a/chrome/browser/profiles/profile_metrics.h
|
| +++ b/chrome/browser/profiles/profile_metrics.h
|
| @@ -143,6 +143,47 @@ class ProfileMetrics {
|
| };
|
| #endif // defined(OS_ANDROID)
|
|
|
| + // Enum for tracking user interactions with the signin bubble that appears
|
| + // in the New Avatar Menu upon signin. This bubble appears after the user
|
| + // signs in using the Inline Signin flow.
|
| + enum ProfileDesktopSignin {
|
| + // User viewed the signin bubble after successfully using the inline signin.
|
| + PROFILE_DESKTOP_SIGNIN_VIEW = 0,
|
| + // User selected ok to dismiss the signin bubble.
|
| + PROFILE_DESKTOP_SIGNIN_OK,
|
| + // User opened the settings from the signin bubble.
|
| + PROFILE_DESKTOP_SIGNIN_SETTINGS,
|
| + NUM_PROFILE_DESKTOP_SIGNIN_METRICS,
|
| + };
|
| +
|
| + // Enum for tracking user interactions with the bubble that appears for signed
|
| + // in users in the new avatar menu on the first run.
|
| + enum ProfileNewAvatarMenuFRE {
|
| + // User views the upgrade bubble.
|
| + PROFILE_AVATAR_MENU_UPGRADE_VIEW,
|
| + // User dismissed the upgrade bubble.
|
| + PROFILE_AVATAR_MENU_UPGRADE_DISMISS,
|
| + // User selects 'What's New' in the upgrade bubble.
|
| + PROFILE_AVATAR_MENU_UPGRADE_WHATS_NEW,
|
| + // User selects 'Not You?' in the upgrade bubble.
|
| + PROFILE_AVATAR_MENU_UPGRADE_NOT_YOU,
|
| + NUM_PROFILE_AVATAR_MENU_UPGRADE_METRICS,
|
| + };
|
| +
|
| + // Enum for tracking user interactions with the Not You? bubble that users
|
| + // can navigate to from the Upgrade bubble during the first run.
|
| + enum ProfileNewAvatarMenuNotYou {
|
| + // User views the Not You? bubble.
|
| + PROFILE_AVATAR_MENU_NOT_YOU_VIEW,
|
| + // User selects back from within the Not You? bubble.
|
| + PROFILE_AVATAR_MENU_NOT_YOU_BACK,
|
| + // User adds a person from within the Not You? bubble.
|
| + PROFILE_AVATAR_MENU_NOT_YOU_ADD_PERSON,
|
| + // User chooses to disconnect (sign out) from within the Not You? bubble.
|
| + PROFILE_AVATAR_MENU_NOT_YOU_DISCONNECT,
|
| + NUM_PROFILE_AVATAR_MENU_NOT_YOU_METRICS,
|
| + };
|
| +
|
| static void UpdateReportedProfilesStatistics(ProfileManager* manager);
|
| // Count and return summary information about the profiles currently in the
|
| // |manager|. This information is returned in the output variable |counts|.
|
| @@ -161,6 +202,9 @@ class ProfileMetrics {
|
| static void LogProfileDesktopMenu(ProfileDesktopMenu metric,
|
| signin::GAIAServiceType gaia_service);
|
| static void LogProfileDelete(bool profile_was_signed_in);
|
| + static void LogProfileDesktopSignin(ProfileDesktopSignin metric);
|
| + static void LogProfileNewAvatarMenuFRE(ProfileNewAvatarMenuFRE metric);
|
| + static void LogProfileNewAvatarMenuNotYou(ProfileNewAvatarMenuNotYou metric);
|
|
|
| #if defined(OS_ANDROID)
|
| static void LogProfileAndroidAccountManagementMenu(
|
|
|