diff options
Diffstat (limited to 'chromium/components/download/public/common/download_create_info.h')
-rw-r--r-- | chromium/components/download/public/common/download_create_info.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/components/download/public/common/download_create_info.h b/chromium/components/download/public/common/download_create_info.h index ec793ca4218..a256220b70f 100644 --- a/chromium/components/download/public/common/download_create_info.h +++ b/chromium/components/download/public/common/download_create_info.h @@ -27,6 +27,7 @@ #include "services/metrics/public/cpp/ukm_source_id.h" #include "ui/base/page_transition_types.h" #include "url/gurl.h" +#include "url/origin.h" namespace net { class HttpResponseHeaders; @@ -67,6 +68,9 @@ struct COMPONENTS_DOWNLOAD_EXPORT DownloadCreateInfo { // The referrer URL of the tab that started us. GURL tab_referrer_url; + // The origin of the requester that originally initiated the download. + base::Optional<url::Origin> request_initiator; + // The time when the download started. base::Time start_time; |