Chromium Code Reviews| Index: chrome/browser/profiles/profile_metrics.h |
| diff --git a/chrome/browser/profiles/profile_metrics.h b/chrome/browser/profiles/profile_metrics.h |
| index f31eb104fd5d157d9bedeec29733def713a15290..327cc32d483650555365c057aff95b44571f3c6b 100644 |
| --- a/chrome/browser/profiles/profile_metrics.h |
| +++ b/chrome/browser/profiles/profile_metrics.h |
| @@ -80,6 +80,15 @@ class ProfileMetrics { |
| NUM_PROFILE_AUTH_METRICS |
| }; |
| + // Enum for tracking whether Mirror is enabled and Promo views. |
| + enum ProfileEnrollment { |
| + PROMO_DISPLAY, // The Mirror Promo was displayed |
| + PROMO_ACCEPT, // Mirror was enabled via the Promo |
| + PROMO_DISMISS, // The Promo was dismissed |
| + MIRROR_DISABLE, // Mirror was disabled after having been enabled |
| + NUM_PROFILE_ENROLLMENT_METRICS |
| + }; |
|
guohui
2014/04/16 15:47:45
mirror promo is not dismiss-able at the moment ...
Mike Lerman
2014/04/24 15:14:16
I've renamed these. I know Mirror isn't disable-ab
|
| + |
| static void UpdateReportedProfilesStatistics(ProfileManager* manager); |
| static void LogNumberOfProfiles(ProfileManager* manager); |
| @@ -91,6 +100,7 @@ class ProfileMetrics { |
| static void LogProfileSwitchUser(ProfileOpen metric); |
| static void LogProfileSyncInfo(ProfileSync metric); |
| static void LogProfileAuthResult(ProfileAuth metric); |
| + static void LogProfileMirrorEnrollment(ProfileEnrollment metric); |
| // These functions should only be called on the UI thread because they hook |
| // into g_browser_process through a helper function. |