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

Unified Diff: mojo/public/cpp/bindings/lib/string_serialization.h

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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/bindings/lib/string_serialization.h
diff --git a/mojo/public/cpp/bindings/lib/string_serialization.h b/mojo/public/cpp/bindings/lib/string_serialization.h
index 9bee8ff64ebb12ec364b1c27bb9e338751049af0..f6e7c1cbc191515776e41cd0ea4d500be63a8c4f 100644
--- a/mojo/public/cpp/bindings/lib/string_serialization.h
+++ b/mojo/public/cpp/bindings/lib/string_serialization.h
@@ -14,7 +14,7 @@ size_t GetSerializedSize_(const String& input);
void Serialize_(const String& input,
internal::Buffer* buffer,
internal::String_Data** output);
-void Deserialize_(internal::String_Data* input,
+bool Deserialize_(internal::String_Data* input,
String* output,
internal::SerializationContext* context);
« no previous file with comments | « mojo/public/cpp/bindings/lib/map_serialization.h ('k') | mojo/public/cpp/bindings/lib/string_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698