| Index: content/browser/download/download_stats.h
|
| diff --git a/content/browser/download/download_stats.h b/content/browser/download/download_stats.h
|
| index 94bc2e04151de2710e0869611295b37b82828872..7633e510d4ee111f47af8a45edb8169a46d808ff 100644
|
| --- a/content/browser/download/download_stats.h
|
| +++ b/content/browser/download/download_stats.h
|
| @@ -16,6 +16,7 @@
|
|
|
| namespace base {
|
| class Time;
|
| +class TimeDelta;
|
| class TimeTicks;
|
| }
|
|
|
| @@ -137,6 +138,19 @@ void RecordClearAllSize(int size);
|
| // Record the number of completed unopened downloads when a download is opened.
|
| void RecordOpensOutstanding(int size);
|
|
|
| +// Record how long we block the file thread at a time.
|
| +void RecordContiguousWriteTime(base::TimeDelta time_blocked);
|
| +
|
| +// Record overall bandwidth stats at the network end.
|
| +void RecordNetworkBandwidth(size_t length,
|
| + base::TimeDelta elapsed_time,
|
| + base::TimeDelta paused_time);
|
| +
|
| +// Record overall bandwidth stats at the file end.
|
| +void RecordFileBandwidth(size_t length,
|
| + base::TimeDelta disk_write_time,
|
| + base::TimeDelta elapsed_time);
|
| +
|
| enum SavePackageEvent {
|
| // The user has started to save a page as a package.
|
| SAVE_PACKAGE_STARTED,
|
|
|