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

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 7501f0ef1dea5b153d8e47d642b4328687d1708c..c9682ac943a91e817e4d61e081b10f1cd1dfb206 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -203,10 +203,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;
@@ -214,10 +210,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;
-
virtual bool GenerateFileHash() = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698