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

Unified Diff: components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItem.java

Issue 2792583002: 📱 Simplify naming of generated java enums IntDefs (Closed)
Patch Set: rebase Created 3 years, 8 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: components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItem.java
diff --git a/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItem.java b/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItem.java
index 1e0fe0a3d9c150035002a25d58977a66527095b5..83b6709197a4bda06e1f05a1ef05b8f73620fc1b 100644
--- a/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItem.java
+++ b/components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItem.java
@@ -5,8 +5,6 @@
package org.chromium.components.offline_items_collection;
import org.chromium.base.annotations.SuppressFBWarnings;
-import org.chromium.components.offline_items_collection.OfflineItemFilter.OfflineItemFilterEnum;
-import org.chromium.components.offline_items_collection.OfflineItemState.OfflineItemStateEnum;
/**
* This class is the Java counterpart to the C++ OfflineItem
@@ -22,7 +20,7 @@
// Display metadata.
public String title;
public String description;
- @OfflineItemFilterEnum
+ @OfflineItemFilter
public int filter;
public boolean isTransient;
@@ -39,7 +37,7 @@
public boolean isOffTheRecord;
// In Progress Metadata.
- @OfflineItemStateEnum
+ @OfflineItemState
public int state;
public boolean isResumable;
public boolean allowMetered;
@@ -52,4 +50,4 @@
filter = OfflineItemFilter.FILTER_OTHER;
state = OfflineItemState.COMPLETE;
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698