| 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..db3f1a0c61de9a99970dca75e8172109d0e92970 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,12 @@ enum DownloadCountTypes {
|
| // Count of downloads that uses parallel download requests.
|
| USES_PARALLEL_REQUESTS,
|
|
|
| + // Downloads that are started in normal profile.
|
| + START_COUNT_NORMAL_PROFILE,
|
| +
|
| + // Downloads that are actually completed in normal profile.
|
| + COMPLETED_COUNT_NORMAL_PROFILE,
|
| +
|
| DOWNLOAD_COUNT_TYPES_LAST_ENTRY
|
| };
|
|
|
| @@ -168,6 +174,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);
|
|
|
|
|