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

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 b96fcbcf44f396c07607b4674991567f5cec50ff..5de2073a4ca6b136944e8164a28a9843feef2880 100644
--- a/content/public/browser/download_manager.h
+++ b/content/public/browser/download_manager.h
@@ -190,10 +190,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;
@@ -201,10 +197,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() {}
« no previous file with comments | « content/browser/download/download_manager_impl_unittest.cc ('k') | content/public/test/download_test_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698