Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2467)

Unified Diff: chrome/browser/safe_browsing/download_protection_service.cc

Issue 12087095: Sync csd.proto with server-side version. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing comma Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698