commit | 7a935a67802012e89c89139f129f7d9b49f8145d | [log] [tgz] |
---|---|---|
author | rockot <rockot@chromium.org> | Thu Dec 17 12:52:22 2015 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 02:05:39 2020 +0900 |
tree | 885cb6a61534a5841130f24cfcccf2f20ebddf07 | |
parent | ffba5211f5f2959c80ac5f5a3e10bc20b678966e [diff] |
[mojo] Allow value deserialization to fail This changes mojo::Deserialize_ et al to return a bool, opening the door for deserialization code which performs custom validation (in addition to baked-in mojom wire format validation) and may reject incoming messages at the bindings layer. Part of a series of changes to support custom mojom serialization: 1. https://codereview.chromium.org/1515423002 2. https://codereview.chromium.org/1517043004 3. https://codereview.chromium.org/1524693002 4. This CL 5. https://codereview.chromium.org/1524613002 6. https://codereview.chromium.org/1526533002 7. https://codereview.chromium.org/1524703002 BUG=569669 Review URL: https://codereview.chromium.org/1520153002 Cr-Commit-Position: refs/heads/master@{#365728} CrOS-Libchrome-Original-Commit: 13aa783fb893ac4c3b7977e3dcaee46abaf2cc47