#include "base/task/single_thread_task_executor.h"
#include "base/message_loop/message_pump.h"
#include "base/message_loop/message_pump_type.h"
#include "base/task/sequence_manager/sequence_manager.h"
#include "base/task/sequence_manager/sequence_manager_impl.h"
#include "build/build_config.h"
namespace base {
SingleThreadTaskExecutor::SingleThreadTaskExecutor(MessagePumpType type)
: … { … }
SingleThreadTaskExecutor::SingleThreadTaskExecutor(
std::unique_ptr<MessagePump> pump)
: … { … }
SingleThreadTaskExecutor::SingleThreadTaskExecutor(
MessagePumpType type,
std::unique_ptr<MessagePump> pump)
: … { … }
SingleThreadTaskExecutor::~SingleThreadTaskExecutor() = default;
const scoped_refptr<SingleThreadTaskRunner>&
SingleThreadTaskExecutor::task_runner() const { … }
void SingleThreadTaskExecutor::SetWorkBatchSize(int work_batch_size) { … }
}