[Downloads] Add more browser tests for resumption.

During downloads resumption, most of the legwork is done by the core
downloads code in content/browser/downloads. However, the
chrome/browser/download is also responsible for download filename
determination as well as prompting the user when necessary. These are
browser tests for testing resumption at the chrome/ level.

DownloadItemImpl modified to preserve the download interrupt reason
when resuming and also making sure that OnDownloadUpdated()
notifications are sent when the value of DownloadItem::CanResume()
changes.

TBR=joi
BUG=7648

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210052 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed