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

Unified Diff: content/public/browser/download_danger_type.h

Issue 9621007: Add new danger type for uncommon or unknown downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " 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
« no previous file with comments | « content/browser/download/download_state_info.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_danger_type.h
diff --git a/content/public/browser/download_danger_type.h b/content/public/browser/download_danger_type.h
index 2c8ba88b19ec7f9ce32646bd49724fbb18466ded..a7f9942f4eee8a4d40af5e8968ca250564b09cb4 100644
--- a/content/public/browser/download_danger_type.h
+++ b/content/public/browser/download_danger_type.h
@@ -29,6 +29,10 @@ enum DownloadDangerType {
// SafeBrowsing has not finished checking the content).
DOWNLOAD_DANGER_TYPE_MAYBE_DANGEROUS_CONTENT,
+ // SafeBrowsing download service checked the contents of the download, but
+ // didn't have enough data to determine whether it was malicious.
+ DOWNLOAD_DANGER_TYPE_UNCOMMON_CONTENT,
+
// Memory space for histograms is determined by the max.
// ALWAYS ADD NEW VALUES BEFORE THIS ONE.
DOWNLOAD_DANGER_TYPE_MAX
« no previous file with comments | « content/browser/download/download_state_info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698