| 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 3beafc979b735250dae963ae2e8680637a15aa65..a95a59d52bc54417545aee4a399f643621d6c579 100644
|
| --- a/content/browser/download/parallel_download_job.h
|
| +++ b/content/browser/download/parallel_download_job.h
|
| @@ -39,12 +39,16 @@ class CONTENT_EXPORT ParallelDownloadJob : public DownloadJobImpl,
|
| // Virtual for testing.
|
| virtual int GetParallelRequestCount() const;
|
|
|
| - private:
|
| - friend class ParallelDownloadJobTest;
|
| -
|
| using WorkerMap =
|
| std::unordered_map<int64_t, std::unique_ptr<DownloadWorker>>;
|
|
|
| + // Map from the offset position of the slice to the worker that downloads the
|
| + // slice.
|
| + WorkerMap workers_;
|
| +
|
| + private:
|
| + friend class ParallelDownloadJobTest;
|
| +
|
| // DownloadWorker::Delegate implementation.
|
| void OnByteStreamReady(
|
| DownloadWorker* worker,
|
| @@ -74,10 +78,6 @@ class CONTENT_EXPORT ParallelDownloadJob : public DownloadJobImpl,
|
| // the size of the target file if the request starts from non-zero offset.
|
| int64_t content_length_;
|
|
|
| - // Map from the offset position of the slice to the worker that downloads the
|
| - // slice.
|
| - WorkerMap workers_;
|
| -
|
| // Used to send parallel requests after a delay based on Finch config.
|
| base::OneShotTimer timer_;
|
|
|
|
|