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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.cc

Issue 7796014: Make cancel remove cancelled download from active queues at time of cancel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final Cancel arg fix. Created 9 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: chrome/browser/download/chrome_download_manager_delegate.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
index 2fd34ca7b7481c1a22f0c69c2f32c7ca5a3eda53..298d3363816a848e063e81c117f1c0f7a8144f65 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -198,8 +198,8 @@ void ChromeDownloadManagerDelegate::UpdatePathForItemInPersistentStore(
}
void ChromeDownloadManagerDelegate::RemoveItemFromPersistentStore(
- DownloadItem* item) {
- download_history_->RemoveEntry(item);
+ int64 db_handle) {
+ download_history_->RemoveEntry(db_handle);
}
void ChromeDownloadManagerDelegate::RemoveItemsFromPersistentStoreBetween(

Powered by Google App Engine
This is Rietveld 408576698