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

Unified Diff: chrome/browser/ui/webui/downloads_dom_handler.cc

Issue 7983037: Revert 102126 - Make cancel remove cancelled download from active queues at time of cancel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/ui/webui/downloads_dom_handler.cc
===================================================================
--- chrome/browser/ui/webui/downloads_dom_handler.cc (revision 102135)
+++ chrome/browser/ui/webui/downloads_dom_handler.cc (working copy)
@@ -314,7 +314,7 @@
CountDownloadsDOMEvents(DOWNLOADS_DOM_EVENT_CANCEL);
DownloadItem* file = GetDownloadByValue(args);
if (file)
- file->Cancel();
+ file->Cancel(true);
}
void DownloadsDOMHandler::HandleClearAll(const ListValue* args) {
« no previous file with comments | « chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc ('k') | chrome/test/data/download-dangerous.jar » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698