| Index: mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| index 96fa4f9765251a12a5128213cafa13908a07e530..1ddcc45c39dde0f3b5a783901c988ec10c8a0942 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| @@ -24,7 +24,6 @@
|
| #include "mojo/public/cpp/bindings/lib/string_serialization.h"
|
| #include "mojo/public/cpp/bindings/lib/validate_params.h"
|
| #include "mojo/public/cpp/bindings/lib/validation_errors.h"
|
| -#include "mojo/public/cpp/bindings/lib/union_accessor.h"
|
| #include "mojo/public/cpp/environment/logging.h"
|
|
|
| {%- for namespace in namespaces_as_array %}
|
| @@ -64,11 +63,6 @@ const uint32_t {{method_name}} = {{method.ordinal}};
|
| {%- include "struct_definition.tmpl" %}
|
| {%- endfor %}
|
|
|
| -{#--- Union definitions #}
|
| -{% for union in unions %}
|
| -{%- include "union_definition.tmpl" %}
|
| -{%- endfor %}
|
| -
|
| } // namespace internal
|
|
|
| {#--- Struct Constants #}
|
| @@ -83,11 +77,6 @@ const {{constant.kind|cpp_pod_type}} {{struct.name}}::{{constant.name}} = {{cons
|
| {%- include "wrapper_class_definition.tmpl" %}
|
| {%- endfor %}
|
|
|
| -{#--- Union builder definitions #}
|
| -{%- for union in unions %}
|
| -{%- include "wrapper_union_class_definition.tmpl" %}
|
| -{%- endfor %}
|
| -
|
| {#--- Interface definitions #}
|
| {%- for interface in interfaces %}
|
| {%- include "interface_definition.tmpl" %}
|
| @@ -98,11 +87,6 @@ const {{constant.kind|cpp_pod_type}} {{struct.name}}::{{constant.name}} = {{cons
|
| {%- include "struct_serialization_definition.tmpl" %}
|
| {%- endfor %}
|
|
|
| -{#--- Union Serialization Helpers #}
|
| -{%- for union in unions %}
|
| -{%- include "union_serialization_definition.tmpl" %}
|
| -{%- endfor %}
|
| -
|
| {%- for namespace in namespaces_as_array|reverse %}
|
| } // namespace {{namespace}}
|
| {%- endfor %}
|
|
|