| Index: chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadNotificationServiceTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadNotificationServiceTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadNotificationServiceTest.java
|
| index 3eb53cc08cea314f808ebc94b76572be084b5033..d7937e8853917de0c8a515e50ac7f61b8a29c44c 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadNotificationServiceTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadNotificationServiceTest.java
|
| @@ -238,14 +238,14 @@ public class DownloadNotificationServiceTest extends
|
|
|
| DownloadNotificationService service = bindNotificationService();
|
| String guid3 = UUID.randomUUID().toString();
|
| - service.notifyDownloadProgress(guid3, "test", 1, 1L, 1L, true, true);
|
| + service.notifyDownloadProgress(guid3, "test", 1, 1L, 1L, true, true, false);
|
| assertEquals(3, getService().getNotificationIds().size());
|
| int lastNotificationId = getService().getLastAddedNotificationId();
|
| Set<String> entries = DownloadManagerService.getStoredDownloadInfo(
|
| sharedPrefs, DownloadNotificationService.PENDING_DOWNLOAD_NOTIFICATIONS);
|
| assertEquals(3, entries.size());
|
|
|
| - service.notifyDownloadSuccessful(guid1, "success", 100L);
|
| + service.notifyDownloadSuccessful(guid1, "success", 100L, false);
|
| entries = DownloadManagerService.getStoredDownloadInfo(
|
| sharedPrefs, DownloadNotificationService.PENDING_DOWNLOAD_NOTIFICATIONS);
|
| assertEquals(2, entries.size());
|
| @@ -270,7 +270,7 @@ public class DownloadNotificationServiceTest extends
|
| startNotificationService();
|
| DownloadNotificationService service = bindNotificationService();
|
| String guid = UUID.randomUUID().toString();
|
| - service.notifyDownloadSuccessful(guid, "test", 100L);
|
| + service.notifyDownloadSuccessful(guid, "test", 100L, false);
|
| assertEquals(1, getService().getNotificationIds().size());
|
| }
|
|
|
|
|