mojo: Make EqualsTraits<> part of public C++ API

Users of mapped types sometimes need to provide their own custom
comparsion functions for classes that do not provide operator==() or an
Equals() method. Move EqualsTraits<> out of mojo internals, similar to
how CloneTraits<> is handled.

BUG=714689
TEST=compiles

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


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