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

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

Issue 1475813002: Mojo C++ bindings: support passing associated interface pointers/requests in method parameter lists… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@25_use_multiplex_router
Patch Set: Created 5 years 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 2 class {{interface.name}}Proxy
3 : public {{interface.name}}, 3 : public {{interface.name}},
4 public mojo::internal::ControlMessageProxy { 4 public mojo::internal::ControlMessageProxy {
5 public: 5 public:
6 explicit {{interface.name}}Proxy(mojo::MessageReceiverWithResponder* receiver) ; 6 explicit {{interface.name}}Proxy(mojo::MessageReceiverWithResponder* receiver) ;
7 7
8 {%- for method in interface.methods %} 8 {%- for method in interface.methods %}
9 void {{method.name}}( 9 void {{method.name}}(
10 {{interface_macros.declare_request_params("", method)}} 10 {{interface_macros.declare_request_params("", method)}}
11 ) override; 11 ) override;
12 {%- endfor %} 12 {%- endfor %}
13
14 mojo::internal::SerializationContext* serialization_context() {
15 return &serialization_context_;
16 }
17
18 private:
19 mojo::internal::SerializationContext serialization_context_;
13 }; 20 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698