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

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

Issue 2823273004: Add new UMA stats for parallelizable download (Closed)
Patch Set: fix test 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
« no previous file with comments | « content/browser/download/download_item_impl_unittest.cc ('k') | content/browser/download/download_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_job.h
diff --git a/content/browser/download/download_job.h b/content/browser/download/download_job.h
index 0998cea50072d471842b1fe4fad076d297fce400..2f12b18b1f098b820cd04eb004dec6df2b6c8332 100644
--- a/content/browser/download/download_job.h
+++ b/content/browser/download/download_job.h
@@ -40,8 +40,9 @@ class CONTENT_EXPORT DownloadJob {
// WebContents.
virtual WebContents* GetWebContents() const = 0;
- // Returns whether the download uses parallel requests.
- virtual bool UsesParallelRequests() const;
+ // Returns whether the download is parallelizable. The download may not send
+ // parallel requests as it can be disabled through flags.
+ virtual bool IsParallelizable() const;
// Cancel a particular request starts from |offset|, while the download is not
// canceled. Used in parallel download.
« no previous file with comments | « content/browser/download/download_item_impl_unittest.cc ('k') | content/browser/download/download_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698