| 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 59c51ca618cba2026948ea4fb061e66851739b0d..1f6c77316d7a3248cf2632a62135cb499a00cd02 100644
|
| --- a/content/browser/download/download_create_info.h
|
| +++ b/content/browser/download/download_create_info.h
|
| @@ -12,6 +12,7 @@
|
|
|
| #include "base/files/file_path.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "base/optional.h"
|
| #include "base/time/time.h"
|
| #include "content/browser/download/download_file.h"
|
| @@ -24,6 +25,10 @@
|
| #include "ui/base/page_transition_types.h"
|
| #include "url/gurl.h"
|
|
|
| +namespace net {
|
| +class HttpResponseHeaders;
|
| +}
|
| +
|
| namespace content {
|
|
|
| // Used for informing the download manager of a new download, since we don't
|
| @@ -78,6 +83,10 @@ struct CONTENT_EXPORT DownloadCreateInfo {
|
|
|
| base::Optional<ui::PageTransition> transition_type;
|
|
|
| + // The HTTP response headers. This contains a nullptr when the response has
|
| + // not yet been received. Only for consuming headers.
|
| + scoped_refptr<const net::HttpResponseHeaders> response_headers;
|
| +
|
| // The remote IP address where the download was fetched from. Copied from
|
| // UrlRequest::GetSocketAddress().
|
| std::string remote_address;
|
|
|