Commit ec2a8dfe authored by Roman Sorokin's avatar Roman Sorokin Committed by Commit Bot

histograms: Retire MultiProfile.SigninUserUIPath

Fixed: 1105085
Change-Id: Id39e2ecdf4f2196c78c84b85bf6c0ab7ff051f0b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2299345Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
Reviewed-by: default avatarBrian White <bcwhite@chromium.org>
Commit-Queue: Brian White <bcwhite@chromium.org>
Auto-Submit: Roman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#789243}
parent 44d63178
...@@ -8,12 +8,6 @@ ...@@ -8,12 +8,6 @@
namespace ash { namespace ash {
// static
void MultiProfileUMA::RecordSigninUser(SigninUserAction action) {
UMA_HISTOGRAM_ENUMERATION("MultiProfile.SigninUserUIPath", action,
NUM_SIGNIN_USER_ACTIONS);
}
// static // static
void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) { void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) {
UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath", action, UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath", action,
......
...@@ -15,13 +15,6 @@ namespace ash { ...@@ -15,13 +15,6 @@ namespace ash {
// browser frame that is recorded by the "Profile.OpenMethod" metric. // browser frame that is recorded by the "Profile.OpenMethod" metric.
class ASH_EXPORT MultiProfileUMA { class ASH_EXPORT MultiProfileUMA {
public: public:
// Used for UMA metrics. Do not reorder.
enum SigninUserAction {
SIGNIN_USER_BY_TRAY = 0,
SIGNIN_USER_BY_BROWSER_FRAME, // Deprecated.
NUM_SIGNIN_USER_ACTIONS
};
// Used for UMA metrics. Do not reorder. // Used for UMA metrics. Do not reorder.
enum SwitchActiveUserAction { enum SwitchActiveUserAction {
SWITCH_ACTIVE_USER_BY_TRAY = 0, SWITCH_ACTIVE_USER_BY_TRAY = 0,
...@@ -29,9 +22,6 @@ class ASH_EXPORT MultiProfileUMA { ...@@ -29,9 +22,6 @@ class ASH_EXPORT MultiProfileUMA {
NUM_SWITCH_ACTIVE_USER_ACTIONS NUM_SWITCH_ACTIVE_USER_ACTIONS
}; };
// Record signing in a new user and what UI path was taken.
static void RecordSigninUser(SigninUserAction action);
// Record switching the active user and what UI path was taken. // Record switching the active user and what UI path was taken.
static void RecordSwitchActiveUser(SwitchActiveUserAction action); static void RecordSwitchActiveUser(SwitchActiveUserAction action);
......
...@@ -65,7 +65,6 @@ void UserChooserDetailedViewController::HandleUserSwitch(int user_index) { ...@@ -65,7 +65,6 @@ void UserChooserDetailedViewController::HandleUserSwitch(int user_index) {
} }
void UserChooserDetailedViewController::HandleAddUserAction() { void UserChooserDetailedViewController::HandleAddUserAction() {
MultiProfileUMA::RecordSigninUser(MultiProfileUMA::SIGNIN_USER_BY_TRAY);
tray_controller_->CloseBubble(); tray_controller_->CloseBubble();
Shell::Get()->session_controller()->ShowMultiProfileLogin(); Shell::Get()->session_controller()->ShowMultiProfileLogin();
// ShowMultiProfileLogin may delete us. // ShowMultiProfileLogin may delete us.
......
...@@ -89082,6 +89082,9 @@ reviews. Googlers can read more about this at go/gwsq-gerrit. ...@@ -89082,6 +89082,9 @@ reviews. Googlers can read more about this at go/gwsq-gerrit.
<histogram name="MultiProfile.SigninUserUIPath" <histogram name="MultiProfile.SigninUserUIPath"
enum="MultiProfileSigninUserAction" expires_after="2020-08-23"> enum="MultiProfileSigninUserAction" expires_after="2020-08-23">
<obsolete>
Retired in M86.
</obsolete>
<owner>skuhne@chromium.org</owner> <owner>skuhne@chromium.org</owner>
<summary> <summary>
Count the number of times each UI path is taken for signing into a new Count the number of times each UI path is taken for signing into a new
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