| Index: content/shell/shell_download_manager_delegate.cc
|
| ===================================================================
|
| --- content/shell/shell_download_manager_delegate.cc (revision 148962)
|
| +++ content/shell/shell_download_manager_delegate.cc (working copy)
|
| @@ -24,6 +24,8 @@
|
|
|
| ShellDownloadManagerDelegate::ShellDownloadManagerDelegate()
|
| : download_manager_(NULL) {
|
| + // Balanced in Shutdown();
|
| + AddRef();
|
| }
|
|
|
| ShellDownloadManagerDelegate::~ShellDownloadManagerDelegate(){
|
| @@ -35,6 +37,10 @@
|
| download_manager_ = download_manager;
|
| }
|
|
|
| +void ShellDownloadManagerDelegate::Shutdown() {
|
| + Release();
|
| +}
|
| +
|
| bool ShellDownloadManagerDelegate::DetermineDownloadTarget(
|
| DownloadItem* download,
|
| const DownloadTargetCallback& callback) {
|
|
|