OLD | NEW |
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 }; |
OLD | NEW |