Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Unified Diff: chrome/browser/profiles/profile_metrics.h

Issue 8790010: Adding in metrics for GAIA photo info. Also, fixing avatar logging to only log when the user chan... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_metrics.cc » ('j') | chrome/browser/profiles/profile_metrics.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698