
TIMER_SLACK_NONE is the default thus a no-op. TIMER_SLACK_MAXIMUM only has effect on mac (UI) MessagePump, though none of the calls to TIMER_SLACK_MAXIMUM run on a thread that supports it; blink::MainThreadSchedulerImpl used to be the only meaningful case, but the message pump was replaced by the default one: https://chromium-review.googlesource.com/c/chromium/src/+/4369441 ThreadType and DelayPolicy are now used to control thread policies and timer leeway. Change-Id: I9638ea298d9cd87843c00eda15513541a512608e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4371223 Reviewed-by: Gabriel Charette <gab@chromium.org> Owners-Override: Gabriel Charette <gab@chromium.org> Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org> Reviewed-by: Francois Pierre Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/main@{#1168774}