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

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

Issue 19863005: Warn users about potentially unwanted downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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: 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 fbd7aef591d7e3e531d230105e7bed440783461f..bf175c0e59740a72a97ad8ff969b3c7e3463a0a6 100644
--- a/content/public/browser/download_danger_type.h
+++ b/content/public/browser/download_danger_type.h
@@ -41,6 +41,9 @@ enum DownloadDangerType {
// known to serve mostly malicious content.
DOWNLOAD_DANGER_TYPE_DANGEROUS_HOST,
+ // Applications and extensions that modify browser and/or system settings
+ DOWNLOAD_DANGER_TYPE_POTENTIALLY_UNWANTED,
+
// Memory space for histograms is determined by the max.
// ALWAYS ADD NEW VALUES BEFORE THIS ONE.
DOWNLOAD_DANGER_TYPE_MAX

Powered by Google App Engine
This is Rietveld 408576698