summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download
diff options
context:
space:
mode:
authorasanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 20:49:39 +0000
committerasanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 20:49:39 +0000
commit9bf0fef85fb5c5f69e1a528921bef4e972066db4 (patch)
tree1707e8d3121933ab3ab8e78b325ef3b363e1a0f5 /chrome/browser/download
parent191e4da01237c9397eef72be6649c5db9388b5c1 (diff)
downloadchromium_src-9bf0fef85fb5c5f69e1a528921bef4e972066db4.zip
chromium_src-9bf0fef85fb5c5f69e1a528921bef4e972066db4.tar.gz
chromium_src-9bf0fef85fb5c5f69e1a528921bef4e972066db4.tar.bz2
Add .local and .manifest to the list of dangerous extensions
BUG=118256 TEST=none Review URL: https://chromiumcodereview.appspot.com/9704036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126985 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r--chrome/browser/download/download_extensions.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/download/download_extensions.cc b/chrome/browser/download/download_extensions.cc
index bff8b20..ebe5c8d 100644
--- a/chrome/browser/download/download_extensions.cc
+++ b/chrome/browser/download/download_extensions.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -115,10 +115,12 @@ static const struct Executables {
{ "js", AllowOnUserGesture },
{ "jse", AllowOnUserGesture },
{ "lnk", AllowOnUserGesture },
+ { "local", Dangerous },
{ "mad", AllowOnUserGesture },
{ "maf", AllowOnUserGesture },
{ "mag", AllowOnUserGesture },
{ "mam", AllowOnUserGesture },
+ { "manifest", Dangerous },
{ "maq", AllowOnUserGesture },
{ "mar", AllowOnUserGesture },
{ "mas", AllowOnUserGesture },