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

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

Issue 9639003: Handle uncommon download verdict for safebrowsing download protection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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.h
diff --git a/chrome/browser/safe_browsing/download_protection_service.h b/chrome/browser/safe_browsing/download_protection_service.h
index a82316d1359db69422733bcb91f35ee9298651cc..81655948841eb6298cee2af73247c9fa16d23786 100644
--- a/chrome/browser/safe_browsing/download_protection_service.h
+++ b/chrome/browser/safe_browsing/download_protection_service.h
@@ -59,8 +59,7 @@ class DownloadProtectionService {
enum DownloadCheckResult {
SAFE,
DANGEROUS,
- // In the future we may introduce a third category which corresponds to
- // suspicious downloads that are not known to be malicious.
+ UNCOMMON,
};
// Callback type which is invoked once the download request is done.
@@ -136,6 +135,7 @@ class DownloadProtectionService {
REASON_PING_DISABLED,
REASON_TRUSTED_EXECUTABLE,
REASON_OS_NOT_SUPPORTED,
+ REASON_DOWNLOAD_UNCOMMON,
REASON_MAX // Always add new values before this one.
};

Powered by Google App Engine
This is Rietveld 408576698