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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl

Issue 2136733002: Mojo C++ bindings: add a new mode to generator to use native STL/WTF types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@67_new
Patch Set: . Created 4 years, 5 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/tools/bindings/generators/cpp_templates/interface_definition.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
index b3c64233ff2b5286b7542cadeada98db6a9eff2a..4017fc51d18c0f60e69f471c48751545640cfbe8 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
@@ -265,7 +265,8 @@ class {{class_name}}_{{method.name}}_ProxyToResponder
void Run(
{{interface_macros.declare_responder_params(
- "in_", method.response_parameters, for_blink)}});
+ "in_", method.response_parameters, for_blink,
+ use_new_wrapper_types)}});
uint64_t request_id_;
bool is_sync_;
@@ -278,7 +279,8 @@ class {{class_name}}_{{method.name}}_ProxyToResponder
void {{class_name}}_{{method.name}}_ProxyToResponder::Run(
{{interface_macros.declare_responder_params(
- "in_", method.response_parameters, for_blink)}}) {
+ "in_", method.response_parameters, for_blink,
+ use_new_wrapper_types)}}) {
{{struct_macros.get_serialized_size(response_params_struct, "in_%s",
"&serialization_context_")}}
mojo::internal::ResponseMessageBuilder builder(

Powered by Google App Engine
This is Rietveld 408576698