summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_request_manager.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-29 17:40:39 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-29 17:40:39 +0000
commit9db08f1270a6ca637ea72b0230125d726441d128 (patch)
tree54ee843dbefd0a057d1d6c00e671c927df7a48d8 /chrome/browser/download/download_request_manager.cc
parent95ce56621a1202b00716136dc4a6d2664e3a3d07 (diff)
downloadchromium_src-9db08f1270a6ca637ea72b0230125d726441d128.zip
chromium_src-9db08f1270a6ca637ea72b0230125d726441d128.tar.gz
chromium_src-9db08f1270a6ca637ea72b0230125d726441d128.tar.bz2
Implement the "This site is attempting to download
multiple files. Do you want to allow this?" dialog on linux. BUG=12757 TEST=Download several files from the same domain. After the first download, you should be prompted for every additional file you want to download from that domain (try for example http://amnoid.de/ddsview/download.html , click on the "download" link twice). Review URL: http://codereview.chromium.org/159528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/download_request_manager.cc')
-rw-r--r--chrome/browser/download/download_request_manager.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/download/download_request_manager.cc b/chrome/browser/download/download_request_manager.cc
index d779b66..e5745d9 100644
--- a/chrome/browser/download/download_request_manager.cc
+++ b/chrome/browser/download/download_request_manager.cc
@@ -70,10 +70,6 @@ void DownloadRequestManager::TabDownloadState::PromptUserForDownload(
NotifyCallbacks(DownloadRequestManager::delegate_->ShouldAllowDownload());
} else {
dialog_delegate_ = DownloadRequestDialogDelegate::Create(tab, this);
- // TODO(estade): the dialog delegate isn't yet implemented on linux. Just
- // assume we shouldn't allow the download.
- if (dialog_delegate_ == NULL)
- NotifyCallbacks(false);
}
}