[TaskScheduler] Migrate bookmarks_api to use TaskScheduler.
BookmarksIOFunction used to retrieve default path in FILE thread. Use a task with traits: 1. MayBlock: Since this requires IO 2. USER_VISIBLE: As this is part of importing/exporting bookmarks. 3. SKIP_ON_SHUTDOWN: There's no point to continue on or block shutdown because additional operations are required (e.g. showing a file select dialog) for this to complete. Bug: 689520 Change-Id: Ibed8ea5213ca71f07a47cbb4e2c45cadeb9da429 Reviewed-on: https://chromium-review.googlesource.com/577112 Commit-Queue: Istiaque Ahmed <lazyboy@chromium.org> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#487976}
Showing
Please register or sign in to comment