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

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

Issue 2730363004: Parallel Download finch config parameters on Chrome client. (Closed)
Patch Set: Use a cleaner api. Created 3 years, 9 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..ef9807cc29b7683c4864288f3fdff9719a2b72aa 100644
--- a/content/browser/download/parallel_download_utils.h
+++ b/content/browser/download/parallel_download_utils.h
@@ -18,6 +18,14 @@ namespace content {
CONTENT_EXPORT DownloadItem::ReceivedSlice FindNextSliceToDownload(
const std::vector<DownloadItem::ReceivedSlice>& received_slices);
+// Finch configuration utilities.
+//
+// Get the minimum file size to use parallel download from finch configuration.
+CONTENT_EXPORT int64_t GetMinFileSizeConfig();
+
+// Get the request count for parallel download from finch configuration.
+CONTENT_EXPORT int GetParallelRequestCountConfig();
+
} // namespace content
#endif // CONTENT_BROWSER_DOWNLOAD_PARALLEL_DOWNLOAD_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698