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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/interface_stub_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_stub_declaration.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl
index 30b5de7cb3f977e41c3bdcb6fea1b1710c1875b4..dd811fbdb05688bdda4d02513ff496c823058da8 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl
@@ -8,8 +8,9 @@ class {{interface.name}}Stub : public mojo::MessageReceiverWithResponderStatus {
return &serialization_context_;
}
- bool Accept(mojo::Message* message) override;
- bool AcceptWithResponder(mojo::Message* message,
+ Result Accept(mojo::Message* message) override;
+ Result AcceptWithResponder(
+ mojo::Message* message,
mojo::MessageReceiverWithStatus* responder) override;
private:

Powered by Google App Engine
This is Rietveld 408576698