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

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

Issue 2854973003: Fix the Unthrottled download count for parallel 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/download_request_core.h
diff --git a/content/browser/download/download_request_core.h b/content/browser/download/download_request_core.h
index 395a90e4557cd4732b4b1510b635a6857e16404a..12e15cdcc8e0c10fcd8c3c784e262070ef63598f 100644
--- a/content/browser/download/download_request_core.h
+++ b/content/browser/download/download_request_core.h
@@ -52,8 +52,11 @@ class CONTENT_EXPORT DownloadRequestCore
};
// All parameters are required. |request| and |delegate| must outlive
- // DownloadRequestCore.
- DownloadRequestCore(net::URLRequest* request, Delegate* delegate);
+ // DownloadRequestCore. The request is not the main request if
+ // |is_parallel_request| is true.
+ DownloadRequestCore(net::URLRequest* request,
+ Delegate* delegate,
+ bool is_parallel_request);
~DownloadRequestCore();
// Should be called when the URLRequest::Delegate receives OnResponseStarted.
« no previous file with comments | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/download_request_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698