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

Unified Diff: chrome/browser/ui/cocoa/profile_menu_controller.mm

Issue 8520024: Updating the UMA metrics for profiles to make them more readable. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/ui/cocoa/profile_menu_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/profile_menu_controller.mm (revision 110080)
+++ chrome/browser/ui/cocoa/profile_menu_controller.mm (working copy)
@@ -82,7 +82,7 @@
- (IBAction)switchToProfile:(id)sender {
model_->SwitchToProfile([sender tag]);
- ProfileMetrics::LogProfileOpenMethod(ProfileMetrics::SWITCH_PROFILE_MENU);
+ ProfileMetrics::LogProfileSwitchUser(ProfileMetrics::SWITCH_PROFILE_MENU);
}
- (IBAction)editProfile:(id)sender {
@@ -91,8 +91,7 @@
- (IBAction)newProfile:(id)sender {
model_->AddNewProfile();
- ProfileMetrics::LogProfileOpenMethod(ProfileMetrics::ADD_NEW_USER);
- ProfileMetrics::LogProfileOpenMethod(ProfileMetrics::ADD_NEW_USER_MENU);
+ ProfileMetrics::LogProfileAddNewUser(ProfileMetrics::ADD_NEW_USER_MENU);
}
// Private /////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698