Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 77e572cd5cd9a4ce5d7c11a2510bb894bd0e55e9..cf1e092058a818a9475fe2feb5965ef66afa7492 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -73346,6 +73346,24 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="SoftwareReporter.Cleaner.CleanupResult" |
+ enum="SoftwareReporterCleanupResult"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ The final status of the Chrome Cleanup Tool run (e.g. succeeded, failed, |
+ reboot required). |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SoftwareReporter.Cleaner.DownloadStatus" |
+ enum="SoftwareReporterCleanerDownloadStatus"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ An indication if an attempt to download the Chrome Cleanup Tool succeeded |
+ or the reason why it failed. |
+ </summary> |
+</histogram> |
+ |
<histogram name="SoftwareReporter.Cleaner.HasCompleted" enum="SRTCompleted"> |
<owner>mad@chromium.org</owner> |
<summary> |
@@ -73363,6 +73381,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="SoftwareReporter.Cleaner.RebootResponse" enum="Boolean"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ Indicates that the user accepted to initiate a reboot to complete a run |
+ of the Chrome Cleanup Tool. This is logged the user starts a reboot from |
+ the cleanup card in the Settings page. We can't track when the reboot is |
+ not initiated, because it can happen at any moment in the future (there is |
+ no prompt blocking the user). |
+ </summary> |
+</histogram> |
+ |
<histogram name="SoftwareReporter.Cleaner.RunningTime" units="ms"> |
<owner>mad@chromium.org</owner> |
<summary>How long it took to run the software reporter cleaner tool.</summary> |
@@ -73373,6 +73402,31 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<summary>The build version of the software reporter cleaner tool.</summary> |
</histogram> |
+<histogram name="SoftwareReporter.CleanerLogsAcceptance" enum="Boolean"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ Whether the user accepted to upload logs from Chrome Cleanup Tool. This is |
+ logged when the user accepts the Chrome prompt to start a cleanup either from |
+ the prompt dialog or from the cleanup card in the Settings page. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SoftwareReporter.CleanupCard" enum="Boolean"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ Whether the Chrome Cleanup Tool card in the Settings page has been shown. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SoftwareReporter.CleanupStarted" |
+ enum="SoftwareReporterCleanupStarted"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ Indicates where the user started a cleanup from (e.g. from the prompt |
+ dialog or the settings page). |
+ </summary> |
+</histogram> |
+ |
<histogram name="SoftwareReporter.ExperimentErrors" |
enum="SoftwareReporterExperimentError"> |
<owner>joenotcharles@chromium.org</owner> |
@@ -73390,6 +73444,20 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="SoftwareReporter.IPCDisconnected" |
+ enum="SoftwareReporterIPCDisconnected"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ Indicates when the IPC with the Chrome Cleanup Tool process is disconnected |
+ from Chrome. Success is logged when it's disconnected and no longer needed |
+ (the user already responded to the prompt in Chrome or the cleaner process |
+ terminated normally); failures are logged when the IPC is disconnected, but |
+ communication between Chrome and the cleaner process is still required |
+ (e.g. while Chrome is waiting for scanning results or when the cleaner is |
+ waiting for the user's response from Chrome). |
+ </summary> |
+</histogram> |
+ |
<histogram name="SoftwareReporter.LastUploadResult" enum="BooleanSuccess"> |
<owner>mad@chromium.org</owner> |
<summary>The result of the most recent SRT log upload.</summary> |
@@ -73450,6 +73518,46 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="SoftwareReporter.NoPromptReason" |
+ enum="SoftwareReporterNoPromptReason"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ The reason why the user has not been prompted to run the Chrome Cleanup |
+ Tool (e.g. no unwanted software found, user recently prompted). |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SoftwareReporter.NumberOfFilesToDelete" units="counts"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ The number of files to be deleted by the Chrome Cleanup Tool. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SoftwareReporter.PostCleanupSettingsReset" units="counts"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ The number of profiles whose settings will be reset once a successful |
+ cleanup completes. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SoftwareReporter.PromptDialogResponse" |
+ enum="SoftwareReporterPromptDialogResponse"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ The user response on the modal Chrome Cleanup Tool prompt dialog |
+ (e.g. accepted, cancelled). |
+ </summary> |
+</histogram> |
+ |
+<histogram name="SoftwareReporter.PromptShown" enum="Boolean"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ Whether the user has been prompted to run the Chrome Cleanup Tool. |
+ </summary> |
+</histogram> |
+ |
<histogram name="SoftwareReporter.PromptUsage" enum="SRTPromptUsage"> |
<owner>mad@chromium.org</owner> |
<summary>Usage of the Software Removal Tool (SRT) Prompt.</summary> |
@@ -73488,6 +73596,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="SoftwareReporter.TaggedProfileForResetting" enum="Boolean"> |
+ <owner>ftirelo@chromium.org</owner> |
+ <summary> |
+ Registers when a profile is tagged for settings reset before a run of |
+ the Chrome Cleanup Tool. |
+ </summary> |
+</histogram> |
+ |
<histogram name="SoftwareReporter.UploadFailureCount"> |
<owner>mad@chromium.org</owner> |
<summary> |