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

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

Issue 2823273004: Add new UMA stats for parallelizable download (Closed)
Patch Set: addressing comments 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/download_job.cc
diff --git a/content/browser/download/download_job.cc b/content/browser/download/download_job.cc
index 1e3f3f58249fd54bed36ab99f6c4a58fdfc222c2..cbdf35f786da9fb037504e30ca7d8601202d0ad9 100644
--- a/content/browser/download/download_job.cc
+++ b/content/browser/download/download_job.cc
@@ -62,10 +62,10 @@ void DownloadJob::SetPotentialFileLength(int64_t length) {
}
}
-bool DownloadJob::UsesParallelRequests() const {
+void DownloadJob::CancelRequestWithOffset(int64_t offset) {}
+
+bool DownloadJob::IsParallelizable() const {
return false;
}
-void DownloadJob::CancelRequestWithOffset(int64_t offset) {}
-
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698