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