Index: mojo/public/bindings/generators/cpp_templates/struct_serialization_traits.tmpl |
diff --git a/mojo/public/bindings/generators/cpp_templates/struct_serialization_traits.tmpl b/mojo/public/bindings/generators/cpp_templates/struct_serialization_traits.tmpl |
deleted file mode 100644 |
index d422aaf5ea9b4dd62a7a8b8209d6d0131b5120d3..0000000000000000000000000000000000000000 |
--- a/mojo/public/bindings/generators/cpp_templates/struct_serialization_traits.tmpl |
+++ /dev/null |
@@ -1,14 +0,0 @@ |
-{%- set full_class = "%s::internal::%s_Data"|format(namespace, struct.name) %} |
-{%- set name = struct.name|camel_to_underscores -%} |
- |
-template <> |
-class ObjectTraits<{{full_class}}> { |
- public: |
- static size_t ComputeSizeOf(const {{full_class}}* {{name}}); |
- static {{full_class}}* Clone(const {{full_class}}* {{name}}, Buffer* buf); |
- static void CloseHandles({{full_class}}* {{name}}); |
- static void EncodePointersAndHandles({{full_class}}* {{name}}, |
- std::vector<mojo::Handle>* handles); |
- static bool DecodePointersAndHandles({{full_class}}* {{name}}, |
- mojo::Message* message); |
-}; |