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

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

Issue 2848723004: Fix an issue that notification is not posted if download is interrupted on start (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_ui_controller.cc
diff --git a/chrome/browser/download/download_ui_controller.cc b/chrome/browser/download/download_ui_controller.cc
index c4ff17cb7d1c8480beb3df1016410ecf236be29f..44907a20f7383793640a1943143bfdbc2f53b9cd 100644
--- a/chrome/browser/download/download_ui_controller.cc
+++ b/chrome/browser/download/download_ui_controller.cc
@@ -49,12 +49,6 @@ class AndroidUIControllerDelegate : public DownloadUIController::Delegate {
void AndroidUIControllerDelegate::OnNewDownloadReady(
content::DownloadItem* item) {
- // The Android DownloadController is only interested in IN_PROGRESS downloads.
- // Ones which are INTERRUPTED etc. can't be handed over to the Android
- // DownloadManager.
- if (item->GetState() != content::DownloadItem::IN_PROGRESS)
- return;
-
DownloadControllerBase::Get()->OnDownloadStarted(item);
}
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698