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

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
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_metrics.h
===================================================================
--- chrome/browser/profiles/profile_metrics.h (revision 112997)
+++ chrome/browser/profiles/profile_metrics.h (working copy)
@@ -14,37 +14,6 @@
class ProfileMetrics {
public:
- enum ProfileAvatar {
- AVATAR_GENERIC = 0, // The names for avatar icons
- AVATAR_GENERIC_AQUA,
- AVATAR_GENERIC_BLUE,
- AVATAR_GENERIC_GREEN,
- AVATAR_GENERIC_ORANGE,
- AVATAR_GENERIC_PURPLE,
- AVATAR_GENERIC_RED,
- AVATAR_GENERIC_YELLOW,
- AVATAR_SECRET_AGENT,
- AVATAR_SUPERHERO,
- AVATAR_VOLLEYBALL,
- AVATAR_BUSINESSMAN,
- AVATAR_NINJA,
- AVATAR_ALIEN,
- AVATAR_AWESOME,
- AVATAR_FLOWER,
- AVATAR_PIZZA,
- AVATAR_SOCCER,
- AVATAR_BURGER,
- AVATAR_CAT,
- AVATAR_CUPCAKE,
- AVATAR_DOG,
- AVATAR_HORSE,
- AVATAR_MARGARITA,
- AVATAR_NOTE,
- AVATAR_SUN_CLOUD,
- AVATAR_UNKNOWN,
- NUM_PROFILE_AVATAR_METRICS
- };
-
// Enum for counting the ways users were added.
enum ProfileAdd {
ADD_NEW_USER_ICON = 0, // User adds new user from icon menu
@@ -86,6 +55,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
+ NUM_PROFILE_GAIA_METRICS
+ };
+
static void LogProfileAvatarSelection(size_t icon_index);
static void LogProfileOpenMethod(ProfileOpen metric);
static void LogProfileAddNewUser(ProfileAdd metric);
@@ -94,6 +69,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698