Mojo C++ bindings: pass SerializationContext to GetSerializedSize_() and Serialize_().
The context will be useful for:
- WTF::String serialization. We need to create WTF::StringUTF8Adapter objects for non-8-bit WTF::Strings and share them between GetSerializedSize_() and Serialize_().
- adding DCHECKs for sending associated interface pointers/requests over correct message pipe.
BUG=583738
Review URL: https://codereview.chromium.org/1752133003
Cr-Commit-Position: refs/heads/master@{#378753}
CrOS-Libchrome-Original-Commit: 63de3870494f2c0461cd7daa9d18e9b84652ab3d
21 files changed