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

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

Issue 2276633002: [Download Home] Add basic tests for the DownloadManagerUi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restrictions 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/DownloadManagerService.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java
index 143c1a205f03ba3bf39feaa9d3e84e47e30189f4..673b75ddd3e3fa9a8e69edd11ec248652df1a11f 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java
@@ -1164,6 +1164,7 @@ public class DownloadManagerService extends BroadcastReceiver implements
* @param downloadGuid GUID of the download.
* @param isOffTheRecord Whether the download is off the record.
*/
+ @Override
public void removeDownload(String downloadGuid, boolean isOffTheRecord) {
nativeRemoveDownload(getNativeDownloadManagerService(), downloadGuid, isOffTheRecord);
removeDownloadProgress(downloadGuid);
@@ -1519,6 +1520,7 @@ public class DownloadManagerService extends BroadcastReceiver implements
* Checks if the files associated with any downloads have been removed by an external action.
* @param isOffTheRecord Whether or not to check downloads for the off the record profile.
*/
+ @Override
public void checkForExternallyRemovedDownloads(boolean isOffTheRecord) {
nativeCheckForExternallyRemovedDownloads(getNativeDownloadManagerService(), isOffTheRecord);
}

Powered by Google App Engine
This is Rietveld 408576698