commit | 80daef89efd712a0c81b0c7ecd522ae34e65247f | [log] [tgz] |
---|---|---|
author | Alexander Timin <altimin@chromium.org> | Tue Jul 24 13:41:45 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 24 13:41:45 2018 |
tree | 0219b739be78679c33723901c6d74c57842fc8de | |
parent | cd4ff786cea9561ac99f8ef862921e5ae8665d4f [diff] |
[scheduler] Support base::TaskTraits in blink's BackgroundScheduler Add PostOnBackgrondThreadWithTraits to the blink's wrapper around TaskScheduler and add relevant traits to the presubmit whitelist. We want to allow Blink code to post background tasks with correct traits but we still need a wrapper to ensure that CrossThreadBind is used instead of base::Bind. R=haraken@chromium.org CC=​leszeks@chromium.org Change-Id: If5297e1214bb175dee1247754158511811963b55 Reviewed-on: https://chromium-review.googlesource.com/1146658 Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#577509}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .