Chromium change:
https://chromium.googlesource.com/chromium/src/+/bb4382b7d2f921014b5d06d8887a37536787f5e0
commit bb4382b7d2f921014b5d06d8887a37536787f5e0
Author: Gabriel Charette <gab@chromium.org>
Date: Mon May 2 13:54:40 2022 +0000
[base] Remove base/android dependency on post_task.h
and officially remove post_task.h!
task_runner_android.cc now holds the bulk of the logic to interface
directly with TaskExecutors via TaskTraitsExtensions.
post_task_android.cc just forwards to a BASE TaskRunner.
This is vastly overkill for what this is doing at this point.
Follow-up cleanups will:
- cleanup TaskExtensionsStorage (which is mostly just carrying a
TaskType byte, the extension id being unused at this point)
- cleanup TaskExecutor (don't need to allow multiple registrations)
- and ultimately ideally have an Android equivalent to directly
call content::GetUIThreadTaskRunner() and rid of this indirection
altogether.
Bug: 1026641