Index: components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItemBridge.java |
diff --git a/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItemBridge.java b/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItemBridge.java |
index ec978e4fe7101a2f2cb73f66d76e3eaac16867d6..c5209280f8ee640182a56476200f510c14af9032 100644 |
--- a/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItemBridge.java |
+++ b/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItemBridge.java |
@@ -6,8 +6,6 @@ |
import org.chromium.base.annotations.CalledByNative; |
import org.chromium.base.annotations.JNINamespace; |
-import org.chromium.components.offline_items_collection.OfflineItemFilter.OfflineItemFilterEnum; |
-import org.chromium.components.offline_items_collection.OfflineItemState.OfflineItemStateEnum; |
import java.util.ArrayList; |
@@ -41,10 +39,10 @@ private OfflineItemBridge() {} |
@CalledByNative |
private static OfflineItem createOfflineItemAndMaybeAddToList(ArrayList<OfflineItem> list, |
String nameSpace, String id, String title, String description, |
- @OfflineItemFilterEnum int filter, boolean isTransient, long totalSizeBytes, |
+ @OfflineItemFilter int filter, boolean isTransient, long totalSizeBytes, |
boolean externallyRemoved, long creationTimeMs, long lastAccessedTimeMs, |
boolean isOpenable, String pageUrl, String originalUrl, boolean isOffTheRecord, |
- @OfflineItemStateEnum int state, boolean isResumable, boolean allowMetered, |
+ @OfflineItemState int state, boolean isResumable, boolean allowMetered, |
long receivedBytes, int percentCompleted, long timeRemainingMs) { |
OfflineItem item = new OfflineItem(); |
item.id.namespace = nameSpace; |
@@ -71,4 +69,4 @@ private static OfflineItem createOfflineItemAndMaybeAddToList(ArrayList<OfflineI |
if (list != null) list.add(item); |
return item; |
} |
-} |
+} |