| Index: content/browser/download/download_stats.h
|
| diff --git a/content/browser/download/download_stats.h b/content/browser/download/download_stats.h
|
| index 0ecbf0cc6a6b2fef3e23d95198bcd6853842bd43..d2060aa7e3b33a11b5c21c55a6dc964fd3275970 100644
|
| --- a/content/browser/download/download_stats.h
|
| +++ b/content/browser/download/download_stats.h
|
| @@ -49,7 +49,7 @@ enum DownloadCountTypes {
|
| // Downloads that are cancelled before completion (user action or error).
|
| CANCELLED_COUNT,
|
|
|
| - // Downloads that are started. Should be equal to UNTHROTTLED_COUNT.
|
| + // Downloads that are started.
|
| START_COUNT,
|
|
|
| // Downloads that were interrupted by the OS.
|
| @@ -94,6 +94,15 @@ enum DownloadCountTypes {
|
| // Count of downloads that uses parallel download requests.
|
| USES_PARALLEL_REQUESTS,
|
|
|
| + // Count of new downloads.
|
| + NEW_DOWNLOAD_COUNT,
|
| +
|
| + // Count of new downloads that are started in normal profile.
|
| + NEW_DOWNLOAD_COUNT_NORMAL_PROFILE,
|
| +
|
| + // Downloads that are actually completed in normal profile.
|
| + COMPLETED_COUNT_NORMAL_PROFILE,
|
| +
|
| DOWNLOAD_COUNT_TYPES_LAST_ENTRY
|
| };
|
|
|
| @@ -168,6 +177,9 @@ void RecordDangerousDownloadDiscard(
|
| // Records the mime type of the download.
|
| void RecordDownloadMimeType(const std::string& mime_type);
|
|
|
| +// Records the mime type of the download for normal profile.
|
| +void RecordDownloadMimeTypeForNormalProfile(const std::string& mime_type);
|
| +
|
| // Records usage of Content-Disposition header.
|
| void RecordDownloadContentDisposition(const std::string& content_disposition);
|
|
|
|
|