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

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

Issue 2737723002: Downloads : Last access time update for NTP, duplicate infobar and notifications (Closed)
Patch Set: Removed changes for duplicate infobar Created 3 years, 9 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/DownloadBroadcastReceiver.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadBroadcastReceiver.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadBroadcastReceiver.java
index 913965b43912c4db82265afa5d120bd7e263ef02..becd50395244112ee321357e8ee211ed5edac30d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadBroadcastReceiver.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadBroadcastReceiver.java
@@ -62,8 +62,12 @@ public class DownloadBroadcastReceiver extends BroadcastReceiver {
intent, DownloadNotificationService.EXTRA_DOWNLOAD_FILE_PATH);
boolean isSupportedMimeType = IntentUtils.safeGetBooleanExtra(
intent, DownloadNotificationService.EXTRA_IS_SUPPORTED_MIME_TYPE, false);
+ boolean isOffTheRecord = IntentUtils.safeGetBooleanExtra(
+ intent, DownloadNotificationService.EXTRA_IS_OFF_THE_RECORD, false);
+ String downloadGuid = IntentUtils.safeGetStringExtra(
+ intent, DownloadNotificationService.EXTRA_DOWNLOAD_GUID);
DownloadManagerService.openDownloadedContent(
- context, downloadFilename, isSupportedMimeType, id);
+ context, downloadFilename, isSupportedMimeType, isOffTheRecord, downloadGuid, id);
}
/**

Powered by Google App Engine
This is Rietveld 408576698