We could have a simple presubmit to enforce:
A file that contains this outside of comments... -> Needs to include this...
base::ThreadChecker -> base/threading/thread_checker.h
base::SequenceChecker -> base/sequence_checker.h
base::ThreadTaskRunnerHandle -> base/threading/thread_task_runner_handle.h
base::SequencedTaskRunnerHandle -> base/threading/sequenced_task_runner_handle.h
base::MakeUnique -> base/memory/ptr_util.h
base::WrapUnique -> base/memory/ptr_util.h
(It's ok if the include is in the .h file)
Note that I didn't include in the list things that can be forward-declared (e.g. TaskRunner). These simple rules don't solve everything, but they are easy to implement, they can run quickly and would have avoided the need for
these CLs.