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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/download/MockDownloadNotificationService.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/javatests/src/org/chromium/chrome/browser/download/MockDownloadNotificationService.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/download/MockDownloadNotificationService.java b/chrome/android/javatests/src/org/chromium/chrome/browser/download/MockDownloadNotificationService.java
index c5b99f6718b82a0bacf298c788e5439e19d93c2e..6bc32bc7048bb9c9c5977044f494695c1f6df38f 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/download/MockDownloadNotificationService.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/download/MockDownloadNotificationService.java
@@ -93,15 +93,14 @@ public class MockDownloadNotificationService extends DownloadNotificationService
}
@Override
- public int notifyDownloadSuccessful(
- final String downloadGuid, final String filePath, final String fileName,
- final long systemDownloadId, final boolean isOfflinePage,
- final boolean isSupportedMimeType) {
+ public int notifyDownloadSuccessful(final String downloadGuid, final String filePath,
+ final String fileName, final long systemDownloadId, final boolean isOffTheRecord,
+ final boolean isOfflinePage, final boolean isSupportedMimeType) {
return ThreadUtils.runOnUiThreadBlockingNoException(new Callable<Integer>() {
@Override
public Integer call() throws Exception {
- return MockDownloadNotificationService.super.notifyDownloadSuccessful(
- downloadGuid, filePath, fileName, systemDownloadId, isOfflinePage,
+ return MockDownloadNotificationService.super.notifyDownloadSuccessful(downloadGuid,
+ filePath, fileName, systemDownloadId, isOffTheRecord, isOfflinePage,
isSupportedMimeType);
}
});

Powered by Google App Engine
This is Rietveld 408576698