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 ba2592be3c90b04e8d8615780447a0b9a8737ab8..6939ca0290ca949586ec41e7d4791904f2f57d1d 100644 |
--- a/chrome/browser/safe_browsing/download_protection_service.cc |
+++ b/chrome/browser/safe_browsing/download_protection_service.cc |
@@ -590,7 +590,10 @@ class DownloadProtectionService::CheckClientDownloadRequest |
archived_binary_.CopyFrom(results.archived_binary); |
DVLOG(1) << "Zip analysis finished for " << item_->GetFullPath().value() |
<< ", has_executable=" << results.has_executable |
- << " has_archive=" << results.has_archive; |
+ << " has_archive=" << results.has_archive |
+ << " has_unsafe_file=" << results.has_unsafe_file; |
+ UMA_HISTOGRAM_BOOLEAN("SBClientDownload.ZipFileHasUnsafeFile", |
+ results.has_unsafe_file); |
} else { |
DVLOG(1) << "Zip analysis failed for " << item_->GetFullPath().value(); |
} |