Index: content/shell/shell_download_manager_delegate.h |
diff --git a/content/shell/shell_download_manager_delegate.h b/content/shell/shell_download_manager_delegate.h |
index 36f1aa4ac302c81a4a0e24607595a2fd07484cdc..12cc5eeae64dda7cff90501b3a392b0fcbb38a07 100644 |
--- a/content/shell/shell_download_manager_delegate.h |
+++ b/content/shell/shell_download_manager_delegate.h |
@@ -21,8 +21,9 @@ class ShellDownloadManagerDelegate |
void SetDownloadManager(DownloadManager* manager); |
- virtual bool ShouldStartDownload(int32 download_id) OVERRIDE; |
- virtual void ChooseDownloadPath(DownloadItem* item) OVERRIDE; |
+ virtual bool DetermineDownloadTarget( |
+ DownloadItem* download, |
+ const DownloadTargetCallback& callback) OVERRIDE; |
private: |
friend class base::RefCountedThreadSafe<ShellDownloadManagerDelegate>; |
@@ -30,9 +31,11 @@ class ShellDownloadManagerDelegate |
virtual ~ShellDownloadManagerDelegate(); |
void GenerateFilename(int32 download_id, |
+ const DownloadTargetCallback& callback, |
const FilePath& generated_name); |
- void RestartDownload(int32 download_id, |
- const FilePath& suggested_path); |
+ void ChooseDownloadPath(int32 download_id, |
+ const DownloadTargetCallback& callback, |
+ const FilePath& suggested_path); |
DownloadManager* download_manager_; |