summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_history.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/download_history.h')
-rw-r--r--chrome/browser/download/download_history.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/download/download_history.h b/chrome/browser/download/download_history.h
index f4b4881..44bdf60 100644
--- a/chrome/browser/download/download_history.h
+++ b/chrome/browser/download/download_history.h
@@ -51,8 +51,10 @@ class DownloadHistory {
void UpdateDownloadPath(DownloadItem* download_item,
const FilePath& new_path);
- // Removes |download_item| from the history database.
- void RemoveEntry(DownloadItem* download_item);
+ // Removes the download identified by |db_handle| from the history database.
+ // |db_handle| is used instead of the DownloadItem pointer to allow
+ // removal after deletion of the download item.
+ void RemoveEntry(int64 db_handle);
// Removes download-related history entries in the given time range.
void RemoveEntriesBetween(const base::Time remove_begin,