Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl

Issue 2064903002: Mojo: Report bindings validation errors via MojoNotifyBadMessage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl
index 689e9a30f2b3b1f2cd56ea6a6a9ceacfe69a378e..9fb10b0ef5b84a2ac81bfa232a1a991a8453cd56 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl
@@ -5,7 +5,7 @@ class {{class_name}} {
static {{class_name}}* New(mojo::internal::Buffer* buf);
static bool Validate(const void* data,
- mojo::internal::BoundsChecker* bounds_checker);
+ mojo::internal::ValidationContext* validation_context);
void EncodePointers();
void DecodePointers();

Powered by Google App Engine
This is Rietveld 408576698