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 bcd1643e02abb684895a3c0e7a49a5af8ee4f53f..64804d77b54008fe6cc92390f88d9a6066055e3c 100644 |
--- a/chrome/browser/safe_browsing/download_protection_service.cc |
+++ b/chrome/browser/safe_browsing/download_protection_service.cc |
@@ -465,6 +465,9 @@ class DownloadProtectionService::CheckClientDownloadRequest |
} else if (response.verdict() == ClientDownloadResponse::UNCOMMON) { |
reason = REASON_DOWNLOAD_UNCOMMON; |
result = UNCOMMON; |
+ } else if (response.verdict() == ClientDownloadResponse::DANGEROUS_HOST) { |
+ reason = REASON_DOWNLOAD_DANGEROUS_HOST; |
+ result = DANGEROUS_HOST; |
} else { |
LOG(DFATAL) << "Unknown download response verdict: " |
<< response.verdict(); |