Index: mojo/public/cpp/bindings/lib/validation_errors.h |
diff --git a/mojo/public/cpp/bindings/lib/validation_errors.h b/mojo/public/cpp/bindings/lib/validation_errors.h |
index 80a66fb40140fbc3525525f3a5f1add54172ce4d..fab16c1755db4ccbdf252af9c1219a9c1160583e 100644 |
--- a/mojo/public/cpp/bindings/lib/validation_errors.h |
+++ b/mojo/public/cpp/bindings/lib/validation_errors.h |
@@ -59,7 +59,9 @@ enum ValidationError { |
// lengths. |
VALIDATION_ERROR_DIFFERENT_SIZED_ARRAYS_IN_MAP, |
// Attempted to deserialize a tagged union with an unknown tag. |
- VALIDATION_ERROR_UNKNOWN_UNION_TAG |
+ VALIDATION_ERROR_UNKNOWN_UNION_TAG, |
+ // A value of a non-extensible enum type is unknown. |
+ VALIDATION_ERROR_UNKNOWN_ENUM_VALUE |
}; |
const char* ValidationErrorToString(ValidationError error); |