| <!-- |
| Copyright 2020 The Chromium Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <!-- |
| This file is used to generate a comprehensive list of Download histograms |
| along with a detailed description for each histogram. |
| |
| For best practices on writing histogram descriptions, see |
| https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md |
| |
| Please follow the instructions in the OWNERS file in this directory to find a |
| reviewer. If no OWNERS file exists, please consider signing up at |
| go/reviewing-metrics (Googlers only), as all subdirectories are expected to |
| have an OWNERS file. As a last resort you can send the CL to |
| chromium-metrics-reviews@google.com. |
| --> |
| |
| <histogram-configuration> |
| |
| <histograms> |
| |
| <variants name="DownloadBubbleViewType"> |
| <variant name="Full"/> |
| <variant name="Partial"/> |
| </variants> |
| |
| <variants name="DownloadClient"> |
| <variant name="__Test__"/> |
| <variant name="BackgroundFetch"/> |
| <variant name="Bruschetta"/> |
| <variant name="Debugging"/> |
| <variant name="MountainInternal"/> |
| <variant name="OfflinePage"/> |
| <variant name="OptimizationGuidePredictionModels"/> |
| <variant name="PluginVmImage"/> |
| </variants> |
| |
| <variants name="DownloadDangerTypeString"> |
| <variant name="AllowlistedByPolicy"/> |
| <variant name="AsyncScanning"/> |
| <variant name="BlockedPasswordProtected"/> |
| <variant name="BlockedTooLarge"/> |
| <variant name="BlockedUnsupportedFiletype"/> |
| <variant name="DangerousAccountCompromise"/> |
| <variant name="DangerousContent"/> |
| <variant name="DangerousFile"/> |
| <variant name="DangerousHost"/> |
| <variant name="DangerousURL"/> |
| <variant name="DeepScannedOpenedDangerous"/> |
| <variant name="DeepScannedSafe"/> |
| <variant name="MaybeDangerousContent"/> |
| <variant name="NotDangerous"/> |
| <variant name="PotentiallyUnwanted"/> |
| <variant name="PromptForScanning"/> |
| <variant name="SensitiveContentBlock"/> |
| <variant name="SensitiveContentWarning"/> |
| <variant name="UncommonContent"/> |
| <variant name="UserValidated"/> |
| </variants> |
| |
| <histogram name="Download.ApiFunctions" enum="DownloadFunctions" |
| expires_after="2023-10-15"> |
| <owner>dtrainor@chromium.org</owner> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Downloads extension API function calls. Warning: this histogram was expired |
| from 2020-03-08 to 2022-08-02; data may be missing. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.AttachmentServices.Duration" units="ms" |
| expires_after="never"> |
| <!-- expires-never: Monitors downloads system health --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Time taken to invoke IAttachmentExecute::Save() excluding the time taken to |
| instantiate CLSID_AttachmentServices. Warning: this histogram was expired |
| from 2020-02-23 to 2023-01-30; data may be missing. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.BandwidthOverallBytesPerSecond2" units="bytes/second" |
| expires_after="2023-10-08"> |
| <owner>qinmin@chromium.org</owner> |
| <summary> |
| Overall bandwidth seen for a completed download. This includes all file |
| downloads going through the download subsystem, but excludes all the page |
| saves. Note that this is measured at the point at which the file is written, |
| and so will not take into account the time costs of activities that occur |
| after file write is completed (e.g. safe browsing scanning). The maximum |
| bucket range is 200Mbps. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Bubble.DragInfo" enum="Download.DragInfo" |
| expires_after="2023-09-03"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| This tracks drag events on a complete download on the bubble, and also |
| general download completion on the bubble as a point of reference. Note that |
| the completion can be logged multiple times for a single download if the |
| download bubble is shown and dismissed multiple times. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Bubble.LoadAndSetIconLatency" units="ms" |
| expires_after="2023-08-20"> |
| <obsolete> |
| Removed 2023-02-24: no longer needed, and now inconvenient to log properly. |
| </obsolete> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Measures the time (in ms) taken to load and set the file icon for a download |
| on the download bubble. Recorded each time an icon is loaded and set, which |
| can happen upon adding or updating a download bubble row, or changing the |
| device scale factor. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Bubble.PartialToFullViewLatency" units="ms" |
| expires_after="2023-08-27"> |
| <owner>drubery@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Measures the time (in ms) the user takes to open a full view (opened |
| manually) after seeing a partial view (opened by the browser for new and |
| completed downloads). Recorded only if the user has launched a full view |
| after a partial view was opened in the past, with no full view launch in |
| between. Recorded only for Desktop platforms, where Download Bubble is |
| enabled. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Bubble.ProcessedCommand" enum="DownloadCommand" |
| expires_after="2023-08-27"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records each time a download command is executed on download bubble. For V1, |
| it is logged when the main button is clicked. For V2, it is logged when the |
| quick action is clicked. Actions on the security subpage is also included. |
| Actions on context menu are excluded. Clicking the trasparent button is also |
| excluded. This histogram is added for debugging purpose and will be removed |
| afterwards. |
| </summary> |
| </histogram> |
| |
| <histogram |
| name="Download.Bubble.Subpage.{DownloadDangerTypeString}.{ButtonType}ButtonActionTime" |
| units="ms" expires_after="2024-03-07"> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Measures the time (in ms) between the Download bubble warning subpage being |
| shown, and one of the buttons being acted upon. The warning subpage is shown |
| when the user sees a download warning on the full or the partial view, and |
| navigates to the subpage for more actions. Recorded only for Desktop |
| platforms, where Download Bubble is enabled. In M105, FirstButtonActionTime |
| is replaced with SecondaryButtonActionTime, SecondButtonActionTime is |
| replaced with PrimaryButtonActionTime. |
| </summary> |
| <token key="ButtonType"> |
| <variant name="Primary"/> |
| <variant name="Secondary"/> |
| </token> |
| <token key="DownloadDangerTypeString" variants="DownloadDangerTypeString"/> |
| </histogram> |
| |
| <histogram name="Download.Bubble.SubpageAction" |
| enum="DownloadBubbleSubpageAction" expires_after="2023-08-20"> |
| <owner>drubery@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Record the user actions taken on the Download bubble warning subpage. The |
| warning subpage is shown when the user sees a download warning on the full |
| or the partial view, and navigates to the subpage for more actions. Recorded |
| only for Desktop platforms, where Download Bubble is enabled. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Bubble.{DownloadBubbleViewType}View.VisibleTime" |
| units="ms" expires_after="2024-03-07"> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Measures the time (in ms) for which the full view (opened manually) or the |
| partial view (opened by the browser for new and completed downloads) are |
| visible. Recorded only for Desktop platforms, where Download Bubble is |
| enabled. |
| </summary> |
| <token key="DownloadBubbleViewType" variants="DownloadBubbleViewType"/> |
| </histogram> |
| |
| <histogram name="Download.Bubble.{DownloadBubbleViewType}ViewSize" |
| units="items" expires_after="2024-03-07"> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Measures the size of the full view (opened manually) or the partial view |
| (opened by the browser for new and completed downloads). The full view |
| contains all recent downloads (last 24 hours), and the partial view contains |
| all recent downloads that user has not paid attention to, or acted upon. |
| Recorded only for Desktop platforms, where Download Bubble is enabled. |
| </summary> |
| <token key="DownloadBubbleViewType" variants="DownloadBubbleViewType"/> |
| </histogram> |
| |
| <histogram name="Download.CancelReason" enum="DownloadCancelReason" |
| expires_after="2023-10-08"> |
| <owner>qinmin@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>Records why the download is canceled.</summary> |
| </histogram> |
| |
| <histogram name="Download.Complete.IsOpenWhenCompleteSet" enum="BooleanSet" |
| expires_after="2023-08-27"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records each time a non-temporary download is completed. If it is set to |
| true, this download will open immediately. This can happen if the user has |
| clicked the open button before the download is completed. This histogram is |
| added for debugging purpose and will be removed afterwards. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Complete.IsShouldOpenFileBasedOnExtensionSet" |
| enum="BooleanSet" expires_after="2023-08-27"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records each time a non-temporary download is completed. If it is set to |
| true, this download will open immediately. This can happen if the user has |
| set auto open for this file type. This histogram is added for debugging |
| purpose and will be removed afterwards. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.ContentType.Audio" enum="DownloadAudioType" |
| expires_after="never"> |
| <!-- expires-never: Monitors download system health. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>Types of audio files that are downloaded.</summary> |
| </histogram> |
| |
| <histogram name="Download.ContentType.Image" enum="DownloadImageType" |
| expires_after="never"> |
| <!-- expires-never: Monitors download system health. --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <summary>Types of images that are downloaded.</summary> |
| </histogram> |
| |
| <histogram name="Download.ContentType.Text" enum="DownloadTextType" |
| expires_after="never"> |
| <!-- expires-never: Monitors download system health. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>Types of text files that are downloaded.</summary> |
| </histogram> |
| |
| <histogram name="Download.ContentType.Video" enum="DownloadVideoType" |
| expires_after="never"> |
| <!-- expires-never: Monitors download system health. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>Types of video files that are downloaded.</summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.Counts" enum="DownloadCountType" |
| expires_after="2023-10-22"> |
| <!-- Name completed by histogram_suffixes name="DownloadSource" --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| Various individual counts in the download system; see DownloadCountType for |
| details. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.DangerousDialog.Events" |
| enum="DangerousDownloadDialogEvent" expires_after="2023-09-03"> |
| <owner>qinmin@chromium.org</owner> |
| <summary> |
| Records user interactions with the dangerous download dialog on Android. |
| Records when the dialog is shown, or when user clicks on a button or |
| dismisses the dialog. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.DangerousFile.DownloadValidatedByType" |
| enum="SBClientDownloadExtensions" expires_after="2023-10-08"> |
| <owner>drubery@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| User chose to save a download which was marked DANGEROUS_FILE. Grouped by |
| the type of file. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Database.IsAvailable" enum="BooleanAvailable" |
| expires_after="never"> |
| <!-- expires-never: Helpful to track download database issue. --> |
| |
| <owner>qinmin@chromium.org</owner> |
| <summary> |
| Records whether the download database is available when database startup |
| completes, before starting any pending downloads. If the database is |
| available, it will provide the next download id. Or no download history will |
| be persisted. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.DeleteRetentionTime.Audio" units="hours" |
| expires_after="2020-01-30"> |
| <owner>qinmin@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| How long users keep downloaded audio files on disk. Recorded when the |
| downloaded file is deleted. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.DeleteRetentionTime.Video" units="hours" |
| expires_after="2020-01-30"> |
| <owner>qinmin@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| How long users keep downloaded video files on disk. Recorded when the |
| downloaded file is deleted. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.DOMEvent" enum="DownloadDOMEvent" |
| expires_after="2023-10-08"> |
| <owner>dtrainor@chromium.org</owner> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| User actions in chrome://downloads. Warning: this histogram was expired from |
| M77 to 2022-09-20; data may be missing. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.DownloadDangerPrompt" |
| enum="SBClientDownloadExtensions" expires_after="2023-08-27"> |
| <owner>vakh@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records when user is shown the download danger prompt while attempting to |
| recover a blocked download from chrome://downloads, grouped by the type of |
| file. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.DownloadManagerImpl.CreateDownloadItemTime" |
| units="ms" expires_after="2023-09-09"> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records time taken to execute DownloadManagerImpl::CreateDownloadItem(), |
| logged on each execution. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.DownloadManagerImpl.PostInitializationTime" |
| units="ms" expires_after="2023-09-09"> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records time taken to execute DownloadManagerImpl::PostInitialization(), |
| logged on each execution unless the function returns early due to already |
| being initialized. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.DownloadSize" units="KB" |
| expires_after="never"> |
| <!-- expires-never: Used for long term download system health monitoring. --> |
| |
| <!-- Name completed by histogram_suffixes name="Download.Parallelizable" --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>The size of successfully completed downloads.</summary> |
| </histogram> |
| |
| <histogram name="Download.DuplicateDialogEvent.{Type}" |
| enum="DuplicateDownloadEvent" expires_after="2022-12-03"> |
| <owner>qinmin@chromium.org</owner> |
| <owner>clank-downloads@chromium.org</owner> |
| <summary> |
| Records user interactions on the duplicate download dialog on Android, |
| either for a regular download or an offline page. One user interaction could |
| trigger multiple histograms to be recorded. For example, clicking the text |
| link could record both the link click histogram and the dialog dismiss |
| histogram. |
| </summary> |
| <token key="Type"> |
| <variant name="Download"/> |
| <variant name="OfflinePage"/> |
| </token> |
| </histogram> |
| |
| <histogram name="Download.DuplicateInfobarEvent.{Type}" |
| enum="DuplicateDownloadEvent" expires_after="2022-04-03"> |
| <owner>qinmin@chromium.org</owner> |
| <owner>clank-downloads@chromium.org</owner> |
| <summary> |
| Records user interactions on the duplicate download infobar on Android, |
| either for a regular download or an offline page. |
| </summary> |
| <token key="Type"> |
| <variant name="Download"/> |
| <variant name="OfflinePage"/> |
| </token> |
| </histogram> |
| |
| <histogram name="Download.HttpResponseCode" enum="HttpResponseCode" |
| expires_after="never"> |
| <!-- expires-never: Used to monitor download system health. --> |
| |
| <owner>qinmin@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>The count of HTTP Response codes for download requests.</summary> |
| </histogram> |
| |
| <histogram name="Download.Incognito.Message" enum="IncognitoMessageEvent" |
| expires_after="2023-06-30"> |
| <owner>tommasin@chromium.org</owner> |
| <owner>chrome-incognito@google.com</owner> |
| <summary> |
| Records the clicks on Incognito download message in Android, when users |
| click download or dismiss the message. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.InProgressDB.Counts" |
| enum="DownloadInProgressDBCountType" expires_after="M83"> |
| <owner>qinmin@chromium.org</owner> |
| <summary> |
| Various individual counts related to in-progress download DB. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.InputStreamReadError" |
| enum="DownloadInputStreamReadErrorType" expires_after="2023-08-31"> |
| <owner>qinmin@chromium.org</owner> |
| <owner>shaktisahu@chromium.org</owner> |
| <summary> |
| Records errors when reading from the mojo input stream before a download |
| completes. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.InsecureBlocking.Extensions" |
| enum="InsecureDownloadExtensions" expires_after="2023-10-22"> |
| <owner>jdeblasio@chromium.org</owner> |
| <owner>estark@chromium.org</owner> |
| <owner>cthomp@chromium.org</owner> |
| <summary> |
| Records file extension of download to support analysis for mixed content |
| file download blocking. Warning: this histogram was expired from M94 through |
| M95; data may be missing. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.InsecureBlocking.Totals" |
| enum="InsecureDownloadSecurityStatus" expires_after="2023-10-08"> |
| <owner>jdeblasio@chromium.org</owner> |
| <owner>estark@chromium.org</owner> |
| <owner>cthomp@chromium.org</owner> |
| <summary> |
| Records security state of downloads to support analysis for mixed content |
| file download blocking. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.InterruptedReason" enum="InterruptReason" |
| expires_after="never"> |
| <!-- Name completed by histogram_suffixes name="DownloadSource" --> |
| |
| <!-- expires-never: Core download metrics, used in go/chrome-download-dashboard. --> |
| |
| <owner>qinmin@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>The reason that a download was interrupted.</summary> |
| </histogram> |
| |
| <histogram name="Download.Interstitial.UIAction" |
| enum="DownloadInterstitialUIAction" expires_after="2023-09-26"> |
| <owner>alexmitra@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| Records any user action taken within a download interstitial. Download |
| interstitials are shown only on Android inside CCTs. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadARModelState.USDZ" |
| enum="DownloadARModelState" expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary> |
| Logged at different stages of downloading a USDZ MIME type AR model on iOS. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadCalendarFileUI" |
| enum="DownloadCalendarFileUI" expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>gambard@chromium.org</owner> |
| <summary> |
| Result when the warning alert is presented before downloading a .ics file on |
| iOS. Values indicate if the user has continued the download workflow after |
| the presentation of the warning alert. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadedFileAction" enum="DownloadedFileAction" |
| expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary> |
| The action that a user takes on a file after it has been successfully |
| downloaded on iOS. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadedFileNetError" enum="NetErrorCodes" |
| expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary> |
| Positive net error codes that happen in the case of download content fetch |
| failure. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadFileInBackground" |
| enum="DownloadFileInBackground" expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary> |
| Logged when the download is completed (successfully or not) or in-progress |
| download was cancelled because of the app termination. This histogram |
| includes information whether the download was successful and whether or not |
| the download task was running while the app was active. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadFileResult" enum="DownloadFileResult" |
| expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary>Result when a user attempts to download a file on iOS.</summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadFileUI" enum="DownloadFileUI" |
| expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary> |
| Result when a user attempts to present the download UI on iOS. Looged when |
| download is created. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadFileUIGoogleDrive" |
| enum="DownloadFileUIGoogleDrive" expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary> |
| Result when the download UI is prexsented on iOS. Values indicate if Google |
| Drive is installed and whether or not Install Google Drive promo was shown. |
| Logged when download is updated. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadMimeType" enum="DownloadMimeTypeResult" |
| expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary> |
| MIME type of a download response. Logged when the download UI was offered by |
| the browser to the user. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadMobileConfigFileUI" |
| enum="DownloadMobileConfigFileUI" expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>gambard@chromium.org</owner> |
| <summary> |
| Result when the warning alert is presented before downloading a |
| .mobileconfig file on iOS. Values indicate if the user has continued the |
| download workflow after the presentation of the warning alert. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadPassKitResult" |
| enum="DownloadPassKitResult" expires_after="2024-02-14"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary> |
| Recorded when a user attempts to download a PassKit file on iOS. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSDownloadReplaced" enum="BooleanReplaced" |
| expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary> |
| The user discarded in-progress download and replaced with the new one. Only |
| recorded after the user interacts with a dialog offering the choice between |
| replacing an in-progress download versus downloading separately to a new |
| filename. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.IOSPresentAddPassesDialogResult" |
| enum="PresentAddPassesDialogResult" expires_after="2023-10-25"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary>Result of an attempt to present Add Passes dialog on iOS.</summary> |
| </histogram> |
| |
| <histogram name="Download.IOSPresentQLPreviewControllerResult" |
| enum="PresentQLPreviewController" expires_after="2023-12-05"> |
| <owner>sdefresne@chromium.org</owner> |
| <owner>ewannpv@chromium.org</owner> |
| <owner>mrefaat@chromium.org</owner> |
| <summary> |
| Result when a user attempts to present a USDZ MIME type AR model on iOS. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Later.Events" enum="DownloadLaterEvent" |
| expires_after="2022-12-25"> |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| Records events for download later feature in download core code. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Later.ScheduledDownloadSize" units="Mb" |
| expires_after="2022-05-01"> |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The size of downloads when the user tries to download at a scheduled time. |
| Recorded when the positive button in download later dialog is clicked. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.Later.UI.DialogChoice" |
| enum="DownloadLaterDialogChoice" expires_after="2022-10-09"> |
| <!-- Name completed by histogram_suffixes name="DownloadDialogSource" --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The user selection in the download later dialog. Recorded when the user |
| starts a download, or clicking the change button on download infobar and |
| download home UI. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Later.UI.Events" enum="DownloadLaterUiEvent" |
| expires_after="2022-10-16"> |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| Records events for download later feature in download Android UI. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.LoadHistoryDownloads.AddExtensionInfoAndNotifyTime" |
| units="ms" expires_after="2023-09-09"> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records the time taken to add the DownloadedByExtension data to the |
| DownloadItem and notify observers in |
| DownloadHistory::LoadHistoryDownloads(), logged on each loop iteration (once |
| per DownloadRow) if extensions are enabled. |
| </summary> |
| </histogram> |
| |
| <histogram |
| name="Download.LoadHistoryDownloads.DeserializeStoragePartitionConfigTime" |
| units="ms" expires_after="2023-09-09"> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records the time taken to obtain the StoragePartitionConfig from the |
| serialized embedder download data in |
| DownloadHistory::LoadHistoryDownloads(), logged on each loop iteration (once |
| per DownloadRow). |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.LoadHistoryDownloads.DownloadRows" units="rows" |
| expires_after="2023-09-09"> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records the number of rows passed to |
| DownloadHistory::LoadHistoryDownloads(), logged on each execution. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.LoadHistoryDownloads.NotifyObserversTime" units="ms" |
| expires_after="2023-09-09"> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records the total time taken to call OnHistoryQueryComplete() on all the |
| observers in DownloadHistory::LoadHistoryDownloads(), logged on each |
| execution of the latter. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.LoadHistoryDownloadsTime" units="ms" |
| expires_after="2023-09-09"> |
| <owner>chlily@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records time taken to execute DownloadHistory::LoadHistoryDownloads(), |
| logged on each execution. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.MediaMetadata.Event" enum="MediaMetadataEvent" |
| expires_after="never"> |
| <!-- expires-never: Download media parser stability metrics. --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <owner>qinmin@chromium.org</owner> |
| <summary>Records events for local media metadata parsing.</summary> |
| </histogram> |
| |
| <histogram name="Download.MediaParser.Event" enum="MediaParserEvent" |
| expires_after="never"> |
| <!-- expires-never: Download media parser stability metrics. --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <owner>qinmin@chromium.org</owner> |
| <summary> |
| Records events when using media parser to analyze local media files. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.MixedContentDialog.Events" |
| enum="MixedContentDownloadDialogEvent" expires_after="2022-12-11"> |
| <owner>qinmin@chromium.org</owner> |
| <summary> |
| Records user interactions with the insecure download (formerly the mixed |
| content download) dialog on Android. Records when the dialog is shown, or |
| when user clicks on a button or dismisses the dialog. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Mobile.DangerousDownloadInfobarEvent" |
| enum="DangerousDownloadInfobarEvent" expires_after="2022-06-05"> |
| <owner>qinmin@chromium.org</owner> |
| <owner>dtrainor@chromium.org</owner> |
| <summary> |
| Records user interactions with the dangerous download infobar on Android. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.NetworkConnectionType.Complete" |
| enum="NetworkConnectionType" expires_after="2022-09-11"> |
| <!-- Name completed by histogram_suffixes name="DownloadSource" --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <summary>Network connection type when a download is completed.</summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.NetworkConnectionType.StartNew" |
| enum="NetworkConnectionType" expires_after="2023-06-04"> |
| <!-- Name completed by histogram_suffixes name="DownloadSource" --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <summary>Network connection type when starting a new download.</summary> |
| </histogram> |
| |
| <histogram name="Download.Notification.Suppressed" enum="BooleanSuppressed" |
| expires_after="2022-7-27"> |
| <owner>dtrainor@chromium.org</owner> |
| <owner>qinmin@chromium.org</owner> |
| <summary> |
| Records each time a notification for a download is suppressed. Note that a |
| single download can experience multiple instances of notification |
| suppression during its lifetime. This histogram is only emitted for Ash |
| Chrome builds. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.NotPreferredOpeningInBrowserReasons" |
| enum="DownloadNotPreferredOpeningInBrowserReason" |
| expires_after="2023-08-27"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records each time when determining whether the download should be opened in |
| browser. For new download, it is logged when determining download target. |
| For old download, it is logged when the download is going to open or the |
| context menu is going to show. Logged at most one time for each download. |
| This histogram is added for debugging purpose and will be removed |
| afterwards. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Open.ContentType" enum="DownloadContentType" |
| expires_after="2023-10-08"> |
| <owner>drubery@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Content types of the downloads being opened. This histogram is logged |
| whenever a download is opened, whether from the shelf/bubble or |
| chrome://downloads. Logged on Desktop platforms. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.OpenButtonPressed.IsDownloadCompleted" |
| enum="BooleanCompleted" expires_after="2023-08-27"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records each time a download open button is pressed, either on download |
| shelf or download bubble. If the open button is pressed before the download |
| is completed, the download will be auto opened when it is completed. If the |
| open button is pressed when the download is already completed, the download |
| will open immediately, either in browser or in system handler. The total |
| count of this histogram is useful to compare whether download bubble has |
| changed user behavior on clicking the open button. This histogram is added |
| for debugging purpose and will be removed afterwards. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.OpenDownloads.PerProfileType" |
| enum="BrowserProfileType" expires_after="2023-10-22"> |
| <owner>sideyilmaz@chromium.org</owner> |
| <owner>chrome-incognito@google.com</owner> |
| <summary> |
| Records the profile type for opening the Downloads page. This may be |
| triggered by different entry points like mobile menu, notification or info |
| bar. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.OpenDownloadsFromMenu.PerProfileType" |
| enum="BrowserProfileType" expires_after="2023-10-22"> |
| <owner>sideyilmaz@chromium.org</owner> |
| <owner>chrome-incognito@google.com</owner> |
| <summary> |
| Records the profile type for opening the Downloads page from menu. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.OpenMethod" enum="DownloadOpenMethod" |
| expires_after="never"> |
| <!-- expires-never: part of top-line metric (internal: go/chrome-browser-nsm) --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <owner>chrome-analysis-team@google.com</owner> |
| <summary> |
| Invocation count for methods of opening a download. For some file types, |
| Chrome defaults to opening the file in the browser instead of invoking the |
| system handler. The user has the option of overriding this behavior. |
| |
| This histogram is of special interest to the chrome-analysis-team@. Do not |
| change its semantics or retire it without talking to them first. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.OverwrittenDownloadRemovedFromHistory" |
| units="downloads" expires_after="2022-04-24"> |
| <owner>qinmin@chromium.org</owner> |
| <owner>chrome-downloads@google.com</owner> |
| <summary> |
| Records the number of overwritten downloads that are cleaned up from |
| Chrome://downloads history. Recorded after loading all the downloads from |
| history DB. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.ParallelDownload.CreationFailureReason" |
| enum="InterruptReason" expires_after="2021-04-25"> |
| <owner>qinmin@chromium.org</owner> |
| <summary> |
| Records the received failure reason after sending a parallel download |
| request. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.ParallelDownloadRequestCount" units="requests" |
| expires_after="2022-04-01"> |
| <owner>qinmin@chromium.org</owner> |
| <summary> |
| The total number of requests sent for a parallel download, including the |
| initial request. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.PathGenerationEvent" |
| enum="DownloadPathGenerationEvent" expires_after="never"> |
| <!-- expires-never: Monitors download system health. --> |
| |
| <!-- Name completed by histogram_suffixes name="DownloadType" --> |
| |
| <owner>qinmin@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The download path generation behavior which happens before download path |
| validation in download target determination process. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.PathValidationResult" |
| enum="DownloadPathValidationResult" expires_after="never"> |
| <!-- expires-never: Monitors download system health. --> |
| |
| <!-- Name completed by histogram_suffixes name="DownloadType" --> |
| |
| <owner>qinmin@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The download path validation result before the final download target is |
| determined. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Progress.InfoBar.CloseButtonClicked" |
| enum="DownloadInfoBarState" expires_after="2022-12-18"> |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| Records the state of the download progress infobar on android when the user |
| taps on the infobar's close button. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Progress.InfoBar.Shown" |
| enum="DownloadInfoBar.ShownState" expires_after="2023-06-25"> |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| Records various types of messages representing the state of the downloads as |
| they are shown on the download progress infobar on android. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.QuarantineService.ConnectionError" |
| enum="BooleanConnectionError" expires_after="M80"> |
| <owner>pmonette@chromium.org</owner> |
| <owner>alewoolf@microsoft.com</owner> |
| <summary> |
| Whether a connection error has happened for the QuarantineService. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.ResultsRenderedTime" units="ms" expires_after="M90"> |
| <owner>calamity@chromium.org</owner> |
| <owner>dbeam@chromium.org</owner> |
| <summary> |
| Records the time taken to load the downloads Web UI and render (at least) a |
| screen full of items. This is roughly equivalent to 'time to first |
| meaningful paint' for the downloads page. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Retry.InterruptReason" enum="InterruptReason" |
| expires_after="2023-09-03"> |
| <owner>thefrog@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records the last interrupt reason for a download that has just been retried |
| through the download bubble. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.SavePackage" enum="DownloadSavePackageEvent" |
| expires_after="M77"> |
| <owner>dtrainor@chromium.org</owner> |
| <summary> |
| Events (e.g. Started, Cancelled, Finished, Write to Completed file, Write to |
| Failed file) occuring within the state machine of a SavePackage operation. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Service.Complete.FileSize.{DownloadClient}" |
| units="KB" expires_after="never"> |
| <!-- expires-never: Download service stability metric. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@chromium.org</owner> |
| <summary> |
| The file size of completed background download. Recorded when background |
| downloads are finished. |
| </summary> |
| <token key="DownloadClient" variants="DownloadClient"> |
| <variant name=""/> |
| </token> |
| </histogram> |
| |
| <histogram name="Download.Service.Db.Operation.Failure" |
| enum="Download.Service.ModelAction" expires_after="never"> |
| <!-- expires-never: Monitor background download system database stability. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>Records a failed database operation.</summary> |
| </histogram> |
| |
| <histogram name="Download.Service.Db.Operation.Success" |
| enum="Download.Service.ModelAction" expires_after="never"> |
| <!-- expires-never: Monitor background download system database stability. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>Records a successful database operation.</summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.Service.Db.Records" units="records" |
| expires_after="never"> |
| <!-- expires-never: Monitors download service system health. --> |
| |
| <!-- Name completed by histogram_suffixes |
| name="Download.Service.EntryState" --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The total number of database records used by download service, and the |
| number of records in each entry state. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Service.Driver.InterruptReason" |
| enum="InterruptReason" expires_after="never"> |
| <!-- expires-never: Monitor background download system errors. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The interrupt reason for failed downloads in download service. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Service.Entry.Event" |
| enum="Download.Service.EntryEvent" expires_after="never"> |
| <!-- expires-never: Monitors download system health. --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <owner>shaktisahu@chromium.org</owner> |
| <summary> |
| An action the download service took on an active download. Note that this |
| histogram was expired between M88 and 2023-03-03. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Service.Entry.RetryCount" units="attempts" |
| expires_after="never"> |
| <!-- expires-never: Monitors download system health. --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <owner>shaktisahu@chromium.org</owner> |
| <summary> |
| Records how many attempts have taken place at the time of a retry for a |
| download in the Download Service. This differs from |
| Download.Service.Entry.ResumptionCount, which records resumptions not |
| complete restarts. Note that this histogram was expired between M88 and |
| 2023-03-03. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.Service.Files.CleanUp.External" |
| units="files" expires_after="never"> |
| <!-- expires-never: Monitors download service system health. --> |
| |
| <!-- Name completed by histogram_suffixes |
| name="Download.Service.CleanupReason" --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The number of files that have been deleted by external application or the |
| user, when performing clean up tasks in download service. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.Service.Files.CleanUp.Failure" |
| units="attempts" expires_after="never"> |
| <!-- expires-never: Monitors download service system health. --> |
| |
| <!-- Name completed by histogram_suffixes |
| name="Download.Service.CleanupReason" --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The number of failed file deletion attempts, when performing clean up tasks |
| in download service. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.Service.Files.CleanUp.Success" |
| units="files" expires_after="never"> |
| <!-- expires-never: Monitors download service system health. --> |
| |
| <!-- Name completed by histogram_suffixes |
| name="Download.Service.CleanupReason" --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The number of files successfully deleted, when performing clean up tasks in |
| download service. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Service.Files.DirCreationError" |
| enum="PlatformFileError" expires_after="never"> |
| <!-- expires-never: Download service stability metric. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The error code when failed to create the download directory. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Service.Files.LifeTime" units="ms" |
| expires_after="never"> |
| <!-- expires-never: Download service stability metric. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The lifestime of a download file, which begins from the download completion |
| to the file being deleted by the clean up task. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.Service.Finish.Time" units="ms" |
| expires_after="M85"> |
| <!-- Name completed by histogram_suffixes |
| name="Download.Service.CompletionType" --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>The time to complete the download in download service.</summary> |
| </histogram> |
| |
| <histogram name="Download.Service.Finish.Type" |
| enum="Download.Service.CompletionType" expires_after="2023-08-27"> |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>The completion type for downloads in download service.</summary> |
| </histogram> |
| |
| <histogram name="Download.Service.OnUploadDataReceived.PauseReason" |
| enum="Download.Service.PauseReason" expires_after="never"> |
| <!-- expires-never: Used for detecting anomalies in background download service. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <summary> |
| The reason for suspending a download right after the upload data is received |
| from the client. Every pause will result in two entries in the histogram: |
| ANY and a more specific reason. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Service.PauseReason" |
| enum="Download.Service.PauseReason" expires_after="never"> |
| <!-- expires-never: Used for detecting anomalies in background download service. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <summary> |
| The reason for pausing an in-progress download. Every pause will result in |
| two entries in the histogram: ANY and a more specific reason. |
| </summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.Service.Request.ClientAction" |
| enum="Download.Service.ServiceApiAction" expires_after="never"> |
| <!-- expires-never: Monitors download service system health. --> |
| |
| <!-- Name completed by histogram_suffixes |
| name="Download.Service.Client" --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>Records the API calls on download service.</summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.Service.StartUpStatus" |
| enum="Download.Service.StartUpResult" expires_after="never"> |
| <!-- Name completed by histogram_suffixes |
| name="Download.Service.StartUpStep" --> |
| |
| <!-- expires-never: Monitors download service system health. --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary>The start up result of the download service.</summary> |
| </histogram> |
| |
| <histogram base="true" name="Download.Service.TaskScheduler.Status" |
| enum="Download.Service.ScheduledTaskStatus" expires_after="never"> |
| <!-- expires-never: Monitors download service system health. --> |
| |
| <!-- Name completed by histogram_suffixes |
| name="Download.Service.TaskType" --> |
| |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The platform background tasks used by download service will invoke native |
| functions after being scheduled. The tasks may be aborted or canceled. This |
| metric records the status of background tasks when native functions are |
| invoked. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Session.IsDownloadBubbleShowingWhenSession{Status}" |
| enum="BooleanShowing" expires_after="2023-10-18"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records if the download bubble is showing when session {Status}. See the |
| description in Session.TotalDuration for how session ends is defined. This |
| histogram is added for debugging purpose and will be removed afterwards. |
| </summary> |
| <token key="Status"> |
| <variant name="Ends" summary="ends"/> |
| <variant name="Starts" summary="starts"/> |
| </token> |
| </histogram> |
| |
| <histogram name="Download.Session.TotalDurationIncludingBubbleTime" units="ms" |
| expires_after="2023-09-03"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Similar to Session.TotalDuration, but add the time when the download bubble |
| is showing into the total session duration. In rare cases where the user |
| leaves Chrome when the bubble is showing, it may include that duration too. |
| This histogram is added for debugging purpose and will be removed |
| afterwards. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.SetAlwaysOpenTo" enum="BooleanEnabled" |
| expires_after="2023-08-27"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records each time the auto open setting is changed by the user. If it is set |
| to true, this type of download will be auto opened once it is completed. |
| This setting is false by default. Changes on this setting are preserved |
| across startup. This histogram is added for debugging purpose and will be |
| removed afterwards. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Shelf.DragEvent" enum="Download.Shelf.DragEvent" |
| expires_after="M77"> |
| <obsolete> |
| Removed 2022-06-06, though it had long expired (in M77). |
| </obsolete> |
| <owner>sdy@chromium.org</owner> |
| <summary> |
| Events related to dragging a completed download from the shelf, which |
| represents dragging a reference to the downloaded file. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Shelf.DragInfo" enum="Download.DragInfo" |
| expires_after="2023-10-22"> |
| <owner>thefrog@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| This tracks drag events on a complete download on the shelf, and also |
| general download completion on the shelf as a point of reference. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Shelf.VisibleTime" units="ms" |
| expires_after="2023-08-20"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| The time that the download shelf was visible until it was closed. This |
| histogram excludes times when DoUnhide() and DoHide() are called (i.e., when |
| the full screen state changes). |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.ShelfContextMenuAction" |
| enum="DownloadShelfContextMenuAction" expires_after="2023-10-22"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| This histogram is used to record the different actions and events associated |
| with the download shelf context menu on Linux, MacOS, and Windows. The menu |
| may also be shown on the download bubble. Specifically, it records when the |
| dropdown button was clicked as well when DownloadCommands were enabled or |
| executed. Each action or enable event is only emitted once; as a result, it |
| is safe to compute a ratio by dividing enabled events by clicked events. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.ShowedDownloadWarning" enum="DownloadItem.DangerType" |
| expires_after="2023-10-08"> |
| <owner>drubery@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| A download warning was shown in the shelf/bubble. Note that some downloads |
| may not be shown on the shelf, e.g., if a download is not new, is transient, |
| or if the shelf is disabled by an extension using the Downloads API. |
| Similarly, the bubble also does not show transient downloads. Grouped by the |
| type of danger. This histogram is logged on ChromeOS since M93. |
| |
| This metric is used to populate a dashboard on go/crsb-site. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.SourcesChrome" enum="ChromeDownloadSource" |
| expires_after="never"> |
| <!-- expires-never: Monitors download system health. --> |
| |
| <owner>qinmin@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| The initiation source (if initiated within the above-content layer of |
| chrome) for a download. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Start.ContentType" enum="DownloadContentType" |
| expires_after="M110"> |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>drubery@chromium.org</owner> |
| <summary> |
| Content types of the downloads. This histogram is logged when a download is |
| started. Logged on Desktop platforms. Warning: This histogram had expired |
| from M85 to M106, data may be missing. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Start.ContentType.NormalProfile" |
| enum="DownloadContentType" expires_after="2023-10-22"> |
| <owner>shaktisahu@chromium.org</owner> |
| <owner>clank-downloads@google.com</owner> |
| <summary> |
| Content types of the downloads that are started in non-incognito profile. |
| This histogram is logged when a download is started. Logged on Desktop |
| platforms. Warning: This histogram had expired from 2022-05-01 to |
| 2022-08-15, data may be missing. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.Start.PerProfileType" enum="BrowserProfileType" |
| expires_after="2023-10-22"> |
| <owner>sideyilmaz@chromium.org</owner> |
| <owner>chrome-incognito@google.com</owner> |
| <summary> |
| The browser profile type for each download started, recorded just after |
| download successfully started. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.UserValidatedDangerousDownload" |
| enum="DownloadItem.DangerType" expires_after="2023-10-08"> |
| <owner>drubery@chromium.org</owner> |
| <owner>chrome-safebrowsing-team@chromium.org</owner> |
| <summary> |
| User chose to save a download which was marked dangerous. Grouped by the |
| type of danger. |
| |
| This metric is used to populate a dashboard on go/crsb-site. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.VideoThumbnail.Event" enum="VideoThumbnailEvent" |
| expires_after="never"> |
| <!-- expires-never: Download media parser stability metrics. --> |
| |
| <owner>dtrainor@chromium.org</owner> |
| <owner>qinmin@chromium.org</owner> |
| <summary>Records events for local video thumbnail retrieval.</summary> |
| </histogram> |
| |
| <histogram name="Download.WarningData.ActionAdded" enum="DownloadWarningAction" |
| expires_after="2023-10-08"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records the warning action that is successfully added in warning action |
| event. Logged each time an action is taken on the download warning. For the |
| SHOWN action, only logged for the first time. Not logged if the action is |
| not added because the first warning is missing or the events have exceeded |
| the max length. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.WarningData.AddWarningActionEventOutcome" |
| enum="DownloadAddWarningActionEventOutcome" expires_after="2023-09-24"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records whether a download warning action event was sent, or if not, then |
| why not. Logged each time an action is taken on the download warning. |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.WarningData.SurfaceWithoutWarningShown" |
| enum="DownloadWarningSurface" expires_after="2023-10-01"> |
| <owner>xinghuilu@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary> |
| Records the warning surface that does not have a warning shown event logged |
| in advance. Logged each time an action is taken on the download warning and |
| there is no warning shown event logged (the NOT_ADDED_MISSING_FIRST_WARNING |
| bucket in DownloadAddWarningActionEventOutcome). |
| </summary> |
| </histogram> |
| |
| <histogram name="Download.WinFileMoveError" enum="WinIFileOperationError" |
| expires_after="2023-10-12"> |
| <owner>drubery@chromium.org</owner> |
| <owner>chrome-counter-abuse-alerts@google.com</owner> |
| <summary>Records the OS error code when moving a file on windows.</summary> |
| </histogram> |
| |
| </histograms> |
| |
| </histogram-configuration> |