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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl

Issue 844433003: Revert "Generate some of the C++ bindings for mojom tagged unions." (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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/tools/bindings/generators/cpp_templates/module-internal.h.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl
index d9a398a193c2d4d4f8518444663c97e9ddd02ec0..116e86ad41c818f4563cda9602445fc1c6b35435 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl
@@ -32,11 +32,6 @@ namespace {{namespace}} {
class {{struct.name}};
{%- endfor %}
-{#--- Wrapper forward declarations for unions #}
-{% for union in unions %}
-class {{union.name}};
-{%- endfor %}
-
namespace internal {
{#--- Internal forward declarations #}
@@ -44,10 +39,6 @@ namespace internal {
class {{struct.name}}_Data;
{%- endfor %}
-{% for union in unions %}
-class {{union.name}}_Data;
-{%- endfor %}
-
#pragma pack(push, 1)
{#--- Class declarations #}
@@ -55,10 +46,6 @@ class {{union.name}}_Data;
{% include "struct_declaration.tmpl" %}
{%- endfor %}
-{% for union in unions %}
-{% include "union_declaration.tmpl" %}
-{%- endfor %}
-
#pragma pack(pop)
} // namespace internal
« no previous file with comments | « mojo/public/interfaces/bindings/tests/BUILD.gn ('k') | mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698