| Index: content/browser/download/download_item_impl.cc
|
| diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc
|
| index 02b5b6446d320767414e642856991a8fe3946c3b..1c3236034f7d023d6e2cd8e25c0eb9a3242bc594 100644
|
| --- a/content/browser/download/download_item_impl.cc
|
| +++ b/content/browser/download/download_item_impl.cc
|
| @@ -177,6 +177,7 @@ DownloadItemImpl::DownloadItemImpl(
|
| mime_type_(info.mime_type),
|
| original_mime_type_(info.original_mime_type),
|
| referrer_charset_(info.referrer_charset),
|
| + remote_address_(info.remote_address),
|
| total_bytes_(info.total_bytes),
|
| received_bytes_(0),
|
| bytes_per_sec_(0),
|
| @@ -849,6 +850,9 @@ std::string DownloadItemImpl::GetOriginalMimeType() const {
|
| std::string DownloadItemImpl::GetReferrerCharset() const {
|
| return referrer_charset_;
|
| }
|
| +std::string DownloadItemImpl::GetRemoteAddress() const {
|
| + return remote_address_;
|
| +}
|
| int64 DownloadItemImpl::GetTotalBytes() const { return total_bytes_; }
|
| void DownloadItemImpl::SetTotalBytes(int64 total_bytes) {
|
| total_bytes_ = total_bytes;
|
|
|