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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/interface_response_validator_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/interface_response_validator_declaration.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_response_validator_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_response_validator_declaration.tmpl
index 5893bfd807fbaafc7634e8515665d6b4ee34baf9..226195755dd91db6e75587e3ecf3da041ce9f4b1 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_response_validator_declaration.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_response_validator_declaration.tmpl
@@ -2,5 +2,5 @@ class {{interface.name}}ResponseValidator : public mojo::MessageFilter {
public:
explicit {{interface.name}}ResponseValidator(mojo::MessageReceiver* sink = nullptr);
- bool Accept(mojo::Message* message) override;
+ Result Accept(mojo::Message* message) override;
};

Powered by Google App Engine
This is Rietveld 408576698