| Index: content/browser/download/download_stats.h
|
| diff --git a/content/browser/download/download_stats.h b/content/browser/download/download_stats.h
|
| index ebe643eaaec48b42d53f4604a8eaca55a0dae497..7f1d65daf7a1d2eb454fee63ec72baeaad869f0a 100644
|
| --- a/content/browser/download/download_stats.h
|
| +++ b/content/browser/download/download_stats.h
|
| @@ -160,10 +160,12 @@ void RecordBandwidth(double actual_bandwidth, double potential_bandwidth);
|
| void RecordOpen(const base::Time& end, bool first);
|
|
|
| // Record whether or not the server accepts ranges, and the download size. Also
|
| -// counts if a strong ETag is supplied. The combination of range request support
|
| -// and ETag indicates downloads that are candidates for partial resumption.
|
| -void RecordAcceptsRanges(const std::string& accepts_ranges, int64 download_len,
|
| - const std::string& etag);
|
| +// counts if a strong validator is supplied. The combination of range request
|
| +// support and ETag indicates downloads that are candidates for partial
|
| +// resumption.
|
| +void RecordAcceptsRanges(const std::string& accepts_ranges,
|
| + int64 download_len,
|
| + bool has_strong_validator);
|
|
|
| // Record the number of downloads removed by ClearAll.
|
| void RecordClearAllSize(int size);
|
| @@ -185,6 +187,9 @@ void RecordFileBandwidth(size_t length,
|
| base::TimeDelta disk_write_time,
|
| base::TimeDelta elapsed_time);
|
|
|
| +// Record the net errors that map to DOWNLOAD_INTERRUPT_REASON_NETWORK_FAILED.
|
| +void RecordNetErrorForNetworkFailed(int net_error);
|
| +
|
| enum SavePackageEvent {
|
| // The user has started to save a page as a package.
|
| SAVE_PACKAGE_STARTED,
|
|
|