Index: mojo/public/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl |
diff --git a/mojo/public/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl b/mojo/public/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl |
index d8351375763065e3ad660cab45c8af472722c1ea..ff7c327c6d74cea86389a5c03281d14eebcb2dda 100644 |
--- a/mojo/public/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl |
+++ b/mojo/public/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl |
@@ -1,13 +1,11 @@ |
+{%- import "interface_macros.tmpl" as interface_macros %} |
class {{interface.name}}Proxy : public {{interface.name}} { |
public: |
explicit {{interface.name}}Proxy(mojo::MessageReceiver* receiver); |
{%- for method in interface.methods %} |
virtual void {{method.name}}( |
-{%- for param in method.parameters -%} |
- {{param.kind|cpp_const_wrapper_type}} {{param.name}} |
-{%- if not loop.last %}, {% endif -%} |
-{%- endfor -%} |
+ {{interface_macros.declare_request_params(method)}} |
) MOJO_OVERRIDE; |
{%- endfor %} |