PlatformSharedMemoryRegion permission checks on Mac

This CL implements the CheckPlatformHandlePermissionsCorrespondToMode()
function on Mac.

This also enables extra testing of this function since it's implemented
on all supported platforms.

Bug: 825177
Change-Id: I6982d62618a33b2c67091651c09c9b0d3a23326a
Reviewed-on: https://chromium-review.googlesource.com/1012075
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Erik Chen <erikchen@chromium.org>
Commit-Queue: Alexandr Ilin <alexilin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552097}

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