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

Side by Side Diff: mojo/public/tools/bindings/generators/cpp_templates/struct_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 {{struct.name}}Ptr& input); 1 size_t GetSerializedSize_(const {{struct.name}}Ptr& input);
2 void Serialize_({{struct.name}}Ptr input, mojo::internal::Buffer* buffer, 2 void Serialize_({{struct.name}}Ptr input, mojo::internal::Buffer* buffer,
3 internal::{{struct.name}}_Data** output); 3 internal::{{struct.name}}_Data** output);
4 void Deserialize_(internal::{{struct.name}}_Data* input, 4 bool Deserialize_(internal::{{struct.name}}_Data* input,
5 {{struct.name}}Ptr* output, 5 {{struct.name}}Ptr* output,
6 mojo::internal::SerializationContext* context); 6 mojo::internal::SerializationContext* context);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698