Chromium Code Reviews| Index: chrome/browser/download/download_extensions.cc |
| diff --git a/chrome/browser/download/download_extensions.cc b/chrome/browser/download/download_extensions.cc |
| index b8041b588e780288baeb58e0eaed538c56ec74ab..ce9dfcd51306914cf36a9e9e6c77234b00e82e23 100644 |
| --- a/chrome/browser/download/download_extensions.cc |
| +++ b/chrome/browser/download/download_extensions.cc |
| @@ -66,6 +66,8 @@ static const struct Executables { |
| { "class", DANGEROUS }, |
| { "jar", DANGEROUS }, |
| { "jnlp", DANGEROUS }, |
| +#endif |
| +#if !defined(OS_CHROMEOS) || !defined(OS_ANDROID) |
|
asanka
2013/08/09 21:33:30
You want && here.
palmer
2013/08/09 22:56:09
Done.
|
| // Relating to PDF. |
| { "pdf", ALLOW_ON_USER_GESTURE }, |
| { "pdfxml", ALLOW_ON_USER_GESTURE }, |
| @@ -77,6 +79,7 @@ static const struct Executables { |
| // Relating to scripting languages. |
| { "pl", ALLOW_ON_USER_GESTURE }, |
| { "py", ALLOW_ON_USER_GESTURE }, |
| + { "pyc", ALLOW_ON_USER_GESTURE }, |
| { "pyw", ALLOW_ON_USER_GESTURE }, |
| { "rb", ALLOW_ON_USER_GESTURE }, |
| #endif |