Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: mojo/public/cpp/bindings/lib/wtf_string_serialization.h

Issue 1955123003: Mojo C++ bindings: switch the remaining callsites of the old serialization interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@24_union_and_others
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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/serialization_util.h"
12
13 namespace WTF {
14 class String;
15
16 // TODO(yzshen): These methods are simply wrappers of the Serialzer interface.
17 // Remove them.
18 size_t GetSerializedSize_(const WTF::String& input,
19 mojo::internal::SerializationContext* context);
20 void Serialize_(const WTF::String& input,
21 mojo::internal::Buffer* buffer,
22 mojo::internal::String_Data** output,
23 mojo::internal::SerializationContext* context);
24 bool Deserialize_(mojo::internal::String_Data* input,
25 WTF::String* output,
26 mojo::internal::SerializationContext* context);
27
28 } // namespace WTF
29
30 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_WTF_STRING_SERIALIZATION_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/lib/wtf_serialization.h ('k') | mojo/public/cpp/bindings/lib/wtf_string_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698