
There are few enough SetIOAllowed() calls left for it to be reasonable to make it private+friend for the few use cases left! First step here to avoid using it when a scope is well-defined. Bug: 766678 Change-Id: I83117c0973a79243034dc6e7040d827eb2988c17 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2911076 Commit-Queue: Gabriel Charette <gab@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Auto-Submit: Gabriel Charette <gab@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Owners-Override: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#903726}