diff options
author | yzshen <yzshen@chromium.org> | 2016-01-27 17:30:14 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-28 02:04:50 +0000 |
commit | dca229ec9a69564985d182a16c9f2068db4d1989 (patch) | |
tree | 8a24a0dcb9fc23baabd739da253ac40ec436950a /components/arc/power | |
parent | 95b810566de876251114b4b11827b093b8d05f11 (diff) | |
download | chromium_src-dca229ec9a69564985d182a16c9f2068db4d1989.zip chromium_src-dca229ec9a69564985d182a16c9f2068db4d1989.tar.gz chromium_src-dca229ec9a69564985d182a16c9f2068db4d1989.tar.bz2 |
Mojo C++ bindings: support enum validation.
By default, enums are not extensible, which means any unknown value will fail validation. If an enum may grow in the future, it needs to have [Extensible=True] attribute specified. In that case, the user code is responsible for handling unknown values properly.
This CL doesn't add corresponding validation for JS or Java.
BUG=404186
Review URL: https://codereview.chromium.org/1618963006
Cr-Commit-Position: refs/heads/master@{#371954}
Diffstat (limited to 'components/arc/power')
0 files changed, 0 insertions, 0 deletions