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

Side by Side Diff: mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl

Issue 617503003: Mojo: MOJO_OVERRIDE -> override in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 {%- import "interface_macros.tmpl" as interface_macros %} 1 {%- import "interface_macros.tmpl" as interface_macros %}
2 class {{interface.name}}Proxy : public {{interface.name}} { 2 class {{interface.name}}Proxy : public {{interface.name}} {
3 public: 3 public:
4 explicit {{interface.name}}Proxy(mojo::MessageReceiverWithResponder* receiver) ; 4 explicit {{interface.name}}Proxy(mojo::MessageReceiverWithResponder* receiver) ;
5 5
6 {%- for method in interface.methods %} 6 {%- for method in interface.methods %}
7 virtual void {{method.name}}( 7 virtual void {{method.name}}(
8 {{interface_macros.declare_request_params("", method)}} 8 {{interface_macros.declare_request_params("", method)}}
9 ) MOJO_OVERRIDE; 9 ) override;
10 {%- endfor %} 10 {%- endfor %}
11 11
12 private: 12 private:
13 mojo::MessageReceiverWithResponder* receiver_; 13 mojo::MessageReceiverWithResponder* receiver_;
14 }; 14 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698