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 2b9a6d289d6a85fcaf530010521797147c2c8d78..486af67b8883d6a08a51e1ce0dee72089bad7c18 100644 |
--- a/chrome/browser/safe_browsing/download_protection_service.cc |
+++ b/chrome/browser/safe_browsing/download_protection_service.cc |
@@ -597,8 +597,9 @@ class DownloadProtectionService::CheckClientDownloadRequest |
if (!token.empty()) |
SetDownloadPingToken(item_, token); |
+ bool upload_requested = response.upload(); |
DownloadFeedbackService::MaybeStorePingsForDownload( |
- result, item_, client_download_request_data_, data); |
+ result, upload_requested, item_, client_download_request_data_, data); |
} |
// We don't need the fetcher anymore. |
fetcher_.reset(); |