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

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

Issue 1037353002: Remove unnecessary 'virtual' annotation from mojo (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix indentation Created 5 years, 9 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
« no previous file with comments | « mojo/public/tools/bindings/generators/cpp_templates/interface_response_validator_declaration.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 afc6504dc81f33bf535546964eafcd06a29d266b..1abc3b99371cdd0b4a4f43efe3b90e7f9a692dee 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
@@ -4,9 +4,9 @@ class {{interface.name}}Stub : public mojo::MessageReceiverWithResponder {
void set_sink({{interface.name}}* sink) { sink_ = sink; }
{{interface.name}}* sink() { return sink_; }
- virtual bool Accept(mojo::Message* message) override;
- virtual bool AcceptWithResponder(mojo::Message* message,
- mojo::MessageReceiver* responder) override;
+ bool Accept(mojo::Message* message) override;
+ bool AcceptWithResponder(mojo::Message* message,
+ mojo::MessageReceiver* responder) override;
private:
{{interface.name}}* sink_;
« no previous file with comments | « mojo/public/tools/bindings/generators/cpp_templates/interface_response_validator_declaration.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698