// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/logging.h" #include "base/message_loop/message_pump.h" #include "base/run_loop.h" #include "base/task/sequence_manager/sequence_manager.h" #include "base/task/sequence_manager/task_queue.h" #include "base/task/single_thread_task_runner.h" // See the documentation below. enum class TaskType : unsigned char { … }; void RunTaskAndQuit(base::OnceClosure quit_closure) { … } int main() { … }