Commit f0a4d384 authored by Thomas Tangl's avatar Thomas Tangl Committed by Commit Bot

[Dice] Record user action for signout button

Record user action for signout button in
user menu when the user is signed into
Chrome (not syncing) and Dice is enabled.

Bug: 891070
Change-Id: I3990093b7a59d047eff3ad07310c5c686c90e3ea
Reviewed-on: https://chromium-review.googlesource.com/1255626Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
Reviewed-by: default avatarSteven Holte <holte@chromium.org>
Commit-Queue: Thomas Tangl <tangltom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595639}
parent ec6d08fa
......@@ -751,6 +751,7 @@ void ProfileChooserView::ButtonPressed(views::Button* sender,
dice_accounts_menu_->Show(sender, sync_to_another_account_button_);
} else if (sender == signout_button_) {
SignOutAllWebAccounts();
base::RecordAction(base::UserMetricsAction("Signin_Signout_FromUserMenu"));
} else {
// Either one of the "other profiles", or one of the profile accounts
// buttons was pressed.
......
......@@ -17908,6 +17908,17 @@ should be able to be added at any place in this file.
</description>
</action>
<action name="Signin_Signout_FromUserMenu">
<owner>droger@chromium.org</owner>
<owner>msarda@chromium.org</owner>
<owner>tangltom@chromium.org</owner>
<description>
Recorded when the user is signed into Chrome, but not syncing, and clicks
the sign out button in the user menu. This is only recorded when Desktop
Identity Consistency is enabled.
</description>
</action>
<action name="Signin_Undo_Signin">
<owner>gogerald@chromium.org</owner>
<description>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment