Add check to keep chrome::ResultCode in sync with enums.xml.
Otherwise, it is too easy to accidentally change the enum value and make it go out of sync. In fact, that is the current state. Update enums.xml so the values line up again. Also add a comment to remind readers to keep the enum values constant, and mark a chrome::ResultCode enum as unused. BUG=805754 Change-Id: I66efe023d5b8f5caa9f279641aea0f52a667ab0f Reviewed-on: https://chromium-review.googlesource.com/885090Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Ilya Sherman <isherman@chromium.org> Reviewed-by:
Will Harris <wfh@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#532203}
Showing
Please register or sign in to comment