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

Unified Diff: chrome/browser/automation/automation_provider_observers.cc

Issue 7294013: Modified cancel and interrupt processing to avoid race with history. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed various problems surfaced by trybots. Created 9 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: chrome/browser/automation/automation_provider_observers.cc
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc
index 95b103d4e07d08014c861c13ccf8b888cecbde02..8024134ca438aac81d9cff1d5e7a72b5c5befc53 100644
--- a/chrome/browser/automation/automation_provider_observers.cc
+++ b/chrome/browser/automation/automation_provider_observers.cc
@@ -1461,7 +1461,7 @@ void AutomationProviderDownloadItemObserver::OnDownloadUpdated(
// download is cancelled.
if (interrupted_) {
// |Cancel()| does nothing if |download| is already interrupted.
- download->Cancel(true);
+ download->Cancel();
RemoveAndCleanupOnLastEntry(download);
}
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | chrome/browser/download/download_history.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698