| Index: content/browser/download/download_resource_handler.h
|
| diff --git a/content/browser/download/download_resource_handler.h b/content/browser/download/download_resource_handler.h
|
| index 15db6a27deeb73320eb0f1fcfb103928fb788597..666dec72a7060bc3ccadea5a721303a964dcebca 100644
|
| --- a/content/browser/download/download_resource_handler.h
|
| +++ b/content/browser/download/download_resource_handler.h
|
| @@ -114,11 +114,14 @@ class DownloadResourceHandler : public ResourceHandler {
|
| ResourceDispatcherHost* rdh_;
|
| bool is_paused_;
|
| base::OneShotTimer<DownloadResourceHandler> pause_timer_;
|
| - base::TimeTicks download_start_time_; // used to collect stats.
|
| - base::TimeTicks last_read_time_; // used to collect stats.
|
| - size_t last_buffer_size_; // used to collect stats.
|
| - int64 bytes_read_; // used to collect stats.
|
| - std::string accepts_ranges_; // used to collect stats.
|
| +
|
| + // The following are used to collect stats.
|
| + base::TimeTicks download_start_time_;
|
| + base::TimeTicks last_read_time_;
|
| + size_t last_buffer_size_;
|
| + int64 bytes_read_;
|
| + std::string accepts_ranges_;
|
| +
|
| static const int kReadBufSize = 32768; // bytes
|
| static const int kThrottleTimeMs = 200; // milliseconds
|
|
|
|
|