Commit 2ba8ed7d authored by Roman Aleksandrov's avatar Roman Aleksandrov Committed by Commit Bot

ProfileErrorDialog: Remove histogram.

Fixed: 1089331
Change-Id: I5dd544eead9c324747d8b83d062f1bb07a25dfba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2523184Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Reviewed-by: default avatarBrian White <bcwhite@chromium.org>
Commit-Queue: Roman Aleksandrov <raleksandrov@google.com>
Cr-Commit-Position: refs/heads/master@{#826756}
parent 816a8363
...@@ -48,8 +48,6 @@ void ShowProfileErrorDialog(ProfileErrorType type, ...@@ -48,8 +48,6 @@ void ShowProfileErrorDialog(ProfileErrorType type,
#if defined(OS_ANDROID) #if defined(OS_ANDROID)
NOTIMPLEMENTED(); NOTIMPLEMENTED();
#else // defined(OS_ANDROID) #else // defined(OS_ANDROID)
UMA_HISTOGRAM_ENUMERATION("Profile.ProfileError", static_cast<int>(type),
static_cast<int>(ProfileErrorType::END));
if (base::CommandLine::ForCurrentProcess()->HasSwitch( if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kNoErrorDialogs)) { switches::kNoErrorDialogs)) {
return; return;
......
...@@ -400,6 +400,9 @@ reviews. Googlers can read more about this at go/gwsq-gerrit. ...@@ -400,6 +400,9 @@ reviews. Googlers can read more about this at go/gwsq-gerrit.
<histogram name="Profile.ProfileError" enum="ProfileErrorType" <histogram name="Profile.ProfileError" enum="ProfileErrorType"
expires_after="M85"> expires_after="M85">
<obsolete>
Removed on 2020-11 (crbug.com/1089331).
</obsolete>
<owner>tnagel@chromium.org</owner> <owner>tnagel@chromium.org</owner>
<summary> <summary>
The error with the current user profile that caused an error dialog to be The error with the current user profile that caused an error dialog to be
......
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