#include "base/task/sequence_manager/work_deduplicator.h"
#include <ostream>
#include <utility>
#include "base/check_op.h"
namespace base {
namespace sequence_manager {
namespace internal {
WorkDeduplicator::WorkDeduplicator(
scoped_refptr<const AssociatedThreadId> associated_thread)
: … { … }
WorkDeduplicator::~WorkDeduplicator() = default;
WorkDeduplicator::ShouldScheduleWork WorkDeduplicator::BindToCurrentThread() { … }
WorkDeduplicator::ShouldScheduleWork WorkDeduplicator::OnWorkRequested() { … }
WorkDeduplicator::ShouldScheduleWork WorkDeduplicator::OnDelayedWorkRequested()
const { … }
void WorkDeduplicator::OnWorkStarted() { … }
void WorkDeduplicator::WillCheckForMoreWork() { … }
WorkDeduplicator::ShouldScheduleWork WorkDeduplicator::DidCheckForMoreWork(
NextTask next_task) { … }
}
}
}