| Index: third_party/mojo/src/mojo/public/cpp/bindings/lib/validation_errors.h
|
| diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/lib/validation_errors.h b/third_party/mojo/src/mojo/public/cpp/bindings/lib/validation_errors.h
|
| index d09f63b81f5f6b60aa5fdc64173d3cbcf0ab6cbd..1d15bc9acf8565ac5bdaec42057e2d82fd049e57 100644
|
| --- a/third_party/mojo/src/mojo/public/cpp/bindings/lib/validation_errors.h
|
| +++ b/third_party/mojo/src/mojo/public/cpp/bindings/lib/validation_errors.h
|
| @@ -39,11 +39,17 @@ enum ValidationError {
|
| VALIDATION_ERROR_ILLEGAL_POINTER,
|
| // A non-nullable pointer field is set to null.
|
| VALIDATION_ERROR_UNEXPECTED_NULL_POINTER,
|
| - // |flags| in the message header is an invalid flag combination.
|
| - VALIDATION_ERROR_MESSAGE_HEADER_INVALID_FLAG_COMBINATION,
|
| + // |flags| in the message header is invalid. The flags are either
|
| + // inconsistent with one another, inconsistent with other parts of the
|
| + // message, or unexpected for the message receiver. For example the
|
| + // receiver is expecting a request message but the flags indicate that
|
| + // the message is a response message.
|
| + VALIDATION_ERROR_MESSAGE_HEADER_INVALID_FLAGS,
|
| // |flags| in the message header indicates that a request ID is required but
|
| // there isn't one.
|
| VALIDATION_ERROR_MESSAGE_HEADER_MISSING_REQUEST_ID,
|
| + // The |name| field in a message header contains an unexpected value.
|
| + VALIDATION_ERROR_MESSAGE_HEADER_UNKNOWN_METHOD,
|
| // Two parallel arrays which are supposed to represent a map have different
|
| // lengths.
|
| VALIDATION_ERROR_DIFFERENT_SIZED_ARRAYS_IN_MAP,
|
|
|