Index: chrome/browser/profiles/profile_metrics.h |
=================================================================== |
--- chrome/browser/profiles/profile_metrics.h (revision 112673) |
+++ chrome/browser/profiles/profile_metrics.h (working copy) |
@@ -25,7 +25,7 @@ |
AVATAR_GENERIC_YELLOW, |
AVATAR_SECRET_AGENT, |
AVATAR_SUPERHERO, |
- AVATAR_VOLLEYBALL, |
+ AVATAR_VOLLEYBALL, // 10 |
AVATAR_BUSINESSMAN, |
AVATAR_NINJA, |
AVATAR_ALIEN, |
@@ -35,13 +35,14 @@ |
AVATAR_SOCCER, |
AVATAR_BURGER, |
AVATAR_CAT, |
- AVATAR_CUPCAKE, |
+ AVATAR_CUPCAKE, // 20 |
AVATAR_DOG, |
AVATAR_HORSE, |
AVATAR_MARGARITA, |
AVATAR_NOTE, |
AVATAR_SUN_CLOUD, |
- AVATAR_UNKNOWN, |
+ AVATAR_UNKNOWN, // 26 |
+ AVATAR_GAIA, // 27 |
Ilya Sherman
2011/12/03 02:31:13
nit: I think the alignment is off-by-one for these
rpetterson
2011/12/05 20:27:14
Done.
|
NUM_PROFILE_AVATAR_METRICS |
}; |
Ilya Sherman
2011/12/03 02:31:13
nit: Hmm, I thought this enum got moved to the .cc
rpetterson
2011/12/05 20:27:14
It was always in the .h. But it now has a new home
|
@@ -86,6 +87,12 @@ |
NUM_PROFILE_TYPE_METRICS |
}; |
+ enum ProfileGaia { |
+ GAIA_OPT_IN = 0, // User changed to GAIA photo as avatar |
+ GAIA_OPT_OUT, // User changed to not use GAIA photo as avatar |
Ilya Sherman
2011/12/03 02:31:13
Hmm, is one of these the default, or are users som
rpetterson
2011/12/05 20:27:14
I understand what you're asking as I had the same
|
+ NUM_PROFILE_GAIA_METRICS |
+ }; |
+ |
static void LogProfileAvatarSelection(size_t icon_index); |
static void LogProfileOpenMethod(ProfileOpen metric); |
static void LogProfileAddNewUser(ProfileAdd metric); |
@@ -94,6 +101,7 @@ |
static void LogProfileSyncInfo(ProfileSync metric); |
static void LogProfileUpdate(FilePath& profile_path); |
static void LogProfileSyncSignIn(FilePath& profile_path); |
+ static void LogProfileSwitchGaia(ProfileGaia metric); |
}; |