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

Unified Diff: content/public/browser/download_manager_delegate.h

Issue 10915180: Make DownloadHistory observe manager, items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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/public/browser/download_manager_delegate.h
diff --git a/content/public/browser/download_manager_delegate.h b/content/public/browser/download_manager_delegate.h
index f3112f123007af77319019c68564084a241fd404..7c8cb0cb3201c192c687b2210b727d8c7ca0ad29 100644
--- a/content/public/browser/download_manager_delegate.h
+++ b/content/public/browser/download_manager_delegate.h
@@ -100,33 +100,6 @@ class CONTENT_EXPORT DownloadManagerDelegate {
// Returns true if we need to generate a binary hash for downloads.
virtual bool GenerateFileHash();
- // Notifies the delegate that a new download item is created. The
- // DownloadManager waits for the delegate to add information about this
- // download to its persistent store. When the delegate is done, it calls
- // DownloadManager::OnDownloadItemAddedToPersistentStore.
- virtual void AddItemToPersistentStore(DownloadItem* item) {}
-
- // Notifies the delegate that information about the given download has change,
- // so that it can update its persistent store.
- // Does not update |url|, |start_time|, |total_bytes|; uses |db_handle| only
- // to select the row in the database table to update.
- virtual void UpdateItemInPersistentStore(DownloadItem* item) {}
-
- // Notifies the delegate that path for the download item has changed, so that
- // it can update its persistent store.
- virtual void UpdatePathForItemInPersistentStore(
- DownloadItem* item,
- const FilePath& new_path) {}
-
- // Notifies the delegate that it should remove the download item from its
- // persistent store.
- virtual void RemoveItemFromPersistentStore(DownloadItem* item) {}
-
- // Notifies the delegate to remove downloads from the given time range.
- virtual void RemoveItemsFromPersistentStoreBetween(
- base::Time remove_begin,
- base::Time remove_end) {}
-
// Retrieve the directories to save html pages and downloads to.
virtual void GetSaveDir(WebContents* web_contents,
FilePath* website_save_dir,

Powered by Google App Engine
This is Rietveld 408576698