| 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 5dfb4921678ec9c88ea2f8089ab59b2293cf8903..70ca4c61b5d5901c2efb03faf038bd1a15fae327 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();
|
| }
|
| @@ -181,12 +180,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;
|
|
|