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

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

Issue 8890054: Adding metrics to track browser launches per primary/secondary profile. Adding metrics to track n... (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 113419)
+++ chrome/browser/profiles/profile_metrics.h (working copy)
@@ -61,6 +61,12 @@
NUM_PROFILE_GAIA_METRICS
};
+ enum ProfileTime {
jar (doing other things) 2011/12/09 04:57:13 I'm confused by the name here. This has nothing t
Miranda Callahan 2011/12/09 14:01:02 Ditto -- I vote for "ProfileEvents", and the enum
rpetterson 2011/12/09 21:22:09 Yes, thanks, jar. These make a lot more sense are
+ TIME_STARTUP = 0,
+ TIME_ADD,
+ TIME_DELETE
+ };
+
static void LogProfileAvatarSelection(size_t icon_index);
static void LogProfileOpenMethod(ProfileOpen metric);
static void LogProfileAddNewUser(ProfileAdd metric);
@@ -70,6 +76,8 @@
static void LogProfileUpdate(FilePath& profile_path);
static void LogProfileSyncSignIn(FilePath& profile_path);
static void LogProfileSwitchGaia(ProfileGaia metric);
+ static void LogProfileLaunch(FilePath& profile_path);
+ static void LogNumberOfProfiles(ProfileTime startup);
Miranda Callahan 2011/12/09 14:01:02 Maybe this list should be in alpha-order so they'r
rpetterson 2011/12/09 21:22:09 :) All set. And rearranged to match in the .cc fil
};

Powered by Google App Engine
This is Rietveld 408576698