-
Robert Sesek authored
DelaySandboxInitialization() is not called anywhere and is dead code. ProcessRegistersWithSystemProcess() was used under the V1 sandbox architecture to warm-up access to various IOKit services. Under the V2 sandbox architecture, there is no warm-up phase and the sandbox profiles simply allow access to those resources where needed. This allows base::PowerMonitorDeviceSource to be simplified, since the IOServices can be directly connected to rather than pre-allocated. Change-Id: I56769c90bd7fd9d8a5c3b8d16dc8166a53b5ce03 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2039390 Commit-Queue: Robert Sesek <rsesek@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Reviewed-by:
Mark Mentovai <mark@chromium.org> Cr-Commit-Position: refs/heads/master@{#738771}
834d97c9