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

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

Issue 226243003: Mojo: Get rid of some EOL whitespace in C++ .tmpl files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl » ('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 57115678d1a11cd2c32a1f75afaf7b80e1645df1..906099cd1815f19659c40a2e758c5d9edfe37c4d 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
@@ -67,7 +67,7 @@ class {{class_name}}_{{method.name}}_ForwardToCallback
return false;
}
private:
- {{interface_macros.declare_callback(method)}} callback_;
+ {{interface_macros.declare_callback(method)}} callback_;
MOJO_DISALLOW_COPY_AND_ASSIGN({{class_name}}_{{method.name}}_ForwardToCallback);
};
bool {{class_name}}_{{method.name}}_ForwardToCallback::Accept(
@@ -149,15 +149,15 @@ class {{class_name}}_{{method.name}}_ProxyToResponder
};
void {{class_name}}_{{method.name}}_ProxyToResponder::Run(
{{interface_macros.declare_params(method.response_parameters)}}) const {
- {{compute_payload_size(params_name, method.response_parameters)}}
+ {{compute_payload_size(params_name, method.response_parameters)}}
mojo::internal::ResponseMessageBuilder builder(
{{message_name}}, payload_size, request_id_);
- {{build_message(params_name, method.response_parameters)}}
+ {{build_message(params_name, method.response_parameters)}}
responder_->Accept(&message);
delete responder_;
responder_ = NULL;
}
-{%- endif -%}
+{%- endif -%}
{%- endfor %}
{{class_name}}Stub::{{class_name}}Stub({{class_name}}* sink)
@@ -183,7 +183,7 @@ bool {{class_name}}Stub::Accept(mojo::Message* message) {
return true;
{%- else %}
break;
-{%- endif %}
+{%- endif %}
}
{%- endfor %}
}
@@ -214,7 +214,7 @@ bool {{class_name}}Stub::AcceptWithResponder(
return true;
{%- else %}
break;
-{%- endif %}
+{%- endif %}
}
{%- endfor %}
}
« no previous file with comments | « no previous file | mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698