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

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

Issue 1526533002: [mojo] Add pickling support for native-only structs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bindings-4-bool-deserialize
Patch Set: 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/validation_util.h
diff --git a/mojo/public/cpp/bindings/lib/validation_util.h b/mojo/public/cpp/bindings/lib/validation_util.h
index 41049c03c9880168d6755ad4d6311dae0fe8fa88..0af6341e056326d50a21ff6aee4a020e68bd3e69 100644
--- a/mojo/public/cpp/bindings/lib/validation_util.h
+++ b/mojo/public/cpp/bindings/lib/validation_util.h
@@ -124,6 +124,8 @@ bool ValidateHandle(const Handle& input, BoundsChecker* bounds_checker);
bool ValidateAssociatedInterfaceId(InterfaceId input);
+bool ValidateNative(const NativePointer& input, BoundsChecker* bounds_checker);
yzshen1 2015/12/15 21:20:27 Please add validation tests. (Not necessarily in t
Ken Rockot(use gerrit already) 2015/12/15 23:31:08 No longer needed as we just use array validation n
+
} // namespace internal
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698