| Index: chrome/browser/download/download_manager.h
|
| ===================================================================
|
| --- chrome/browser/download/download_manager.h (revision 91326)
|
| +++ chrome/browser/download/download_manager.h (working copy)
|
| @@ -266,6 +266,11 @@
|
| // been removed from the active map, or was retrieved from the history DB.
|
| DownloadItem* GetDownloadItem(int id);
|
|
|
| + DownloadHistory* download_history() { return download_history_.get(); }
|
| +
|
| + // Add a DownloadItem to history_downloads_.
|
| + void AddDownloadItemToHistory(DownloadItem* item, int64 db_handle);
|
| +
|
| private:
|
| // For testing.
|
| friend class DownloadManagerTest;
|
| @@ -352,9 +357,6 @@
|
| // containers; no-op if NDEBUG.
|
| void AssertContainersConsistent() const;
|
|
|
| - // Add a DownloadItem to history_downloads_.
|
| - void AddDownloadItemToHistory(DownloadItem* item, int64 db_handle);
|
| -
|
| // |downloads_| is the owning set for all downloads known to the
|
| // DownloadManager. This includes downloads started by the user in
|
| // this session, downloads initialized from the history system, and
|
|
|