Index: chrome/browser/download/download_manager.h |
diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h |
index e3ffd0291865a7b046fa79421abb3821db9695f3..a9ddefa878834a0c1b4715e01354c48ff33712f7 100644 |
--- a/chrome/browser/download/download_manager.h |
+++ b/chrome/browser/download/download_manager.h |
@@ -261,6 +261,10 @@ class DownloadManager |
// in the DownloadManager. For debugging. |
void AssertQueueStateConsistent(DownloadItem* download); |
+ // 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. |
+ DownloadItem* GetDownloadItem(int id); |
+ |
private: |
// For testing. |
friend class DownloadManagerTest; |
@@ -339,10 +343,6 @@ class DownloadManager |
// Inform observers that the model has changed. |
void NotifyModelChanged(); |
- // 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. |
- DownloadItem* GetDownloadItem(int id); |
- |
// Get the download item from the active map. Useful when the item is not |
// yet in the history map. |
DownloadItem* GetActiveDownloadItem(int id); |