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

Unified Diff: mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl

Issue 99623010: Add support for enums within structs and interfaces to mojom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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/module_internal.h.tmpl
diff --git a/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl b/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
index 16f5574af5e8214c7103d5863abb73e0ec03488b..624d4f5b973683fc349fc7ecfb94e4a94db62186 100644
--- a/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
+++ b/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
@@ -23,7 +23,7 @@ namespace internal {
{#--- Class declarations #}
{% for struct in structs %}
-{% include "struct_declaration.tmpl" -%}
+{% include "struct_declaration.tmpl" %}
{%- endfor %}
#pragma pack(pop)
@@ -36,7 +36,7 @@ namespace internal {
{#--- Serialization traits #}
{% for struct in structs %}
-{% include "struct_serialization_traits.tmpl" -%}
+{% include "struct_serialization_traits.tmpl" %}
{%- endfor %}
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698