chromium/base/task/sequence_manager/task_order.cc

// Copyright 2021 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/task/sequence_manager/task_order.h"

#include <functional>

#include "base/task/sequence_manager/enqueue_order.h"
#include "base/task/sequence_manager/tasks.h"

namespace base {
namespace sequence_manager {

namespace {

// Returns true iff `task_order1` Comparator{} `task_order2`. Used to
// implement other comparison operators.
template <typename Comparator>
static bool Compare(const base::sequence_manager::TaskOrder& task_order1,
                    const base::sequence_manager::TaskOrder& task_order2) {}

}  // namespace

// Static
TaskOrder TaskOrder::CreateForTesting(EnqueueOrder enqueue_order,
                                      TimeTicks delayed_run_time,
                                      int sequence_num) {}

// Static
TaskOrder TaskOrder::CreateForTesting(EnqueueOrder enqueue_order) {}

TaskOrder::TaskOrder(EnqueueOrder enqueue_order,
                     TimeTicks delayed_run_time,
                     int sequence_num)
    :{}

TaskOrder::TaskOrder(const TaskOrder& other) = default;

TaskOrder& TaskOrder::operator=(const TaskOrder& other) = default;

TaskOrder::~TaskOrder() = default;

bool TaskOrder::operator>(const TaskOrder& other) const {}

bool TaskOrder::operator<(const TaskOrder& other) const {}

bool TaskOrder::operator<=(const TaskOrder& other) const {}

bool TaskOrder::operator>=(const TaskOrder& other) const {}

bool TaskOrder::operator==(const TaskOrder& other) const {}

bool TaskOrder::operator!=(const TaskOrder& other) const {}

}  // namespace sequence_manager
}  // namespace base