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

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

Issue 10912183: Remove DownloadManager::GetDownloadItem in favor of GetDownload() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 db76c141d404a3526c9ba57790d124f6a78b0b54..1105a7d7f5843c9e9412ccd961c0a72e7b89aab9 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -195,10 +195,6 @@ class CONTENT_EXPORT DownloadManager
// finish asynchronously after this method returns.
virtual void CheckForHistoryFilesRemoval() = 0;
- // Get the download item from the history map. Useful after the item has
- // been removed from the active map, or was retrieved from the history DB.
- virtual DownloadItem* GetDownloadItem(int id) = 0;
-
// Get the download item for |id| if present, no matter what type of download
// it is or state it's in.
virtual DownloadItem* GetDownload(int id) = 0;
@@ -206,10 +202,6 @@ class CONTENT_EXPORT DownloadManager
// Called when Save Page download is done.
virtual void SavePageDownloadFinished(DownloadItem* download) = 0;
- // Get the download item from the active map. Useful when the item is not
- // yet in the history map.
- virtual DownloadItem* GetActiveDownloadItem(int id) = 0;
-
protected:
virtual ~DownloadManager() {}

Powered by Google App Engine
This is Rietveld 408576698