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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotifier.java

Issue 2202423003: Open downloads app when clicking on the downlaod notification of an unresolved type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reusing the DownloadManager codepath Created 4 years, 4 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/android/java/src/org/chromium/chrome/browser/download/DownloadNotifier.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotifier.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotifier.java
index f999892755a5739d392955b1717641bf528b4c27..a2a85bb2a3549e7a5f7ba92a0f809803303cb225 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotifier.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadNotifier.java
@@ -4,8 +4,6 @@
package org.chromium.chrome.browser.download;
-import android.content.Intent;
-
/**
* Class for reporting the status of a download.
*/
@@ -15,10 +13,9 @@ public interface DownloadNotifier {
* @param downloadInfo info about the successful download.
* @param systemDownloadId The system download ID assigned to the download.
* @param canResolve Whether the download can be resolved to any activity.
- * @param intent Intent to launch when clicking the download notification.
*/
void notifyDownloadSuccessful(DownloadInfo downloadInfo, long systemDownloadId,
- boolean canResolve, Intent intent);
+ boolean canResolve);
/**
* Add a download failed notification.

Powered by Google App Engine
This is Rietveld 408576698