Adds base::MatchesUniquePtr to ease lookup by pointer

I also added CreateMatchesUniquePtr() so that you need not specify the
type when creating MatchesUniquePtr().

BUG=none
TEST=none

Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel
Change-Id: Ifc96ae2397d7f1855f34a4d2969ec19daa6bbeee
Reviewed-on: https://chromium-review.googlesource.com/912516
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536407}

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