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

Side by Side Diff: mojo/public/tools/bindings/generators/cpp_templates/union_serialization_declaration.tmpl

Issue 1520153002: [mojo] Allow value deserialization to fail (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bindings-3-misc-support
Patch Set: merge Created 5 years 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
1 size_t GetSerializedSize_(const {{union.name}}Ptr& input, bool inlined); 1 size_t GetSerializedSize_(const {{union.name}}Ptr& input, bool inlined);
2 void SerializeUnion_({{union.name}}Ptr input, mojo::internal::Buffer* buffer, 2 void SerializeUnion_({{union.name}}Ptr input, mojo::internal::Buffer* buffer,
3 internal::{{union.name}}_Data** output, bool inlined); 3 internal::{{union.name}}_Data** output, bool inlined);
4 void Deserialize_(internal::{{union.name}}_Data* input, 4 bool Deserialize_(internal::{{union.name}}_Data* input,
5 {{union.name}}Ptr* output, 5 {{union.name}}Ptr* output,
6 mojo::internal::SerializationContext* context); 6 mojo::internal::SerializationContext* context);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698