[Downloads] Remove intermediate files when no longer necessary.
commit7b3eeca47687c60ceefe1a08bdc45c296c3c2dbe
authorasanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 23 May 2013 20:56:37 +0000 (23 20:56 +0000)
committerasanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 23 May 2013 20:56:37 +0000 (23 20:56 +0000)
treeaafa6cf201576576b43c2c498ee69e76f462245c
parent2da659e6279cf515940eb8a091e09e27281a97d6
[Downloads] Remove intermediate files when no longer necessary.

When cancelling or removing an interrupted download, the associated
intermediate file should also be removed. That file is only necessary if
the download is going to be resumed.

BUG=7648
BUG=196806

Review URL: https://chromiumcodereview.appspot.com/14958002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201883 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/download/download_browsertest.cc
content/browser/download/download_item_impl.cc
content/browser/download/download_manager_impl.cc