Migrating offline item enums/@IntDef to NUM_ENTRIES
Before CL: there is no standard for enums handled by java_cpp_enum.py for saving number of entries and there is used COUNT, MAX and other names, which later are part of IntDef (Android code in the same time is using consistent NUM_ENTRIES). After CL: OfflineItemFilter and OfflineItemState are using NUM_ENTRIES (for OfflineItemFilter there is also stripped prefix during conversion for Java). BUG=919666 Change-Id: I2f83d4371f55db81e95565cfccfd8f5dcaad4211 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1583718Reviewed-by:Min Qin <qinmin@chromium.org> Commit-Queue: Marcin Wiącek <marcin@mwiacek.com> Cr-Commit-Position: refs/heads/master@{#654774}
Showing
This diff is collapsed.
Please register or sign in to comment