summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_create_info.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 23:14:15 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 23:14:15 +0000
commit8800800697a3463b8ebcdb86acad746943088b70 (patch)
treee88e7b8119079a4f0b066743b37612f570723bdb /chrome/browser/download/download_create_info.cc
parent30fc7a827148fe22782fc8202e9c8602d1448a01 (diff)
downloadchromium_src-8800800697a3463b8ebcdb86acad746943088b70.zip
chromium_src-8800800697a3463b8ebcdb86acad746943088b70.tar.gz
chromium_src-8800800697a3463b8ebcdb86acad746943088b70.tar.bz2
For downloads requiring a user gesture, also require the user to have visited the site before today, to hamper attackers.
BUG=81741 TEST=.exe downloads on Windows triggered by an explicit link click should prompt you to confirm iff they are hosted on a site you have not visited before today. Review URL: http://codereview.chromium.org/7065015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86518 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_create_info.cc')
-rw-r--r--chrome/browser/download/download_create_info.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/download/download_create_info.cc b/chrome/browser/download/download_create_info.cc
index 4a64b64..8a77e82 100644
--- a/chrome/browser/download/download_create_info.cc
+++ b/chrome/browser/download/download_create_info.cc
@@ -28,8 +28,6 @@ DownloadCreateInfo::DownloadCreateInfo(const FilePath& path,
has_user_gesture(has_user_gesture),
db_handle(0),
prompt_user_for_save_location(false),
- is_dangerous_file(false),
- is_dangerous_url(false),
is_extension_install(false) {
}
@@ -42,8 +40,6 @@ DownloadCreateInfo::DownloadCreateInfo()
has_user_gesture(false),
db_handle(0),
prompt_user_for_save_location(false),
- is_dangerous_file(false),
- is_dangerous_url(false),
is_extension_install(false) {
}