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

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

Issue 2446643004: Fixing a crash when clicking download notification while Chrome is killed (Closed)
Patch Set: nit Created 4 years, 2 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 a2a85bb2a3549e7a5f7ba92a0f809803303cb225..0cc636550d15b81f04e4de6b198d59e481db1b1d 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
@@ -13,9 +13,10 @@ 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 isSupportedMimeType Whether the MIME type can be viewed inside browser.
*/
void notifyDownloadSuccessful(DownloadInfo downloadInfo, long systemDownloadId,
- boolean canResolve);
+ boolean canResolve, boolean isSupportedMimeType);
/**
* Add a download failed notification.

Powered by Google App Engine
This is Rietveld 408576698