[ios][PhishGuard] Make cross-platform GetTaskRunner()
This CL adds utility functions that provide a cross-platform interface for obtaining the task runner for the IO and UI threads. Note that base::CreateSingleThreadTaskRunner() is an older approach to obtaining the task runners for the IO and UI threads. But it is still used in iOS. Bug: 1147967 Change-Id: I2d16613864f5a5b927157b5a26377d7513032905 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2559793 Commit-Queue: Varun Khaneja <vakh@chromium.org> Reviewed-by:Varun Khaneja <vakh@chromium.org> Reviewed-by:
Ali Juma <ajuma@chromium.org> Reviewed-by:
Bettina Dea <bdea@chromium.org> Cr-Commit-Position: refs/heads/master@{#833082}
Showing
Please register or sign in to comment