Chromium Code Reviews| Index: chrome/browser/download/download_shelf_context_menu.cc |
| diff --git a/chrome/browser/download/download_shelf_context_menu.cc b/chrome/browser/download/download_shelf_context_menu.cc |
| index d73e3ef8bef1284e988ca8b5b64dcb4f0647eb58..590099a1fc51a478ccbe8cd1bf75624c1c205202 100644 |
| --- a/chrome/browser/download/download_shelf_context_menu.cc |
| +++ b/chrome/browser/download/download_shelf_context_menu.cc |
| @@ -53,9 +53,7 @@ bool DownloadShelfContextMenu::IsCommandIdEnabled(int command_id) const { |
| !download_item_->IsTemporary(); |
| case OPEN_WHEN_COMPLETE: |
| return download_item_->CanShowInFolder() && |
| - !download_item_->IsTemporary() && |
| - (!Extension::IsExtension(download_item_->GetTargetName()) || |
|
Aaron Boodman
2012/05/24 09:08:53
It's no longer important to prevent extensions fro
|
| - extensions::switch_utils::IsOffStoreInstallEnabled()); |
| + !download_item_->IsTemporary(); |
| case ALWAYS_OPEN_TYPE: |
| // For temporary downloads, the target filename might be a temporary |
| // filename. Don't base an "Always open" decision based on it. Also |