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

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

Issue 1881763002: Add more mac executable extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update download stats Created 4 years, 8 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 | « chrome/common/safe_browsing/download_protection_util.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_stats.cc
diff --git a/content/browser/download/download_stats.cc b/content/browser/download/download_stats.cc
index 6cd66f2e0fdec62dba0f9cc925522aec62690419..9da8ca80e615c71dca58c5e0e19e5455cf78cf59 100644
--- a/content/browser/download/download_stats.cc
+++ b/content/browser/download/download_stats.cc
@@ -320,6 +320,21 @@ const base::FilePath::CharType* kDangerousFileTypes[] = {
FILE_PATH_LITERAL(".zip"),
FILE_PATH_LITERAL(".zipx"),
FILE_PATH_LITERAL(".zpaq"),
+ FILE_PATH_LITERAL(".cdr"),
+ FILE_PATH_LITERAL(".dart"),
+ FILE_PATH_LITERAL(".dc42"),
+ FILE_PATH_LITERAL(".diskcopy42"),
+ FILE_PATH_LITERAL(".dmg"),
+ FILE_PATH_LITERAL(".dmgpart"),
+ FILE_PATH_LITERAL(".dvdr"),
+ FILE_PATH_LITERAL(".img"),
+ FILE_PATH_LITERAL(".imgpart"),
+ FILE_PATH_LITERAL(".ndif"),
+ FILE_PATH_LITERAL(".smi"),
+ FILE_PATH_LITERAL(".sparsebundle"),
+ FILE_PATH_LITERAL(".sparseimage"),
+ FILE_PATH_LITERAL(".toast"),
+ FILE_PATH_LITERAL(".udif"),
};
// Maps extensions to their matching UMA histogram int value.
« no previous file with comments | « chrome/common/safe_browsing/download_protection_util.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698