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

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

Issue 2897743002: Limit parallel download to http GET requests. (Closed)
Patch Set: enum.xml. Created 3 years, 7 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_job_factory.cc ('k') | content/browser/download/download_stats.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_request_core.cc
diff --git a/content/browser/download/download_request_core.cc b/content/browser/download/download_request_core.cc
index b2865dfb49a654e3af863942a3de44c19da56c50..1be306b2ed23e3ba80b75be4ba16f7620c95e6c7 100644
--- a/content/browser/download/download_request_core.cc
+++ b/content/browser/download/download_request_core.cc
@@ -246,6 +246,7 @@ DownloadRequestCore::CreateDownloadCreateInfo(DownloadInterruptReason result) {
if (result == DOWNLOAD_INTERRUPT_REASON_NONE)
create_info->remote_address = request()->GetSocketAddress().host();
+ create_info->method = request()->method();
create_info->connection_info = request()->response_info().connection_info;
create_info->url_chain = request()->url_chain();
create_info->referrer_url = GURL(request()->referrer());
« no previous file with comments | « content/browser/download/download_job_factory.cc ('k') | content/browser/download/download_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698