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

Unified Diff: content/browser/download/download_net_log_parameters.cc

Issue 19863005: Warn users about potentially unwanted downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a "Learn more" URL for unwanted downloads. 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
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/public/browser/download_danger_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_net_log_parameters.cc
diff --git a/content/browser/download/download_net_log_parameters.cc b/content/browser/download/download_net_log_parameters.cc
index 0485cf262e40e194fdc7e7ef1d9b1912469f324d..f464298d73e0cdae36fb18cddac74ddb342121f5 100644
--- a/content/browser/download/download_net_log_parameters.cc
+++ b/content/browser/download/download_net_log_parameters.cc
@@ -31,6 +31,7 @@ static const char* download_danger_names[] = {
"UNCOMMON_CONTENT",
"USER_VALIDATED",
"DANGEROUS_HOST",
+ "POTENTIALLY_UNWANTED"
};
COMPILE_ASSERT(ARRAYSIZE_UNSAFE(download_type_names) == SRC_SAVE_PAGE_AS + 1,
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/public/browser/download_danger_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698