| Index: content/browser/download/parallel_download_job.h
|
| diff --git a/content/browser/download/parallel_download_job.h b/content/browser/download/parallel_download_job.h
|
| index 22a6ce00d2e371bf7a6e3df9480d3728fbea42b2..8d02a7984fb2992982c724f9be56fb6586b11d17 100644
|
| --- a/content/browser/download/parallel_download_job.h
|
| +++ b/content/browser/download/parallel_download_job.h
|
| @@ -41,7 +41,9 @@ class CONTENT_EXPORT ParallelDownloadJob : public DownloadJobImpl {
|
| // the rest of the bytes starting from |bytes_received| will be equally
|
| // distributed to each connection, including the original connection.
|
| // the last connection may take additional bytes.
|
| - void ForkRequestsForNewDownload(int64_t bytes_received, int64_t total_bytes);
|
| + void ForkRequestsForNewDownload(int64_t bytes_received,
|
| + int64_t total_bytes,
|
| + int request_count);
|
|
|
| // Build parallel requests to download the remaining slices.
|
| // TODO(qinmin): remove ForkRequestsForNewDownload() and move the logic into
|
| @@ -51,10 +53,6 @@ class CONTENT_EXPORT ParallelDownloadJob : public DownloadJobImpl {
|
| // Create one range request, virtual for testing.
|
| virtual void CreateRequest(int64_t offset, int64_t length);
|
|
|
| - // Number of concurrent requests for a new download, include the original
|
| - // request.
|
| - int request_num_;
|
| -
|
| // Information about the initial request when download is started.
|
| int64_t initial_request_offset_;
|
| int64_t initial_request_length_;
|
|
|