Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: content/browser/download/parallel_download_utils.h

Issue 2727143005: Change FindNextSliceToDownload() into FindSlicesToDownload() (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698