Add AssertBaseSyncPrimitivesAllowed() in Process::WaitForExit*().
With this CL, calls to Process::WaitForExit*() must be done
within the scope of a base::ScopedAllowBaseSyncPrimitives*.
Since calls to Process::WaitForExit*() can potentially
deadlock, it is desirable to have them reviewed by a //base
OWNER.
Bug: 766678
Change-Id: I1d5cc98984b84a412492db5f83c8db4b20396367
Reviewed-on: https://chromium-review.googlesource.com/703475
Commit-Queue: François Doray <fdoray@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Elliot Glaysher <erg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512642}
CrOS-Libchrome-Original-Commit: a678fc19e39e4ce6416ac6836b2ca0b4252def21
3 files changed