Index: mojo/public/cpp/bindings/lib/wtf_array_serialization.h |
diff --git a/mojo/public/cpp/bindings/lib/wtf_array_serialization.h b/mojo/public/cpp/bindings/lib/wtf_array_serialization.h |
deleted file mode 100644 |
index 12949b148c7f35bc8948d05db8b6eaae66dd3a48..0000000000000000000000000000000000000000 |
--- a/mojo/public/cpp/bindings/lib/wtf_array_serialization.h |
+++ /dev/null |
@@ -1,45 +0,0 @@ |
-// Copyright 2016 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. |
- |
-#ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_WTF_ARRAY_SERIALIZATION_H_ |
-#define MOJO_PUBLIC_CPP_BINDINGS_LIB_WTF_ARRAY_SERIALIZATION_H_ |
- |
-#include <stddef.h> |
- |
-#include "mojo/public/cpp/bindings/lib/array_serialization_traits.h" |
-#include "mojo/public/cpp/bindings/wtf_array.h" |
- |
-namespace mojo { |
- |
-template <typename E> |
-inline size_t GetSerializedSize_(const WTFArray<E>& input, |
- internal::SerializationContext* context) { |
- return internal::ArraySerializationImpl< |
- WTFArray<E>, WTFArray<E>>::GetSerializedSize(input, context); |
-} |
- |
-template <typename E> |
-inline void SerializeArray_( |
- WTFArray<E> input, |
- internal::Buffer* buf, |
- typename WTFArray<E>::Data_** output, |
- const internal::ArrayValidateParams* validate_params, |
- internal::SerializationContext* context) { |
- return internal::ArraySerializationImpl<WTFArray<E>, WTFArray<E>>::Serialize( |
- std::move(input), buf, output, validate_params, context); |
-} |
- |
-template <typename E> |
-inline bool Deserialize_(typename WTFArray<E>::Data_* input, |
- WTFArray<E>* output, |
- internal::SerializationContext* context) { |
- return internal::ArraySerializationImpl<WTFArray<E>, |
- WTFArray<E>>::Deserialize(input, |
- output, |
- context); |
-} |
- |
-} // namespace mojo |
- |
-#endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_WTF_ARRAY_SERIALIZATION_H_ |