diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 18:41:02 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 18:41:02 +0000 |
commit | 7baa61a951bfa7ef8dde06bd20dace3cdc0efca7 (patch) | |
tree | 6a60bed6bbd57e25f92b2bd4b3057c826db4058e /chrome/browser/download | |
parent | 052253378d4028a4c9f903cc139282a68f70944f (diff) | |
download | chromium_src-7baa61a951bfa7ef8dde06bd20dace3cdc0efca7.zip chromium_src-7baa61a951bfa7ef8dde06bd20dace3cdc0efca7.tar.gz chromium_src-7baa61a951bfa7ef8dde06bd20dace3cdc0efca7.tar.bz2 |
Remove one more notimpl.
BUG=12052
Review URL: http://codereview.chromium.org/113713
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r-- | chrome/browser/download/download_shelf.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/download/download_shelf.cc b/chrome/browser/download/download_shelf.cc index 1486ec3..b71caee 100644 --- a/chrome/browser/download/download_shelf.cc +++ b/chrome/browser/download/download_shelf.cc @@ -90,10 +90,9 @@ bool DownloadShelfContextMenu::IsItemCommandEnabled(int id) const { case ALWAYS_OPEN_TYPE: #if defined(OS_WIN) return download_util::CanOpenDownload(download_); -#else - // TODO(port): port download_util - NOTIMPLEMENTED(); - return true; +#elif defined(OS_LINUX) + // Need to implement dangerous download stuff: http://crbug.com/11780 + return false; #endif case CANCEL: return download_->state() == DownloadItem::IN_PROGRESS; |