Index: chrome/browser/safe_browsing/download_protection_service.h |
diff --git a/chrome/browser/safe_browsing/download_protection_service.h b/chrome/browser/safe_browsing/download_protection_service.h |
index 5eee9396b4d8a9f1365e97b5608c98c2d55cd7b5..9442cbe9acc7609bb2a42a558397cab350d13de8 100644 |
--- a/chrome/browser/safe_browsing/download_protection_service.h |
+++ b/chrome/browser/safe_browsing/download_protection_service.h |
@@ -37,7 +37,8 @@ class DownloadProtectionService { |
// TODO(noelutz): we're missing some fields here: server IPs, |
// tab URL redirect chain, ... |
struct DownloadInfo { |
- FilePath local_file; |
+ FilePath local_file; // Where the download is currently stored. |
+ FilePath target_file; // Where the download will eventually be stored. |
std::vector<GURL> download_url_chain; |
GURL referrer_url; |
std::string sha256_hash; |
@@ -45,7 +46,7 @@ class DownloadProtectionService { |
bool user_initiated; |
DownloadInfo(); |
~DownloadInfo(); |
- |
+ std::string DebugString() const; |
// Creates a DownloadInfo from a DownloadItem object. |
static DownloadInfo FromDownloadItem(const DownloadItem& item); |
}; |