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

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

Issue 49353005: Make all PDF-related file extensions non-"dangerous". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | no next file » | 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 175b19a333889e7d4b11ef584da2b7cf064ffe4e..dc235b31039cee5bd5ce4a3859eedff42f4615f5 100644
--- a/chrome/browser/download/download_extensions.cc
+++ b/chrome/browser/download/download_extensions.cc
@@ -68,13 +68,6 @@ static const struct Executables {
{ "jnlp", DANGEROUS },
#endif
#if !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
- // Relating to PDF. ".pdf" per se is not considered dangerous.
- { "pdfxml", ALLOW_ON_USER_GESTURE },
- { "mars", ALLOW_ON_USER_GESTURE },
- { "fdf", ALLOW_ON_USER_GESTURE },
- { "xfdf", ALLOW_ON_USER_GESTURE },
- { "xdp", ALLOW_ON_USER_GESTURE },
- { "xfd", ALLOW_ON_USER_GESTURE },
// Relating to scripting languages.
{ "pl", ALLOW_ON_USER_GESTURE },
{ "py", ALLOW_ON_USER_GESTURE },
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698