Index: content/shell/shell_download_manager_delegate.cc |
diff --git a/content/shell/shell_download_manager_delegate.cc b/content/shell/shell_download_manager_delegate.cc |
index 8290ea2d2f6f9f3152056fcebc71f046058f8bd4..bbc299db44b22b50d1f5ab70da75c3c60745d1d5 100644 |
--- a/content/shell/shell_download_manager_delegate.cc |
+++ b/content/shell/shell_download_manager_delegate.cc |
@@ -29,8 +29,7 @@ namespace content { |
ShellDownloadManagerDelegate::ShellDownloadManagerDelegate() |
: download_manager_(NULL), |
- suppress_prompting_(false), |
- last_download_db_handle_(DownloadItem::kUninitializedHandle) { |
+ suppress_prompting_(false) { |
// Balanced in Shutdown(); |
AddRef(); |
} |
@@ -182,12 +181,6 @@ void ShellDownloadManagerDelegate::ChooseDownloadPath( |
DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, result); |
} |
-void ShellDownloadManagerDelegate::AddItemToPersistentStore( |
- DownloadItem* item) { |
- download_manager_->OnItemAddedToPersistentStore( |
- item->GetId(), --last_download_db_handle_); |
-} |
- |
void ShellDownloadManagerDelegate::SetDownloadBehaviorForTesting( |
const FilePath& default_download_path) { |
default_download_path_ = default_download_path; |