summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/download/download_manager.cc5
-rw-r--r--chrome/browser/tab_contents/render_view_context_menu.cc1
2 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc
index bd74f91..7cceb9e 100644
--- a/chrome/browser/download/download_manager.cc
+++ b/chrome/browser/download/download_manager.cc
@@ -635,7 +635,6 @@ void DownloadManager::OnPathExistenceAvailable(DownloadCreateInfo* info) {
DCHECK(info);
if (info->save_as) {
-#if defined(OS_WIN) || defined(OS_LINUX)
// We must ask the user for the place to put the download.
if (!select_file_dialog_.get())
select_file_dialog_ = SelectFileDialog::Create(this);
@@ -655,10 +654,6 @@ void DownloadManager::OnPathExistenceAvailable(DownloadCreateInfo* info) {
info->suggested_path,
&file_type_info, 0, FILE_PATH_LITERAL(""),
owning_window, info);
-#elif defined(OS_MACOSX)
- // TODO(port): port this file -- need dialogs.
- NOTIMPLEMENTED();
-#endif
} else {
// No prompting for download, just continue with the suggested name.
ContinueStartDownload(info, info->suggested_path);
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
index 3fae586..a32c557 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -371,7 +371,6 @@ void RenderViewContextMenu::ExecuteItemCommand(int id) {
OpenURL(params_.link_url, OFF_THE_RECORD, PageTransition::LINK);
break;
- // TODO(paulg): Prompt the user for file name when saving links and images.
case IDS_CONTENT_CONTEXT_SAVEIMAGEAS:
case IDS_CONTENT_CONTEXT_SAVELINKAS: {
const GURL& referrer =