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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/bindings/lib/wtf_string_serialization.h
diff --git a/mojo/public/cpp/bindings/lib/wtf_string_serialization.h b/mojo/public/cpp/bindings/lib/wtf_string_serialization.h
deleted file mode 100644
index 17f0b4bd5c2ae464be11fe3fff172ae77bd8d82f..0000000000000000000000000000000000000000
--- a/mojo/public/cpp/bindings/lib/wtf_string_serialization.h
+++ /dev/null
@@ -1,30 +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_STRING_SERIALIZATION_H_
-#define MOJO_PUBLIC_CPP_BINDINGS_LIB_WTF_STRING_SERIALIZATION_H_
-
-#include <stddef.h>
-
-#include "mojo/public/cpp/bindings/lib/array_internal.h"
-#include "mojo/public/cpp/bindings/lib/serialization_util.h"
-
-namespace WTF {
-class String;
-
-// TODO(yzshen): These methods are simply wrappers of the Serialzer interface.
-// Remove them.
-size_t GetSerializedSize_(const WTF::String& input,
- mojo::internal::SerializationContext* context);
-void Serialize_(const WTF::String& input,
- mojo::internal::Buffer* buffer,
- mojo::internal::String_Data** output,
- mojo::internal::SerializationContext* context);
-bool Deserialize_(mojo::internal::String_Data* input,
- WTF::String* output,
- mojo::internal::SerializationContext* context);
-
-} // namespace WTF
-
-#endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_WTF_STRING_SERIALIZATION_H_
« 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