| Index: content/public/browser/download_manager.h
|
| diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h
|
| index eea06be21037444a15af21a0bbce6a43ecd3f1c4..7501f0ef1dea5b153d8e47d642b4328687d1708c 100644
|
| --- a/content/public/browser/download_manager.h
|
| +++ b/content/public/browser/download_manager.h
|
| @@ -98,12 +98,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() {}
|
| };
|
| @@ -134,9 +128,9 @@ class CONTENT_EXPORT DownloadManager
|
| // to initiate the non-source portions of a download.
|
| // Returns the id assigned to the download. If the DownloadCreateInfo
|
| // specifies an id, that id will be used.
|
| - virtual content::DownloadId StartDownload(
|
| + virtual DownloadId StartDownload(
|
| scoped_ptr<DownloadCreateInfo> info,
|
| - scoped_ptr<content::ByteStreamReader> stream) = 0;
|
| + scoped_ptr<ByteStreamReader> stream) = 0;
|
|
|
| // Notifications sent from the download thread to the UI thread
|
| virtual void UpdateDownload(int32 download_id,
|
| @@ -204,19 +198,6 @@ class CONTENT_EXPORT DownloadManager
|
|
|
| virtual BrowserContext* GetBrowserContext() const = 0;
|
|
|
| - virtual FilePath LastDownloadPath() = 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.
|
|
|