Index: mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
index 21f29680ab20c006e0888f05c07466d29a9b85b7..f6bea2c5dfb613db5149cc7a21480f13fd02c877 100644 |
--- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
+++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl |
@@ -21,9 +21,11 @@ class {{struct.name}} { |
{{struct.name}}(); |
~{{struct.name}}(); |
+ |
{% if struct|is_cloneable_kind %} |
{{struct.name}}Ptr Clone() const; |
{%- endif %} |
+ bool Equals(const {{struct.name}}& other) const; |
{#--- Getters #} |
{% for field in struct.fields %} |