Chromium Code Reviews| Index: content/browser/download/download_manager_impl.h |
| diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h |
| index dd54fc2b096f44232e8ddd5a5e75a98610408c3b..b0c2e5b538c841a995d0f1e45dde8c891d10f71c 100644 |
| --- a/content/browser/download/download_manager_impl.h |
| +++ b/content/browser/download/download_manager_impl.h |
| @@ -76,7 +76,6 @@ class CONTENT_EXPORT DownloadManagerImpl |
| int64 db_handle) OVERRIDE; |
| virtual int InProgressCount() const OVERRIDE; |
| virtual content::BrowserContext* GetBrowserContext() const OVERRIDE; |
| - virtual FilePath LastDownloadPath() OVERRIDE; |
| virtual net::BoundNetLog CreateDownloadItem( |
| DownloadCreateInfo* info) OVERRIDE; |
| virtual content::DownloadItem* CreateSavePackageDownloadItem( |
| @@ -85,10 +84,7 @@ class CONTENT_EXPORT DownloadManagerImpl |
| bool is_otr, |
| const std::string& mime_type, |
| content::DownloadItem::Observer* observer) OVERRIDE; |
| - virtual void ClearLastDownloadPath() OVERRIDE; |
| - virtual void FileSelected(const FilePath& path, int32 download_id) OVERRIDE; |
| - virtual void FileSelectionCanceled(int32 download_id) OVERRIDE; |
| - virtual void RestartDownload(int32 download_id) OVERRIDE; |
| + virtual void ClearTransientState() OVERRIDE; |
| virtual void CheckForHistoryFilesRemoval() OVERRIDE; |
| virtual content::DownloadItem* GetDownloadItem(int id) OVERRIDE; |
| virtual content::DownloadItem* GetDownload(int id) OVERRIDE; |
| @@ -99,6 +95,7 @@ class CONTENT_EXPORT DownloadManagerImpl |
| // Overridden from DownloadItemImpl::Delegate |
| // (Note that |GetBrowserContext| are present in both interfaces.) |
| + virtual DownloadFileManager* GetDownloadFileManager() OVERRIDE; |
| virtual bool ShouldOpenDownload(content::DownloadItem* item) OVERRIDE; |
| virtual bool ShouldOpenFileBasedOnExtension( |
| const FilePath& path) OVERRIDE; |
| @@ -154,11 +151,6 @@ class CONTENT_EXPORT DownloadManagerImpl |
| // and then notifies this update to the file's observer. |
| void OnFileRemovalDetected(int32 download_id); |
| - // Called back after a target path for the file to be downloaded to has been |
| - // determined, either automatically based on the suggested file name, or by |
| - // the user in a Save As dialog box. |
| - void OnTargetPathAvailable(content::DownloadItem* download); |
|
Randy Smith (Not in Mondays)
2012/07/05 15:42:32
As noted in dmd.h this interface implies the DMD i
asanka
2012/07/09 21:13:46
Done.
|
| - |
| // Retrieves the download from the |download_id|. |
| // Returns NULL if the download is not active. |
| content::DownloadItem* GetActiveDownload(int32 download_id); |
| @@ -241,10 +233,6 @@ class CONTENT_EXPORT DownloadManagerImpl |
| // Non-owning pointer for handling file writing on the download_thread_. |
| DownloadFileManager* file_manager_; |
| - // The user's last choice for download directory. This is only used when the |
| - // user wants us to prompt for a save location for each download. |
| - FilePath last_download_path_; |
| - |
| // Allows an embedder to control behavior. Guaranteed to outlive this object. |
| content::DownloadManagerDelegate* delegate_; |