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

Unified Diff: content/browser/download/download_manager_impl.h

Issue 10665049: Make DownloadHistory observe manager, items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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/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 dda4be882cfda4d7cf36b12510de2ade510db650..7c8e006839b69d9b0dd7d81f80606d2e6626b2dc 100644
--- a/content/browser/download/download_manager_impl.h
+++ b/content/browser/download/download_manager_impl.h
@@ -82,8 +82,6 @@ class CONTENT_EXPORT DownloadManagerImpl
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 int InProgressCount() const OVERRIDE;
virtual content::BrowserContext* GetBrowserContext() const OVERRIDE;
virtual void CheckForHistoryFilesRemoval() OVERRIDE;
@@ -145,9 +143,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);
@@ -167,12 +162,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;

Powered by Google App Engine
This is Rietveld 408576698