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
tree: 0c653a7d018bb480e6d1e781c7526bfab2ea029d
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/