Chromium Code Reviews| Index: content/browser/download/parallel_download_utils.h |
| diff --git a/content/browser/download/parallel_download_utils.h b/content/browser/download/parallel_download_utils.h |
| index 62d732ef92e05ac17b421658a6c3355e8329266c..eaf0d2276a9815f3d34a5484bb05e4ac60088f86 100644 |
| --- a/content/browser/download/parallel_download_utils.h |
| +++ b/content/browser/download/parallel_download_utils.h |
| @@ -15,7 +15,7 @@ namespace content { |
| // Find the first gap in an array of received slices and return it as the next |
|
xingliu
2017/03/03 18:44:15
Comment for the function is out-dated.
This funct
qinmin
2017/03/03 19:32:35
Fixed the comment.
The return value is only used
xingliu
2017/03/03 21:37:44
sgtm on new download use scenario.
Question for r
qinmin
2017/03/03 22:20:10
Once all the parallel requests are kicked off, thi
|
| // slice to download. If not found, return a slice that is to the end of all |
| // slices. |received_slices| must be ordered by offsets. |
| -CONTENT_EXPORT DownloadItem::ReceivedSlice FindNextSliceToDownload( |
| +CONTENT_EXPORT std::vector<DownloadItem::ReceivedSlice> FindSlicesToDownload( |
| const std::vector<DownloadItem::ReceivedSlice>& received_slices); |
| } // namespace content |