summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download
diff options
context:
space:
mode:
authorpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-30 04:57:30 +0000
committerpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-30 04:57:30 +0000
commit5035143895b698a2b8f8a43901c8df5a61b961a1 (patch)
tree7aa9776fcc54144615734b27bfc8c5643465fc56 /chrome/browser/download
parent62a0fa8a7ccb1f023fc943c342fcced5336cb0dd (diff)
downloadchromium_src-5035143895b698a2b8f8a43901c8df5a61b961a1.zip
chromium_src-5035143895b698a2b8f8a43901c8df5a61b961a1.tar.gz
chromium_src-5035143895b698a2b8f8a43901c8df5a61b961a1.tar.bz2
Make all PDF-related file extensions non-"dangerous".
BUG=148492 TEST=When downloading a file with a PDF-related extension, ensure that you never get the "this file is dangerous" warning. The PDF-related extensions are: pdf, pdfxml, mars, fdf, xfdf, xdp, and xfd. Review URL: https://codereview.chromium.org/49353005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r--chrome/browser/download/download_extensions.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/download/download_extensions.cc b/chrome/browser/download/download_extensions.cc
index 175b19a..dc235b3 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 },