| Index: content/browser/download/download_manager_impl.h
|
| diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h
|
| index 71af241d0f86fdfa2000c664f10ad5456896436d..ecc6ca45fcfbcf279b2cff70dfe01dc4b7a05778 100644
|
| --- a/content/browser/download/download_manager_impl.h
|
| +++ b/content/browser/download/download_manager_impl.h
|
| @@ -74,17 +74,21 @@ class CONTENT_EXPORT DownloadManagerImpl
|
| scoped_ptr<content::DownloadUrlParameters> params) OVERRIDE;
|
| virtual void AddObserver(Observer* observer) OVERRIDE;
|
| virtual void RemoveObserver(Observer* observer) OVERRIDE;
|
| - virtual void OnPersistentStoreQueryComplete(
|
| - std::vector<content::DownloadPersistentStoreInfo>* entries) OVERRIDE;
|
| - virtual void OnItemAddedToPersistentStore(int32 download_id,
|
| - int64 db_handle) OVERRIDE;
|
| + virtual content::DownloadItem* CreateDownloadItem(
|
| + const FilePath& path,
|
| + const GURL& url,
|
| + const GURL& referrer_url,
|
| + const base::Time& start_time,
|
| + const base::Time& end_time,
|
| + int64 received_bytes,
|
| + int64 total_bytes,
|
| + content::DownloadItem::DownloadState state,
|
| + bool opened) OVERRIDE;
|
| virtual int InProgressCount() const OVERRIDE;
|
| virtual content::BrowserContext* GetBrowserContext() const OVERRIDE;
|
| virtual void CheckForHistoryFilesRemoval() OVERRIDE;
|
| virtual content::DownloadItem* GetDownloadItem(int id) OVERRIDE;
|
| virtual content::DownloadItem* GetDownload(int id) OVERRIDE;
|
| - virtual void SavePageDownloadFinished(
|
| - content::DownloadItem* download) OVERRIDE;
|
| virtual content::DownloadItem* GetActiveDownloadItem(int id) OVERRIDE;
|
|
|
| private:
|
| @@ -138,9 +142,6 @@ class CONTENT_EXPORT DownloadManagerImpl
|
| // containers; no-op if NDEBUG.
|
| void AssertContainersConsistent() const;
|
|
|
| - // Add a DownloadItem to history_downloads_.
|
| - void AddDownloadItemToHistory(DownloadItemImpl* item, int64 db_handle);
|
| -
|
| // Remove from internal maps.
|
| int RemoveDownloadItems(const DownloadItemImplVector& pending_deletes);
|
|
|
| @@ -160,12 +161,6 @@ class CONTENT_EXPORT DownloadManagerImpl
|
| content::DownloadDangerType danger_type,
|
| const FilePath& intermediate_path);
|
|
|
| - // Called when a download entry is committed to the persistent store.
|
| - void OnDownloadItemAddedToPersistentStore(DownloadItemImpl* item);
|
| -
|
| - // Called when Save Page As entry is committed to the persistent store.
|
| - void OnSavePageItemAddedToPersistentStore(DownloadItemImpl* item);
|
| -
|
| // Overridden from DownloadItemImplDelegate
|
| // (Note that |GetBrowserContext| are present in both interfaces.)
|
| virtual DownloadFileManager* GetDownloadFileManager() OVERRIDE;
|
| @@ -179,7 +174,6 @@ class CONTENT_EXPORT DownloadManagerImpl
|
| virtual void DownloadRemoved(DownloadItemImpl* download) OVERRIDE;
|
| virtual void DownloadRenamedToIntermediateName(
|
| DownloadItemImpl* download) OVERRIDE;
|
| - virtual void DownloadRenamedToFinalName(DownloadItemImpl* download) OVERRIDE;
|
| virtual void AssertStateConsistent(DownloadItemImpl* download) const OVERRIDE;
|
|
|
| // Factory for creation of downloads items.
|
|
|