diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-15 22:54:30 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-15 22:54:30 +0000 |
commit | 2941c23929d4fd1006c77926dd5d73ecbbe0524f (patch) | |
tree | 44a1b8640c862cee7e81ef716f12e18b2dc9a000 /media | |
parent | fbf50470c2003cbf2943fa749e55e9705041af62 (diff) | |
download | chromium_src-2941c23929d4fd1006c77926dd5d73ecbbe0524f.zip chromium_src-2941c23929d4fd1006c77926dd5d73ecbbe0524f.tar.gz chromium_src-2941c23929d4fd1006c77926dd5d73ecbbe0524f.tar.bz2 |
Don't prompt to save for filetypes marked as auto-open.
Check if the generated file extension is in the auto-open list. If so, don't bother displaying the save as dialog even if the always prompt for download option is on.
Original patch by James Simonsen (see http://codereview.chromium.org/2910003 ), r=me.
BUG=18587
TEST=Turn on prompt for download option. Mark a filetype as always open. Download a file of that type and make sure no dialog appears.
Review URL: http://codereview.chromium.org/2823043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions