| Index: content/browser/download/download_stats.h
|
| diff --git a/content/browser/download/download_stats.h b/content/browser/download/download_stats.h
|
| index c4802438737d8aea64728762a4015e7a402313f8..bc6f921114ca4f45db9e0055befb1aa11276a1c9 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.
|
| @@ -91,6 +91,12 @@ enum DownloadCountTypes {
|
| // candidates for partial resumption.
|
| STRONG_VALIDATOR_AND_ACCEPTS_RANGES,
|
|
|
| + // 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
|
| };
|
|
|
| @@ -165,6 +171,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);
|
|
|
|
|