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 2c5f5901c2a16f35211e953f68a0f5a351bfe2ab..9dd0f790de3388e8cb32f5f0022f6af423d737ff 100644 |
--- a/chrome/browser/safe_browsing/download_protection_service.cc |
+++ b/chrome/browser/safe_browsing/download_protection_service.cc |
@@ -417,6 +417,10 @@ class DownloadProtectionService::CheckClientDownloadRequest |
} else if (response.verdict() == ClientDownloadResponse::DANGEROUS_HOST) { |
reason = REASON_DOWNLOAD_DANGEROUS_HOST; |
result = DANGEROUS_HOST; |
+ } else if ( |
+ response.verdict() == ClientDownloadResponse::POTENTIALLY_UNWANTED) { |
+ reason = REASON_DOWNLOAD_POTENTIALLY_UNWANTED; |
+ result = POTENTIALLY_UNWANTED; |
} else { |
LOG(DFATAL) << "Unknown download response verdict: " |
<< response.verdict(); |