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

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl

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/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
index 384b36649c1d8918614d798304cf6028dcf4ddca..7aa21c440f31472b5dbc2da406c8887c0c387388 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
@@ -59,16 +59,6 @@ class {{struct.name}} {
{%- endfor %}
};
-{# TODO(yzshen): Remove these wrappers of the Serializer interface. #}
-size_t GetSerializedSize_({{struct.name}}Ptr& input,
- mojo::internal::SerializationContext* context);
-void Serialize_({{struct.name}}Ptr input, mojo::internal::Buffer* buffer,
- internal::{{struct.name}}_Data** output,
- mojo::internal::SerializationContext* context);
-bool Deserialize_(internal::{{struct.name}}_Data* input,
- {{struct.name}}Ptr* output,
- mojo::internal::SerializationContext* context);
-
{# TODO(yzshen): Redo the Reader interface. #}
{# NOTE: Generated Reader instances are intentionally cheap to copy and devoid
of heap allocations. They should stay this way. #}

Powered by Google App Engine
This is Rietveld 408576698