Index: content/public/browser/download_manager.h |
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h |
index 4d854e201c842d7a6f2bd136a127393b9b1f9f7c..d7a352c6a4ffc74d890edfe5878533ae63eb5a54 100644 |
--- a/content/public/browser/download_manager.h |
+++ b/content/public/browser/download_manager.h |
@@ -88,12 +88,6 @@ class CONTENT_EXPORT DownloadManager |
// from calling back to a stale pointer. |
virtual void ManagerGoingDown(DownloadManager* manager) {} |
- // Called immediately after the DownloadManager puts up a select file |
- // dialog. |
- // |id| indicates which download opened the dialog. |
- virtual void SelectFileDialogDisplayed( |
- DownloadManager* manager, int32 id) {} |
- |
protected: |
virtual ~Observer() {} |
}; |
@@ -196,8 +190,6 @@ class CONTENT_EXPORT DownloadManager |
virtual BrowserContext* GetBrowserContext() const = 0; |
- virtual FilePath LastDownloadPath() = 0; |
- |
// Creates the download item. Must be called on the UI thread. |
// Returns the |BoundNetLog| used by the |DownloadItem|. |
virtual net::BoundNetLog CreateDownloadItem(DownloadCreateInfo* info) = 0; |
@@ -212,17 +204,6 @@ class CONTENT_EXPORT DownloadManager |
const std::string& mime_type, |
DownloadItem::Observer* observer) = 0; |
- // Clears the last download path, used to initialize "save as" dialogs. |
- virtual void ClearLastDownloadPath() = 0; |
- |
- // Called by the delegate after the save as dialog is closed. |
- virtual void FileSelected(const FilePath& path, int32 download_id) = 0; |
- virtual void FileSelectionCanceled(int32 download_id) = 0; |
- |
- // Called by the delegate if it delayed the download in |
- // DownloadManagerDelegate::ShouldStartDownload and now is ready. |
- virtual void RestartDownload(int32 download_id) = 0; |
- |
// Checks whether downloaded files still exist. Updates state of downloads |
// that refer to removed files. The check runs in the background and may |
// finish asynchronously after this method returns. |