Mojo C++ bindings: more consistent Clone() and Equals().

With this change, the Clone() and Equals() methods of structs/unions/maps/arrays call Clone() and Equals() of elements if available, otherwise fall back on copy and == operator of elements.

BUG=616527

Review-Url: https://codereview.chromium.org/2031823002
Cr-Commit-Position: refs/heads/master@{#397717}


CrOS-Libchrome-Original-Commit: 14c4e1dca371579ceef264b8e3272b07c8bb92cb
30 files changed
tree: 96082ef5cd99922fcf9e45f7b339a9c44633d913
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/