| Index: mojo/public/bindings/generators/cpp_templates/struct_serialization.cc-template
|
| diff --git a/mojo/public/bindings/generators/cpp_templates/struct_serialization.cc-template b/mojo/public/bindings/generators/cpp_templates/struct_serialization.cc-template
|
| deleted file mode 100644
|
| index fc7764ee707f746ba7cdee9cb438af6cf732696e..0000000000000000000000000000000000000000
|
| --- a/mojo/public/bindings/generators/cpp_templates/struct_serialization.cc-template
|
| +++ /dev/null
|
| @@ -1,34 +0,0 @@
|
| -// Copyright $YEAR The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "$SERIALIZATION_HEADER"
|
| -
|
| -#include <string.h>
|
| -
|
| -$INCLUDES
|
| -
|
| -namespace mojo {
|
| -namespace internal {
|
| -
|
| -// static
|
| -size_t ObjectTraits<$CLASS>::ComputeSizeOf(
|
| - const $CLASS* $NAME) {
|
| -$SIZES
|
| -}
|
| -
|
| -// static
|
| -$CLASS* ObjectTraits<$CLASS>::Clone(
|
| - const $CLASS* $NAME, Buffer* buf) {
|
| - $CLASS* clone = $CLASS::New(buf);
|
| - memcpy(clone, $NAME, sizeof(*$NAME));
|
| -
|
| -$CLONES
|
| -
|
| - return clone;
|
| -}
|
| -
|
| -$SERIALIZATION
|
| -
|
| -} // namespace internal
|
| -} // namespace mojo
|
|
|