| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
even if there's a mismatch between the current extension
(saying it is executable) and the muime type (saying it is
not).
BUG=57080
TEST=unit_tests, DownloadUtil*
Review URL: http://codereview.chromium.org/3694003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62419 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Map it to .sh, also mark it as executable. Either one of these fixes alone would take care of this bug, but 2 fixes are better than 1!
BUG=56855
TEST=manual (see bug)
Review URL: http://codereview.chromium.org/3557003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61075 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
We still append extensions to extensionless downloads, and do some extension rewriting around dangerous extensions, but don't try to be smart about renaming, e.g., .txt to .zip
BUG=57080
TEST=download_util_unittest
Review URL: http://codereview.chromium.org/3453027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61070 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=52250
TEST=included
Review URL: http://codereview.chromium.org/3173048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57760 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
TBR=ahendrickson
TEST=unit_tests
BUG=48913
Review URL: http://codereview.chromium.org/3058052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55100 0039d316-1c4b-4281-b951-d872f2087c98
|
|
- move filename generation parts and related code out of DownloadManager
download_util is not the best place for it, but it's better than
DownloadManager which we're trying to minimize
- clean up posting tasks to different threads. There's no need to create
separate methods for that, it was cluttering the file needlessly
- other minor cleanups, like using static_cast instead of C-style cast
TEST=unit_tests, browser_tests, ui_tests
BUG=48913
Review URL: http://codereview.chromium.org/3043048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55088 0039d316-1c4b-4281-b951-d872f2087c98
|