Show interrupted downloads as well as regular downloads in the browser.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11515015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172409 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc
index 3be8661..379a498 100644
--- a/content/browser/download/download_item_impl.cc
+++ b/content/browser/download/download_item_impl.cc
@@ -1040,12 +1040,11 @@
const FilePath& full_path) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
VLOG(20) << __FUNCTION__ << " download=" << DebugString(true);
- if (DOWNLOAD_INTERRUPT_REASON_NONE != reason) {
+ if (DOWNLOAD_INTERRUPT_REASON_NONE != reason)
Interrupt(reason);
- } else {
+ else
SetFullPath(full_path);
- delegate_->ShowDownloadInBrowser(this);
- }
+ delegate_->ShowDownloadInBrowser(this);
MaybeCompleteDownload();
}