summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-08 20:07:04 +0000
committerpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-08 20:07:04 +0000
commitc0e85d0bf3266195b2dfd459c50c378395adeea6 (patch)
treebf4181af8a25f1a8d47e822811227684ef83c088 /chrome/browser
parent93e0babab8dc046ae83a1d836fb2fe5eed09f2f1 (diff)
downloadchromium_src-c0e85d0bf3266195b2dfd459c50c378395adeea6.zip
chromium_src-c0e85d0bf3266195b2dfd459c50c378395adeea6.tar.gz
chromium_src-c0e85d0bf3266195b2dfd459c50c378395adeea6.tar.bz2
Don't open XML files by default in Chrome.
BUG=346359,347853 Review URL: https://codereview.chromium.org/227493008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/download/chrome_download_manager_delegate.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
index f197663..dd3b42a 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -197,7 +197,6 @@ bool IsOpenInBrowserPreferreredForFile(const base::FilePath& path) {
path.MatchesExtension(FILE_PATH_LITERAL(".xht")) ||
path.MatchesExtension(FILE_PATH_LITERAL(".xhtm")) ||
path.MatchesExtension(FILE_PATH_LITERAL(".xhtml")) ||
- path.MatchesExtension(FILE_PATH_LITERAL(".xml")) ||
path.MatchesExtension(FILE_PATH_LITERAL(".xsl")) ||
path.MatchesExtension(FILE_PATH_LITERAL(".xslt"))) {
return true;