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

Unified Diff: content/browser/download/url_downloader.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
« no previous file with comments | « content/browser/download/download_worker.cc ('k') | content/browser/download/url_downloader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/url_downloader.h
diff --git a/content/browser/download/url_downloader.h b/content/browser/download/url_downloader.h
index 4ba35d0c8a39c867564f0ab531a06b92e9e23a38..e5c5b90a51a7d25762b26a81ca80ce52e882d630 100644
--- a/content/browser/download/url_downloader.h
+++ b/content/browser/download/url_downloader.h
@@ -40,13 +40,15 @@ class UrlDownloader : public net::URLRequest::Delegate,
};
UrlDownloader(std::unique_ptr<net::URLRequest> request,
- base::WeakPtr<Delegate> delegate);
+ base::WeakPtr<Delegate> delegate,
+ bool is_parallel_request);
~UrlDownloader() override;
static std::unique_ptr<UrlDownloader> BeginDownload(
base::WeakPtr<UrlDownloader::Delegate> delegate,
std::unique_ptr<net::URLRequest> request,
- const Referrer& referrer);
+ const Referrer& referrer,
+ bool is_parallel_request);
private:
class RequestHandle;
« no previous file with comments | « content/browser/download/download_worker.cc ('k') | content/browser/download/url_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698