--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAN1eAnce4pUfCx6Dgtj22oUDGwbZgJGNq%3DDYrtoHgvbSyzB2tQ%40mail.gmail.com.
The original enum is also used for data reporting and is defined in a .proto file. Moving the declaration to .mojom sadly wouldn't work.Is it possible to write a unit test of sorts to ensure that duplicated enums in proto and in mojo stay in sync? Protobuf provides EnumType_MIN, EnumType_MAX and EnumType_IsValid(), which effectively allows to iterate through all defined values. Is there a similar thing in mojo?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAN1eAnczdR5e4Uxsbs%3Dh3OiH5ZTcPQAYFFZM818kH53jsHyKhA%40mail.gmail.com.