| Index: mojo/public/cpp/bindings/lib/native_enum_data.h
|
| diff --git a/mojo/public/cpp/bindings/lib/native_enum_data.h b/mojo/public/cpp/bindings/lib/native_enum_data.h
|
| index 9af930dffb6777d36da9071b8b194a01f50fabd2..dcafce2815cfe2648aec4b1bf05eff2d45083f91 100644
|
| --- a/mojo/public/cpp/bindings/lib/native_enum_data.h
|
| +++ b/mojo/public/cpp/bindings/lib/native_enum_data.h
|
| @@ -8,13 +8,16 @@
|
| namespace mojo {
|
| namespace internal {
|
|
|
| +class ValidationContext;
|
| +
|
| class NativeEnum_Data {
|
| public:
|
| static bool const kIsExtensible = true;
|
|
|
| static bool IsKnownValue(int32_t value) { return false; }
|
|
|
| - static bool Validate(int32_t value) { return true; }
|
| + static bool Validate(int32_t value,
|
| + ValidationContext* validation_context) { return true; }
|
| };
|
|
|
| } // namespace internal
|
|
|