Index: content/browser/download/download_item_impl.h |
diff --git a/content/browser/download/download_item_impl.h b/content/browser/download/download_item_impl.h |
index 04326fccffc96dc17b320b2b9004ea0295abf123..df5f9ff6aeedceb082196dc575aabc28e0b87c4d 100644 |
--- a/content/browser/download/download_item_impl.h |
+++ b/content/browser/download/download_item_impl.h |
@@ -102,6 +102,7 @@ class CONTENT_EXPORT DownloadItemImpl : public DownloadItem { |
virtual std::string GetMimeType() const OVERRIDE; |
virtual std::string GetOriginalMimeType() const OVERRIDE; |
virtual std::string GetReferrerCharset() const OVERRIDE; |
+ virtual std::string GetRemoteAddress() const OVERRIDE; |
virtual int64 GetTotalBytes() const OVERRIDE; |
virtual void SetTotalBytes(int64 total_bytes) OVERRIDE; |
virtual const std::string& GetHash() const OVERRIDE; |
@@ -210,6 +211,10 @@ class CONTENT_EXPORT DownloadItemImpl : public DownloadItem { |
// It's used to construct a suggested filename. |
std::string referrer_charset_; |
+ // The remote IP address where the download was fetched from. Copied from |
+ // DownloadCreateInfo::remote_address. |
+ std::string remote_address_; |
+ |
// Total bytes expected |
int64 total_bytes_; |