Hide implementations of ScopedAllowIO/ScopedAllowWait like other scoped thread restrictions objects
Re-uses existing helpers to make these truly empty impls in non-dcheck builds. Most importantly, this allows instrumenting these calls with extra tracing information when debugging without having to rebuild the world (thread_restrictions.h is implicitly included virtually everywhere). (and yes they should be outright removed in favor of the new ones but that's orthogonal to this CL) R=fdoray@chromium.org Bug: gab doesn't like to rebuild the world when debugging Change-Id: I6f7f39a26164c4375fd9b48233236a528b0fa2b5 Reviewed-on: https://chromium-review.googlesource.com/969446 Commit-Queue: François Doray <fdoray@chromium.org> Reviewed-by:François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#544340}
Showing
Please register or sign in to comment