commit | fb48765b38742e4a63e804853fceb89db27ab405 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Sun Mar 24 09:29:19 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Sun Mar 24 09:29:19 2013 |
tree | 6380838352eeeceb69ff53dcf67f11a48d73cadb | |
parent | 2cef1d37ff23c5a191f136c6371dc1dc6d9ac3c7 [diff] [blame] |
Allow removal of interrupted downloads when removing a group of downloads. BUG=193521 [email protected] Review URL: https://chromiumcodereview.appspot.com/12940005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190236 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/download/download_manager_impl.cc b/content/browser/download/download_manager_impl.cc index 2e192ed..0e28d16 100644 --- a/content/browser/download/download_manager_impl.cc +++ b/content/browser/download/download_manager_impl.cc
@@ -552,7 +552,7 @@ if (download->GetStartTime() >= remove_begin && (remove_end.is_null() || download->GetStartTime() < remove_end) && - (download->IsComplete() || download->IsCancelled())) { + !download->IsInProgress()) { // Erases the download from downloads_. download->Remove(); count++;