Make new shared memory duplication and mapping APIs const

Duplicate, Map, and MapAt on these various types do not and should not
need to modify the calling object.

Bug: 826213
Change-Id: Ice07621c23f36da00e20a13076a783cf1e41d7f2
Reviewed-on: https://chromium-review.googlesource.com/990673
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Ken Rockot <rockot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547539}

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