Index: chrome/browser/safe_browsing/download_protection_service.cc |
diff --git a/chrome/browser/safe_browsing/download_protection_service.cc b/chrome/browser/safe_browsing/download_protection_service.cc |
index 756716e0dba2443ecf9e5304b3b375dd3f59fb7b..3ae6cb1c14f4965283a5f365c0304b2e6a0cbd93 100644 |
--- a/chrome/browser/safe_browsing/download_protection_service.cc |
+++ b/chrome/browser/safe_browsing/download_protection_service.cc |
@@ -117,11 +117,11 @@ DownloadProtectionService::DownloadInfo |
DownloadProtectionService::DownloadInfo::FromDownloadItem( |
const DownloadItem& item) { |
DownloadInfo download_info; |
- download_info.local_file = item.full_path(); |
- download_info.download_url_chain = item.url_chain(); |
- download_info.referrer_url = item.referrer_url(); |
+ download_info.local_file = item.GetFullPath(); |
+ download_info.download_url_chain = item.GetUrlChain(); |
+ download_info.referrer_url = item.GetReferrerUrl(); |
// TODO(bryner): Fill in the hash (we shouldn't compute it again) |
- download_info.total_bytes = item.total_bytes(); |
+ download_info.total_bytes = item.GetTotalBytes(); |
// TODO(bryner): Populate user_initiated |
return download_info; |
} |