commit | 56accd7d081d586b0a2721c4dca6f8663a2ab20f | [log] [tgz] |
---|---|---|
author | Yuta Kitamura <yutak@chromium.org> | Fri Nov 16 11:37:17 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 16 11:37:17 2018 |
tree | a81b78fe34672af7ffbd03063d844a593eff43ca | |
parent | 86662386b9a581028886c2d9510855655046a50b [diff] |
Move contents of web_task_runner.h to platform/scheduler/. This moves functions defined in web_task_runner.h to two different headers in platform/scheduler/public: post_cancellable_task.h and post_cross_thread_task.h. The header web_task_runner.h remains in the same place, just having the forwarding #include statements, so the existing code wouldn't break. Minor adjustments are made to the moved code, like: (1) using PLATFORM_EXPORT rather than BLINK_PLATFORM_EXPORT, (2) using base::TimeDelta instead of WTF::TimeDelta, and (3) revising comments. web_task_runner_test.cc is also moved, and is simply renamed to post_cancellable_task_unittest.cc because it only contains tests for PostCancellableTask(). Bug: 826203 Change-Id: I1fa4f35d278975fbca1a7c27fecf37342b0c76c8 Reviewed-on: https://chromium-review.googlesource.com/c/1339503 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Alexander Timin <altimin@chromium.org> Commit-Queue: Yuta Kitamura <yutak@chromium.org> Cr-Commit-Position: refs/heads/master@{#608732}
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 .