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

Unified Diff: content/browser/download/parallel_download_job.cc

Issue 2823273004: Add new UMA stats for parallelizable download (Closed)
Patch Set: Created 3 years, 8 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_job.cc
diff --git a/content/browser/download/parallel_download_job.cc b/content/browser/download/parallel_download_job.cc
index 5a3af37402aec99f0743fa73cbc5b583f4a12cb0..a6ed734537dcd1b7895bdba0669f97b1abb5e509 100644
--- a/content/browser/download/parallel_download_job.cc
+++ b/content/browser/download/parallel_download_job.cc
@@ -26,7 +26,7 @@ ParallelDownloadJob::ParallelDownloadJob(
DownloadItemImpl* download_item,
std::unique_ptr<DownloadRequestHandleInterface> request_handle,
const DownloadCreateInfo& create_info)
- : DownloadJobImpl(download_item, std::move(request_handle)),
+ : DownloadJobImpl(download_item, std::move(request_handle), true),
initial_request_offset_(create_info.offset),
content_length_(create_info.total_bytes),
requests_sent_(false),

Powered by Google App Engine
This is Rietveld 408576698