OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_WTF_STRING_SERIALIZATION_H_ |
| 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_WTF_STRING_SERIALIZATION_H_ |
| 7 |
| 8 #include <stddef.h> |
| 9 |
| 10 #include "mojo/public/cpp/bindings/lib/array_internal.h" |
| 11 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h" |
| 12 |
| 13 namespace WTF { |
| 14 class String; |
| 15 |
| 16 size_t GetSerializedSize_(const WTF::String& input, |
| 17 mojo::internal::SerializationContext* context); |
| 18 void Serialize_(const WTF::String& input, |
| 19 mojo::internal::Buffer* buffer, |
| 20 mojo::internal::String_Data** output, |
| 21 mojo::internal::SerializationContext* context); |
| 22 bool Deserialize_(mojo::internal::String_Data* input, |
| 23 WTF::String* output, |
| 24 mojo::internal::SerializationContext* context); |
| 25 |
| 26 } // namespace WTF |
| 27 |
| 28 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_WTF_STRING_SERIALIZATION_H_ |
OLD | NEW |