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

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

Issue 2759843002: Pump the http version to download system. (Closed)
Patch Set: Work on feedback. Created 3 years, 9 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 | « no previous file | content/browser/download/download_create_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_create_info.h
diff --git a/content/browser/download/download_create_info.h b/content/browser/download/download_create_info.h
index a69f4bace435560758b777dc07e361a02156aee1..29f5256f13774ae0996deba395ab866457afa365 100644
--- a/content/browser/download/download_create_info.h
+++ b/content/browser/download/download_create_info.h
@@ -19,6 +19,7 @@
#include "content/common/content_export.h"
#include "content/public/browser/download_interrupt_reasons.h"
#include "content/public/browser/download_save_info.h"
+#include "net/http/http_response_info.h"
#include "net/log/net_log_with_source.h"
#include "ui/base/page_transition_types.h"
#include "url/gurl.h"
@@ -120,6 +121,9 @@ struct CONTENT_EXPORT DownloadCreateInfo {
// If "Accept-Ranges:bytes" header presents in the response header.
bool accept_range;
+ // The HTTP connection type.
+ net::HttpResponseInfo::ConnectionInfo connection_info;
+
private:
DISALLOW_COPY_AND_ASSIGN(DownloadCreateInfo);
};
« no previous file with comments | « no previous file | content/browser/download/download_create_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698