Chromium Code Reviews| Index: content/browser/download/download_job.h |
| diff --git a/content/browser/download/download_job.h b/content/browser/download/download_job.h |
| index d4db0ece9889c4b710066fa2b0b20231f55cc4fa..4656588bafe52a49a7bf3f931b068f4b97ccc363 100644 |
| --- a/content/browser/download/download_job.h |
| +++ b/content/browser/download/download_job.h |
| @@ -43,6 +43,10 @@ class CONTENT_EXPORT DownloadJob { |
| // Returns whether the download uses parallel requests. |
| virtual bool UsesParallelRequests() const; |
| + // Cancel a particular request starts from |offset|, while the download is not |
| + // canceled. Used in parallel download. |
| + virtual void CancelRequest(int64_t offset); |
|
qinmin
2017/04/14 20:04:44
nit:s/CancelRequest/CancelRequestWithOffset/
xingliu
2017/04/15 00:26:29
Done.
|
| + |
| protected: |
| void StartDownload() const; |
| void Interrupt(DownloadInterruptReason reason); |