| Index: mojo/public/cpp/bindings/lib/array_serialization.h
|
| diff --git a/mojo/public/cpp/bindings/lib/array_serialization.h b/mojo/public/cpp/bindings/lib/array_serialization.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8491de397a78cf18a20b32ade7c28be499a42a39
|
| --- /dev/null
|
| +++ b/mojo/public/cpp/bindings/lib/array_serialization.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2014 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_ARRAY_SERIALIZATION_H_
|
| +#define MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_SERIALIZATION_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "mojo/public/cpp/bindings/lib/array_internal.h"
|
| +
|
| +namespace mojo {
|
| +
|
| +template <typename E>
|
| +size_t GetSerializedSize_(const Array<E>& input) {
|
| + return 0;
|
| +}
|
| +
|
| +template <typename E, typename F>
|
| +void Serialize_(const Array<E>& input, Buffer* buffer,
|
| + internal::Array_Data<F>** output) {
|
| + *output = NULL;
|
| +}
|
| +
|
| +template <typename E, typename F>
|
| +void Deserialize_(const internal::Array_Data<F>* data, Array<E>* output) {
|
| +}
|
| +
|
| +} // namespace mojo
|
| +
|
| +#endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_ARRAY_SERIALIZATION_H_
|
|
|