| Index: chrome/browser/ui/views/profile_chooser_view.cc
|
| diff --git a/chrome/browser/ui/views/profile_chooser_view.cc b/chrome/browser/ui/views/profile_chooser_view.cc
|
| index a50e62de3d57ebe85ef0082b90ae583293440dc2..de5547638da136e481fecb0626de3176de4ae836 100644
|
| --- a/chrome/browser/ui/views/profile_chooser_view.cc
|
| +++ b/chrome/browser/ui/views/profile_chooser_view.cc
|
| @@ -523,6 +523,7 @@ void ProfileChooserView::ButtonPressed(views::Button* sender,
|
| if (sender == guest_button_) {
|
| profiles::SwitchToGuestProfile(browser_->host_desktop_type(),
|
| profiles::ProfileSwitchingDoneCallback());
|
| + ProfileMetrics::LogProfileSwitchUser(ProfileMetrics::SWITCH_PROFILE_GUEST);
|
| } else if (sender == end_guest_button_) {
|
| profiles::CloseGuestProfileWindows();
|
| } else if (sender == users_button_) {
|
| @@ -537,6 +538,7 @@ void ProfileChooserView::ButtonPressed(views::Button* sender,
|
| profiles::CreateAndSwitchToNewProfile(
|
| browser_->host_desktop_type(),
|
| profiles::ProfileSwitchingDoneCallback());
|
| + ProfileMetrics::LogProfileAddNewUser(ProfileMetrics::ADD_NEW_USER_ICON);
|
| } else if (sender == add_account_button_) {
|
| ShowView(GAIA_ADD_ACCOUNT_VIEW, avatar_menu_.get());
|
| } else if (sender == current_profile_photo_->change_photo_button()) {
|
| @@ -549,6 +551,7 @@ void ProfileChooserView::ButtonPressed(views::Button* sender,
|
| avatar_menu_->SwitchToProfile(
|
| match->second,
|
| ui::DispositionFromEventFlags(event.flags()) == NEW_WINDOW);
|
| + ProfileMetrics::LogProfileSwitchUser(ProfileMetrics::SWITCH_PROFILE_ICON);
|
| }
|
| }
|
|
|
|
|