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

Unified Diff: third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl

Issue 954643002: Update mojo sdk to rev 3d23dae011859a2aae49f1d1adde705c8e85d819 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use run_renderer_in_process() Created 5 years, 10 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: third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
index 863d18fe4bb8e13082a31e2ff04ace901c551446..969bea2f58d922220a61ab9c84f84d645a314616 100644
--- a/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
+++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
@@ -47,10 +47,12 @@ namespace {
{%- set method_name = "k%s_%s_Name"|format(interface.name, method.name) %}
const uint32_t {{method_name}} = {{method.ordinal}};
{% set struct = method|struct_from_method %}
-{%- include "params_definition.tmpl" %}
+{% include "struct_declaration.tmpl" %}
+{%- include "struct_definition.tmpl" %}
{%- if method.response_parameters != None %}
{%- set struct = method|response_struct_from_method %}
-{%- include "params_definition.tmpl" %}
+{% include "struct_declaration.tmpl" %}
+{%- include "struct_definition.tmpl" %}
{%- endif %}
{%- endfor %}
{%- endfor %}

Powered by Google App Engine
This is Rietveld 408576698