// 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 <string_view> #include "base/logging.h" #include "base/message_loop/message_pump.h" #include "base/rand_util.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" enum class TaskType : unsigned char { … }; void Task(std::string_view tq, int task_number) { … } void QuitTask(base::OnceClosure quit_closure) { … } int main() { … }