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

Unified Diff: mojo/public/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl

Issue 198343002: Mojo: request/response bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
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 %}

Powered by Google App Engine
This is Rietveld 408576698