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

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

Issue 1460463003: Move mojo::internal::MessageBuilder out of the |internal| namespace. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: formatting + style changes (from trung comments) Created 5 years, 1 month 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
« no previous file with comments | « mojo/public/cpp/bindings/tests/router_unittest.cc ('k') | mojo/tools/message_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 79f71fa4f7b1d61f38150bf6dd1c2bb98c2127d5..d3d4ea5a45d4b857676034aea9293bb32be2be53 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
@@ -96,10 +96,10 @@ void {{proxy_name}}::{{method.name}}(
{{struct_macros.get_serialized_size(params_struct, "in_%s")}}
{%- if method.response_parameters != None %}
- mojo::internal::RequestMessageBuilder builder(
+ mojo::RequestMessageBuilder builder(
static_cast<uint32_t>({{message_name}}), size);
{%- else %}
- mojo::internal::MessageBuilder builder(
+ mojo::MessageBuilder builder(
static_cast<uint32_t>({{message_name}}), size);
{%- endif %}
@@ -162,7 +162,7 @@ class {{class_name}}_{{method.name}}_ProxyToResponder
void {{class_name}}_{{method.name}}_ProxyToResponder::Run(
{{interface_macros.declare_params_as_args("in_", method.response_parameters)}}) const {
{{struct_macros.get_serialized_size(response_params_struct, "in_%s")}}
- mojo::internal::ResponseMessageBuilder builder(
+ mojo::ResponseMessageBuilder builder(
static_cast<uint32_t>({{message_name}}), size, request_id_);
{{build_message(response_params_struct, params_description)}}
bool ok = responder_->Accept(builder.message());
« no previous file with comments | « mojo/public/cpp/bindings/tests/router_unittest.cc ('k') | mojo/tools/message_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698