Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Unified Diff: content/public/browser/download_manager.h

Issue 10704052: Download filename determination refactor (3/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/download_manager.h
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h
index 09628b0268a217e273cd1e564cbe5d1a03d1422e..e80e0ef3e9740d65951253f2775e3ef25ea19064 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -87,12 +87,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() {}
};
@@ -193,19 +187,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.

Powered by Google App Engine
This is Rietveld 408576698