| Index: chrome/browser/download/download_manager.h
|
| diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h
|
| index cb864ae41b75a06712647f67e62cd2049632d389..f4dc78d7ae13626d22bb5bd4c98a9d99d97c530f 100644
|
| --- a/chrome/browser/download/download_manager.h
|
| +++ b/chrome/browser/download/download_manager.h
|
| @@ -135,6 +135,9 @@ class DownloadManager
|
| // deleted is returned back to the caller.
|
| int RemoveAllDownloads();
|
|
|
| + // Called when a Save Page As download is started.
|
| + void SavePageAsDownloadStarted(DownloadItem* download_item);
|
| +
|
| // Download the object at the URL. Used in cases such as "Save Link As..."
|
| void DownloadUrl(const GURL& url,
|
| const GURL& referrer,
|
| @@ -307,6 +310,10 @@ class DownloadManager
|
| DownloadMap in_progress_;
|
| DownloadMap dangerous_finished_;
|
|
|
| + // Collection of all save-page-as downloads in this profile.
|
| + // It owns the DownloadItems.
|
| + std::vector<DownloadItem*> save_page_downloads_;
|
| +
|
| // True if the download manager has been initialized and requires a shutdown.
|
| bool shutdown_needed_;
|
|
|
|
|