Convert json_parser.mojom to use mojo/public/mojom/base/values.mojom
This change also converts the minimum necessary amount of C++ code to pass objects of base::Value by value instead of std::unique_ptr. This change also modifies the union condition of DataView template to add a check for is_null and pass a nullptr to Deserialize so that optional values are handled correctly. Bug: 646113,799482 Change-Id: I09575f4e593741370b537ede8103a3c3b196dfc7 Reviewed-on: https://chromium-review.googlesource.com/1011206Reviewed-by:Ken Rockot <rockot@chromium.org> Reviewed-by:
Jay Civelli <jcivelli@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: Oksana Zhuravlova <oksamyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#553216}
Showing
Please register or sign in to comment