Index: chrome/common/safe_browsing/download_protection_util.cc |
diff --git a/chrome/common/safe_browsing/download_protection_util.cc b/chrome/common/safe_browsing/download_protection_util.cc |
index 3358b893b1c90445d1e1468339a25e73348677ca..dad5d8c492d498b3fa6a3417704dd89fbc04469a 100644 |
--- a/chrome/common/safe_browsing/download_protection_util.cc |
+++ b/chrome/common/safe_browsing/download_protection_util.cc |
@@ -31,8 +31,13 @@ bool IsBinaryFile(const base::FilePath& file) { |
file.MatchesExtension(FILE_PATH_LITERAL(".scr")) || |
file.MatchesExtension(FILE_PATH_LITERAL(".url")) || |
file.MatchesExtension(FILE_PATH_LITERAL(".vb")) || |
+ file.MatchesExtension(FILE_PATH_LITERAL(".vbe")) || |
file.MatchesExtension(FILE_PATH_LITERAL(".vbs")) || |
+ file.MatchesExtension(FILE_PATH_LITERAL(".js")) || |
+ file.MatchesExtension(FILE_PATH_LITERAL(".jse")) || |
file.MatchesExtension(FILE_PATH_LITERAL(".website")) || |
+ file.MatchesExtension(FILE_PATH_LITERAL(".mht")) || |
+ file.MatchesExtension(FILE_PATH_LITERAL(".mhtml")) || |
// Chrome extensions and android APKs are also reported. |
file.MatchesExtension(FILE_PATH_LITERAL(".crx")) || |
file.MatchesExtension(FILE_PATH_LITERAL(".apk")) || |