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

Unified Diff: chrome/browser/download/download_extensions.cc

Issue 1881763002: Add more mac executable extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit 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 | « no previous file | chrome/browser/safe_browsing/download_protection_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_extensions.cc
diff --git a/chrome/browser/download/download_extensions.cc b/chrome/browser/download/download_extensions.cc
index 00d0bd555690e3c362d80dce28aa2db82c26ed03..504f22f3b4eb562cb9df0015738c5f5150159975 100644
--- a/chrome/browser/download/download_extensions.cc
+++ b/chrome/browser/download/download_extensions.cc
@@ -502,7 +502,22 @@ const struct FileType {
// Package management formats. OS_WIN package formats are handled above.
#if defined(OS_MACOSX) || defined(OS_LINUX)
Robert Sesek 2016/04/15 21:21:38 Not sure these apply to OS_LINUX.
Jialiu Lin 2016/04/15 22:01:06 You're totally right.... Thanks for catching this.
+ {"cdr", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"dart", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"dc42", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"diskcopy42", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"dmg", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"dmgpart", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"dvdr", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"img", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"imgpart", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"ndif", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
{"pkg", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"smi", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"sparsebundle", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"sparseimage", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"toast", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
+ {"udif", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
#endif
#if defined(OS_LINUX)
{"deb", ALLOW_ON_USER_GESTURE, DISALLOW_AUTO_OPEN},
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/download_protection_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698