| 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 8d02a7984fb2992982c724f9be56fb6586b11d17..2d1f550b5b5a5a74e8c8bd015a006c5e31907c0d 100644
|
| --- a/content/browser/download/parallel_download_job.h
|
| +++ b/content/browser/download/parallel_download_job.h
|
| @@ -18,7 +18,8 @@ namespace content {
|
| // DownloadJob that can create concurrent range requests to fetch different
|
| // parts of the file.
|
| // The original request is hold in base class DownloadUrlJob.
|
| -class CONTENT_EXPORT ParallelDownloadJob : public DownloadJobImpl {
|
| +class CONTENT_EXPORT ParallelDownloadJob : public DownloadJobImpl,
|
| + public DownloadWorker::Delegate {
|
| public:
|
| ParallelDownloadJob(
|
| DownloadItemImpl* download_item,
|
| @@ -37,6 +38,10 @@ class CONTENT_EXPORT ParallelDownloadJob : public DownloadJobImpl {
|
|
|
| typedef std::vector<std::unique_ptr<DownloadWorker>> WorkerList;
|
|
|
| + // DownloadWorker::Delegate implementation.
|
| + void OnServerResponseError(DownloadWorker* worker,
|
| + DownloadInterruptReason reason) override;
|
| +
|
| // Build multiple http requests for a new download,
|
| // the rest of the bytes starting from |bytes_received| will be equally
|
| // distributed to each connection, including the original connection.
|
|
|