ScopedPtrMap: Added Compare template parameter.

Allows clients to specify a custom comparison function (as in std::map).

Also added |mapped_type| and |key_compare| typedefs in ScopedPtrMap, for
compatibility with std::map.

BUG=478594

Review URL: https://codereview.chromium.org/1179083006

Cr-Commit-Position: refs/heads/master@{#334549}


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